multithreading - How do you run multiple requests or thread groups parallely "for each of the same user" in JMeter -
adding multiple requests same thread group seem run sequentially.
i know can start thread groups in parallel want thread groups run or start in parallel same user.
and have synchronizing timer starts multiple users @ exact time http://jmeter.apache.org/usermanual/component_reference.html#synchronizing_timer not scale users concurrently based on throughput , is hacky i.e., have parameterize users , group in such way match expected throughput , number of requests per user
right now, work around create html page trigger download embedded resources in parallel same user in 1 thread group ugly , works requests. buggy , runs slow besides occupying full cpu , throughput 1/10th of separate parallel test showing not work correctly.
you use same approach ajax testing jmeter assumes running multiple requests of different types @ same moment of time. assumes scripting have write bit of groovy or java code in jsr223 sampler or create own sampler, fortunately jmeter module plugin-oriented architecture extension-friendly evidenced jmeter plugins project (take way, perhaps use case implemented)
see how load test ajax/xhr enabled sites jmeter guide explanation of approach , few code snippets demonstrating how run parallel asynchronous requests
Comments
Post a Comment