Sunday 15 June 2014

performance - How to distribute number of users for different HTTP Requests? -



performance - How to distribute number of users for different HTTP Requests? -

my scenario allow 25 users nail 1 http request, 75 users requesting request, @ same time using 1 or more thread groups.

1. default request: www.abc.com 2. 25 users should nail www.abc.com/firstrequest 3. 75 users should nail www.abc.com/secondrequest

how can allow such distribution of users among 2 or more different request @ same time using jmeter?

yes, can synchronizing timer request , not multiple request.

but tweak possible can accomplish desired load.

1. suppose have 2 threadgroups having 1 request each. i.e. firstrequest , secondrequest 2. create synchronizing timer kid of testplan (by applicable both threadgroups) 3. set no. of threads grouping 100 (as want 25 users nail firstrequest , 75 users nail secondrequest simulataneously, means 100 concurrent users) 4. assign 25 thread count first threadgroup 5. assign 75 thread count first threadgroup 6. allow running threadgroups in parallel not checking run threadgroups consecutively checkbox in testplan

this way generate 100 concurrent users doing testing of 2 requests. if dont want 2 requests nail simultaneously can add together synchronizing timer each thread grouping , run test.

performance http user jmeter performance-testing

No comments:

Post a Comment