4

I have just started to learn JMeter with recording scripting, but which I have not got a proper result of the Login with multiple users login because of the session id, Please suggest to me a proper way to record the script.

Thanks in advance.

4

2 Answers 2

0

Record a script for single user then pass the CSV data to the script and configure no of user in Thread.

  1. Record a Script of Login in.
  2. Create a CSV with of 2 columns username and password
  3. Create CSV data config by right clicking on Thread.

enter image description here

  1. Provide filename of csv, In variables name give username,password
  2. In delimiter add ,

enter image description here

  1. Then add the variable's name in your sampler.

enter image description here

Make sure you add number of users in Thread

enter image description here

0

For session ID management I would use HTTP URL Re-writing Modifier

If your sessions are cookie based then I would suggest HTTP Cookie Manager

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.