0
votes

Scenario

  • Navigating to a login page which generates session data key which will be used while entering the credentials for login
  • Entering credentials along with sessiondataKey(i.e. sessiondatakey is a entered as parameter in Jmeter Http Header )
  • Login mechanism provides authorization token
    • Once authorization token is extracted from response ,initialization request is triggered
  • As this a XHR enabled site - multiple requests are triggered all together at same time to API's once response from initialization service is received (Note - Here in every request authorization token which we got previously is sent as a part of Header)

Question - What should be My Test Plan structure in jmeter where I would like to login with 50 Users (Data referred from CSV datset) - Once Login - Initialization done then fire up all request together.

1

1 Answers

0
votes

Just go for Parallel Controller, your test plan should look like:

  • Login
  • Parallel Controller
    • Request 1
    • Request 2
    • Request 3
    • etc.

So Request 1, Request 2, etc. will be executed at the same time, each with its own thread.

See How to Use the Parallel Controller in JMeter article for comprehensive information if needed.

You can install Parallel Controller using JMeter Plugins Manager

JMeter Plugins Parallel Controller