msloadtest

VisualStudio cloud-based load test socket exception 100% of requests - webtest alone works OK

纵然是瞬间 提交于 2020-01-14 03:16:25
问题 I am taking my first steps with visual studio enterprise load tests. I have created a webtest following this tutorial: https://www.visualstudio.com/en-us/docs/test/performance-testing/run-performance-tests-app-before-release The webtest works OK, hits my page properly and succeeds. However when I have created a load test with this webtest, each request fails (regardless of the number of users, even with 2 users) The error is A connection attempt failed because the connected party did not

VisualStudio cloud-based load test socket exception 100% of requests - webtest alone works OK

[亡魂溺海] 提交于 2019-12-08 13:15:31
I am taking my first steps with visual studio enterprise load tests. I have created a webtest following this tutorial: https://www.visualstudio.com/en-us/docs/test/performance-testing/run-performance-tests-app-before-release The webtest works OK, hits my page properly and succeeds. However when I have created a load test with this webtest, each request fails (regardless of the number of users, even with 2 users) The error is A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed

How to set up the JWT token before the VS loadtest

我们两清 提交于 2019-12-02 11:39:31
问题 I am trying to run a Visual Studio Load Test, but before it runs I have to call a login webAPI to generate a JWT token and then use this token in all of the webAPI web tests. I only need to call the login to generate the token once. The same token value is used in all my other webAPI calls. How can I put this step into my load test before I really trigger the load test? 回答1: The "Test mix" part of a load test can specify an "initialisation" test that can do the login and collect the token.

How to create VS Load test build in TFS 2015 using command line

妖精的绣舞 提交于 2019-12-02 04:53:03
问题 I need to run Visual Studio Load test from TFS using command line. I have following setup - 1.Visual Studio 2015 Enterprise 2.TFS 2015 Update 3 3.Developer Command Prompt for VS2015 I am able to run locally by opening Developer Command Prompt and using commandline /TestContainer:Loadtest.loadtest. However, i'm not able to do the same in TFS build. Can you please tell me what I should type in "Tool" and "Argument" fields for command line step? 回答1: Local VS is also using MSTest.exe command to

How to create VS Load test build in TFS 2015 using command line

只谈情不闲聊 提交于 2019-12-01 23:04:59
I need to run Visual Studio Load test from TFS using command line. I have following setup - 1.Visual Studio 2015 Enterprise 2.TFS 2015 Update 3 3.Developer Command Prompt for VS2015 I am able to run locally by opening Developer Command Prompt and using commandline /TestContainer:Loadtest.loadtest. However, i'm not able to do the same in TFS build. Can you please tell me what I should type in "Tool" and "Argument" fields for command line step? Local VS is also using MSTest.exe command to run the Load test. To run the loadtest in vNext build, you should also use the command line task and call