By default, the system runs the load test until the end of the test duration. The number of test sessions executed in the test depends on the device, test duration, and the number of virtual users. We calculate and specify the estimated number of test sessions that can be executed during a test run in the Load Type section of the Test Scenario page. See how we calculate the Estimated Sessions value here.
In certain cases you may limit the number of load test sessions that are executed during a load test run. To specify the sessions limit, configure the Enable Limit Sessions option in the Load Type section of the test scenario page. For example, if you need to run a test with 10,000 sessions, enable the limit and enter 10,000 in the Enable Limit Sessions field. Once the specified sessions limit is reached, the system will stop the test.
Limit is Reached Before Test Ends
If the sessions limit is reached before the end of the test duration time, the test will be stopped regardless of the number of completed sessions. For example, if the test duration time is set to 40 minutes, and 10,000 sessions completed at the 20th minute of the test run, the test will be stopped at the 20th minute.
Test End is Reached but the Sessions Limit is Not
If the test duration time is over, but the number of sessions you specified in the Enable Limit Sessions field is not reached, the system stops the test.
Setting Up Sessions Limit for Tests with Dynamic Variables
Note that when a load test uses context parameters and the Unique per Session mode is selected, the Enable Limit Sessions option will be automatically activated. In this case, the limit value will be read-only and set to the number of the value rows in the uploaded CSV file or to the Value Rows Range if specified. If you need to change the sessions limit in the Unique per Session mode, adjust the Value Rows Range or the number of value rows in your data CSV file.