Feature: Support parallel execution of commands
Closed this issue · 4 comments
GoogleCodeExporter commented
Think about parallel execution of commands. So thread issues could be testest
within ACT. An idea is implement a static gatling, that controls execution of
threaded commands and define a parallel command to inherit.
Original issue reported on code.google.com by michael....@gmail.com
on 22 Jan 2013 at 12:03
GoogleCodeExporter commented
It could be like this in ACT scripts:
Parallel turns=100 wait=500 <wait-unit=ms> pause=10 <pause-unit=ms>
command=MyCommand name=abbas display="hello world!"
WaitAllParallelsDone timeout=60000 <unit=ms>
Wait time=100 <unit=ms>
MyChecks result="hey abbas!"
The "Parallel" command wraps an executeable command. Where "turns" are maximal
turns of execution MyCommand. "wait" defines a waiting time before start first
execution and "pause" defines a pause after each execution. This parameters
could be optional.
The "command" defines the executable command. "name" and "display" are
parameters of the executeable command.
The "Wait" command just waits a defined period of milli seconds.
The "WaitAllParallelsDone" command just do what it's name sayed. Here we wait
for execution end of all parallels, or the timeout is reached, then the
parallels should be interrupted.
"MyChecks" do the user checks...
An open question is the unit of all time parameters. Perhaps a "unit" variable
ist good to defines milli seconds or something like seconds or minutes?
Original comment by michael....@gmail.com
on 24 Jan 2013 at 1:09
GoogleCodeExporter commented
I think about exception handling in wrapped commands, it's not good to let them
out of wrapping context in any case. It's good to have a possibility to enable
catching all assertion error's in wrapped execution. Perhaps as boolean
variable "assert" in scripts?
Original comment by michael....@gmail.com
on 24 Jan 2013 at 1:39
GoogleCodeExporter commented
Original comment by michael....@gmail.com
on 25 Jan 2013 at 9:26
- Added labels: Milestone-Release1.1.28
GoogleCodeExporter commented
Original comment by michael....@gmail.com
on 7 Feb 2013 at 10:21
- Changed state: Done