I am came to this step, but always getting first users request in my API
Asked
Active
Viewed 76 times
2 Answers
1
You can use a csv file that contains your users credentials
users1, password1 users2, password2 ....
then add a config Element as CSV Data and make the path to your csv file.
you can follow this guide
https://www.oodlestechnologies.com/blogs/how-to-use-csv-file-for-login-multiple-users-through-jmeter/

hacenesh
- 75
- 5
-
still I am not able to fire multiple req at single time, it is going one-by-one. CSV trick works for me. thanx – Dnyaneshwar Jadhav Feb 22 '23 at 10:00
1
You need to parameterize your HTTP Header Manager somehow, depending on where and how you can get these headers it might be:
- Storing headers in the CSV file and using CSV Data Set Config so each user would have its own header
- Getting authorization data from the database using JDBC test elements
- Calculating the header using relevant JMeter Functions
- Extracting headers from the previous response where you perform login or open the login page, this is called correlation

Dmitri T
- 159,985
- 5
- 83
- 133