While I am running a load test and X number of users are hitting my web app, does this mean every second X number of requests are being sent to my application?
The short answer is that a virtual or simulated user does what a “real” user does as specified by the scenarios and steps that you have created in LoadStorm. If there are X number of users, then there are X scenarios running at that particular time. When creating a scenario, you can adjust the pause times which is how much time there is between steps. The actual pause is randomly generated to give a more realistic load against the server. As an example, a scenario which opens a single page for each step with an average pause of 30 seconds will have an average of 2 requests per minute per user. It gets a bit more complicated when there are external files like javascript. These are added as well and counted in the total requests. When one scenario ends for a designated number of users, another is started within a minute to maintain the desired user load until the end of the test.
The short answer is no. LoadStorm reporting graphs include a metric called Requests Per Second, and that is what you are describing. A virtual or simulated user does what a “real” user does as specified by the scenarios and steps that you have created in LoadStorm. If there are X number of users, then there are X scenarios running at that particular time. When creating a scenario, you can adjust the pause times which is how much time there is between steps. The actual pause is randomly generated to give a more realistic load against the server. As an example, a scenario which opens a single page for each step with an average pause of 30 seconds will have an average of 2 requests per minute per user. It gets a bit more complicated when there are external files like Javascript. These are added as well and counted in the total requests. When one scenario ends for a designated number of users, another is started within a minute to maintain the desired user load until the end of the test.
Related Questions
- While I am running a load test and X number of users are hitting my web app, does this mean every second X number of requests are being sent to my application?
- How can I configure the load test such that 50 virtual users repeatedly access my web application for 100 times?
- How to load test my web application with rampup (step-by-step increasing) load?