You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/05/01 16:18:31 UTC

[Bug 53159] Enable parallel execution of Sampler for Same user to simulate Ajax Requests

https://issues.apache.org/bugzilla/show_bug.cgi?id=53159

--- Comment #1 from Milamber <mi...@apache.org> ---
This is an issue on which I have given it some thinking:
Controller "parallel" seems a good option. If we follow the model of the
Transaction Controller, which created a new SamplerResult to calculate the
total time of the children elements.

We can do the same thing:
1 / Start the Parallel Controller
2 / Create a SamplerResult
3 / Create a thread pool (following Download Embedded resource model) with a
configurable size
4 / Send HTTP requests (child) through the thread pool
5 / As and when of requests, concatenate the responses in the response data of
SampleResult
6 / End of the execution of all applications of children Parallel Controller
7 / Calculate the total time of execution of the controller, update
SamplerResult, back to the normal JMeter execution (post-processor, assertion,
listeners for the controller parallel)


Constraints:
* The JMeter variables must be replaced before or during the course of Parallel
Controller?
* What to do for the passage of elements pre-processor, post processors and
Assertion of the children? Do not execute this kind of element for children,
just for SamplerResult (post and assertion)
Is it necessary to prohibit anything other than HTTP requests in controller
Parallel son. Do not put another controller (Simple, If, Loop, etc.) as child
of PC?
Within the parameters of Parallel Controller, add the ability to schedule
requests children (choice of sequencing, selection of the thread executing
unit, etc..)

-- 
You are receiving this mail because:
You are the assignee for the bug.