I\'m working on stress testing our application in Apache JMeter.
I thought of calling register user method which will add users in the database. But if the email already
Use Random Variable with variable name emailValue and send ${emailValue} in request
Use JDBC request to your database to create random number or sequence and save in variable name emailValue
Use UUID function to create uniqueId and send in email ${uniqueId}@gmail.com for example
My example with __UUID
For POST request, make sure you have correct Content-Type in HTTP Header Manger , application/json for example.
Take a look at JMeter Functions like:
JMeter functions can be used anywhere in the test so you can put them directly into your request body.
Some more recommendations: