Iam very new to JMETER, how to test registration for multiple users & login. Is it possible using CSV file or any other method for multiple users ??
Can anyone please guide me
CodePudding user response:
Depending on what you're trying to achieve:
If you have a file with username/password combinations - the most commonly used approach is reading the file with CSV Data Set Config
Alternatives are:
- JDBC Test Elements - if the credentials are in the database
- Redis Data Set - the credentials are in Redis
- etc.
If you're testing registration and "run and forget" approach is good for you - you can generate random usernames and passwords using suitable JMeter Functions like __RandomString, __Random(), __time(), etc.
CodePudding user response:
You can use Random CSV DataSet Config plugin in addition to the solutions given by Dmitri.
I have demonstrated use of CSV DataSet Config element and Random CSV DataSet Config in this video.