Reputation: 568
Can you explain step by step process for generating username & password in staff enrollment process while running jmeter3.0. Kindly refer the snapshot.
Upvotes: 0
Views: 1183
Reputation: 168002
You can use __RandomString() function to generate random username and password and store it into JMeter Variables if needed.
For example:
${__RandomString(10,abcdefjhikklmnopqrstuvwxyz0123456789,)}
- generates random alphanumeric string of 10 characters${__RandomString(10,abcdefjhikklmnopqrstuvwxyz0123456789,username)}
does the same and stores the result into ${username}
variableDemo:
See Using JMeter Functions - Part I for a little bit more detailed explanation and instructions on how you can use __RandomString() function to generate random username and passwords
Upvotes: 1