Create a load test with different users
Hi All!
I hope you can help me. I created a load test in LoadUI with ReadyAPI suite. It is a test that:
1) Login
2) Search something in the webpage (with the token received in the first step)
3) Logout
I want to execute the test with different login credentials.... How can I do that?
Thanks in advance!
Hi pgm33,
You are describing a very popular scenario - the so-called data-driven load testing. In order to accomplish the task, you need to add the DataSource test step to your functional test and share it between virtual users enabling the test step's Shared option:
https://support.smartbear.com/readyapi/docs/functional/steps/data-source.html
I recommend that you look through the following article describing the entire approach and possible ways to organize such tests:
https://www.soapui.org/docs/load-testing/tutorials/datadriven-loadtesting/