Visual Studio Web Performance Test - Can I make a non-coded web test execute requests in parallel -
using visual studio 2013 ultimate load testing.
the main problem i'm facing web performance tests execute containing web-requests sequentially. not how browsers work (with multiple parallel threads being used instead).
simplified example
- call page (1 sec)
- ajax call 1 (1 sec)
- ajax call 2 (1 sec)
- ajax call 3 (1 sec)
the browser execute ajax calls simultaneously , complete page in 2 seconds.
the web performance test executes them sequentially (one @ time) , reports test took 4 seconds complete.
i aware can use coded web test these in parallel, stick tooling if @ possible.
is possible?
add requests dependant requests of request.
create top level request not load useful. have been using "http://localhost/" similar. set "parse dependant requests" , "follow redirects" properties of request false. avoid test suite adding more requests. add requests performed in parallel explicit dependant requests top level request.
browsers work extracting list of dependant requests , sending several of them @ same time processed in parallel. responses these requests received others list sent. continues until list empty. number of requests issued in parallel depends upon browser (possibly modified configuration data user or computer). parallelism visual studio uses when simulating browsers can seen in maxconnections
values in files in directory c:\program files (x86)\microsoft visual studio 12.0\common7\ide\templates\loadtest\browsers
(modified needed visual studio version , install directory). see top of page 45 of "visual studio performance testing quick reference guide" (version 3.6) implies ".browser" files without explicit maxconnections
value support 2 connections.
possibly 1 of requests done in parallel better top level request.
Comments
Post a Comment