~jameinel/loggerhead/meliae-dump

« back to all changes in this revision

Viewing changes to load_test_scripts/multiple_instances.script

  • Committer: John Arbash Meinel
  • Date: 2011-02-10 01:00:32 UTC
  • mto: This revision was merged to the branch mainline in revision 426.
  • Revision ID: john@arbash-meinel.com-20110210010032-3c1ngxr9rlnlla6o
Avoid getting a lazy object error by instantiating an
http transport before we do any other work.
Add a script which works against multiple concurrent services.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{
 
2
    "comment": "Connect to multiple loggerhead instances and make requests on each. One should be on :8080, one should be on :8081. Multiple threads will place requests on each.",
 
3
    "parameters": {"base_url": "http://localhost"},
 
4
    "requests": [
 
5
        {"thread": "1", "relpath": ":8080/changes"},
 
6
        {"thread": "2", "relpath": ":8080/files"},
 
7
        {"thread": "3", "relpath": ":8081/files"},
 
8
        {"thread": "4", "relpath": ":8081/changes"},
 
9
        {"thread": "1", "relpath": ":8080/changes"},
 
10
        {"thread": "2", "relpath": ":8080/files"},
 
11
        {"thread": "3", "relpath": ":8081/files"},
 
12
        {"thread": "4", "relpath": ":8081/changes"},
 
13
        {"thread": "1", "relpath": ":8080/changes"},
 
14
        {"thread": "2", "relpath": ":8080/files"},
 
15
        {"thread": "3", "relpath": ":8081/files"},
 
16
        {"thread": "4", "relpath": ":8081/changes"}
 
17
    ]
 
18
}
 
19