1
votes

My application is live application & three is a heavy use of AAJX call and Java scripts.

Successful login required three steps

  1. Login validation On login page browser post user login information and backed first validate it and set cookies & session id for further use. After successfully validation of user information browser initiate two request parallel towards back-end.
  2. Browser post a request to server & server send some XML data in every 10 seconds towards browser. Back-end push information in every 10 seconds up to user logged in.
  3. Also browser post a ping request to server to make sure user is available and active.

To test the performance of UI by JMeter I am planning to create following test plan.

Test Plan

  1. Main Login Thread
  2. Ping Thread
  3. Application Thread

Now I want to run thread 2 & 3 parallel after completion of first thread.

Please let me know if this is possible in JMeter if Yes how I can run two threads parallel after completion of first.

1

1 Answers

0
votes

It isn't something which is provided in JMeter out-of-the-box as currently there is no way to jump over the number of threads which are defined on Thread Group level so you'll need to do some coding in order to work it around, i.e.:

See How to Load Test AJAX/XHR Enabled Sites With JMeter article for more details and some reference implementation examples.