You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

A rudimentary utility for defining and running concurrent testsuite tests is available for execution in the Robot container.

The following is an example of the JSON definition of a loadtest that may be input into the utility.


{
"duration" : 300,
"cyclelength" : 150,
"profile" : [
[0, ["health"]],
[5, ["health"]],
[10, ["distribution", "health"]]
]
}


The meaning of this is 

  1. Run the profile for "duration" (300 seconds or 5 minutes)
  2. A single iteration over profile is "cyclelength" (150 seconds). cyclelength >= the accumulated profile time.
  3. Wait 0 seconds and initiate "health" test
  4. Wait 5 seconds and initate "health" test
  5. Wait 10 seconds and initiate a "distribution" and a "health" test
  6. Wait until end of cyclelength and start again until duration expires.

Invoking Load Test via runSoak.sh




  • No labels