Forum Discussion
KarelHusa
2 years agoChampion Level 2
you can put the login and action steps into two separate test cases:
- Login Test Case
- Action Test Case
Then, you can:
- execute the Login test case manually and thus set up the authorization data.
- execute a load test with the Action Test Case.
- quangtran2 years agoNew ContributorThis doesn't work as I am trying to simulate different users logging in for each VU I am running.
Quang Tran
Test Automation Lead
Email: quang.tran@dyedurham.com
www.dyedurham.com<>
[cid:ddprimarymasterbrand_c09dcc02-546b-4bb9-82d2-ca94d3045e96.png]<>
The information contained in this email may be privileged, confidential, and protected from disclosure. If you are not the intended recipient, or an employee, or an agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this email in error, please notify the sender immediately by replying to this email and you must delete this email from your computer.- KarelHusa2 years agoChampion Level 2
quangtran, so the test case could be designed the following way:
- login
- data source
- activities
- data source loop
- logout
The activities would be repeated multiple times and login/logout just once.
- quangtran2 years agoNew Contributor
How do you loop based on the duration of the load test?
If I setup the loop as a data source loop, it will complete as soon as the steps are completed which can be quite fast. Some of the calls are sub seconds and let's say I loop 10 times, it will finish really fast.
Is there some way to control how long the loop goes based on the load scenario? If it was 20min the loop should run for 20min and if it is 30min then it should loop for 30min.
Related Content
- 11 months ago
- 5 years ago
- 2 years ago