Forum Discussion

sguda's avatar
sguda
Regular Contributor
14 years ago

Parameterization in Load Test task.

I have recorded a load test for loggin page with loginid: test1, password: sa.

I have seen the requests , in request 19, i have seen that it is login.aspx request and in the body i saw the parameters i am giving to login.



Now i want to run this load test with 10 users with 3 of the Virtual users using the login id mentioned above , another three Virtual users with loginId: test2, password; test1 and another 3 usres with LoginId: test3, password: test1.



So for each set of 3 Virtual users, i want to run the load test with different login id's and the password will be the same.



How can i acheive this.



I looked at parameterization, it is mentioned that for the POST requests, need to change the parameters in the request body of that particular request.



Or do i have to use regular expressions?



Or scripting is the only option?



How do i make it dynamically to pick up different loginId for every 3 users it is running.



Please let me know.


25 Replies