Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JMeter Login once and do an operation multiple times

I have a test plan such as:

-Test Plan
  - Thread Group
      - Cookie Manager
      - Login
      - Play

The login operation returns a session cookie which is required for play operation, for which I'm using Cookie Manager.

Now, the login operation should happen only once and play operation should happen 1000 times. How can I do it? I know that each thread in the thread group represents individual user. So how should I arrange this test?

like image 834
user5155835 Avatar asked Oct 20 '18 09:10

user5155835


1 Answers

Just use Loop Controller and structure your test this way:

Test plan configuration

like image 94
UBIK LOAD PACK Avatar answered Dec 08 '22 00:12

UBIK LOAD PACK