superninja
superninja

Reputation: 3411

Configure # of Request per Second for Load Testing

In Visual Studio 2017 Load Tests, is there any way to configure the # of request per second? I would like to limit the test to 40 requests per second.

enter image description here

Upvotes: 0

Views: 432

Answers (1)

AdrianHHH
AdrianHHH

Reputation: 14076

The option that is closest to what you ask is to set a test mix of "user pace" in the scenario. See the this answer for more info on the various test mixes.

Another possibility is to choose a slower network configuration in the scenario. You can use an existing mix. See here for more about network mixes. There is some more information in pages 159 and 160 of the of the Visual Studio Performance Testing Quick Reference Guide" (Version 3.6). You can also create your own by copying an modifying an existing mix in the folder C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Templates\LoadTest\Networks (modified as needed for your Visual Studio version and install directory). I have not found any documentation on the contents of these network files.

Upvotes: 1

Related Questions