Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
1.7k views
by The go-to Tester (190 points)
edited by
I have one doubt...

Thread Group
->20 -- User's
->30 -- Rmp Sec
->1 -- One Time

My page
->HTTP Request 1
->HTTP Request 2
->HTTP Request 3

Login
->HTTP Request 1
->HTTP Request 2
->HTTP Request 3

If I run the process for every 1.5 sec, the new user will visit my page and login to my page. For each user, it will generate new Authentication Token.

Thread Group
->20 -- User's
->0  -- Rmp Sec
->1  -- One Time

My page
->HTTP Request 1
->HTTP Request 2
->HTTP Request 3

Login
->HTTP Request 1
->HTTP Request 2
->HTTP Request 3

In this case, 20 users will visit my page and login to my page at same time. All 20 user's using the same token Authentication Token.

(i,e) one Authentication Token shared by 20 user's

When 20 user's visit my page and login to my page at the same time I need to generate the different token.

In Real Time If Two User login at same time means each user will have different authentication token

How to achieve this one in jmeter ?

2 Answers

0 like 0 dislike
by The go-to Tester (142 points)
Usually, through JMeter, you imitate get/post requests.

If a single token is being generated for multiple users, I suggest you verify your application.
0 like 0 dislike
by Contributing Tester (13 points)
Please share the error here so we can get better idea for answer. till then

Try to add cache and cookie manager first

then add reguler expression extractor after login request and get the token and put it in the request body.

I hope this will solve your problem


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...