~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to load_test.script

  • Committer: John Arbash Meinel
  • Date: 2011-02-10 00:43:37 UTC
  • mto: This revision was merged to the branch mainline in revision 426.
  • Revision ID: john@arbash-meinel.com-20110210004337-8rwedln8fgg4un16
Add a <noop> command to the RequestWorker.

This allows us to push the workers to stop immediately, in case
they are currently blocked waiting on another item in the queue.
This makes the test suite integration tests faster, but also
makes the script runner exit in a timely manner as well.

Also creating a trivial load_test script, just for example
purposes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    "parameters": {"base_url": "http://localhost:8080"},
 
3
    "requests": [
 
4
        {"relpath": "/changes"},
 
5
        {"relpath": "/files"}
 
6
    ]
 
7
}
 
8