Skip to content

Instantly share code, notes, and snippets.

@brianjriddle
Created January 20, 2011 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianjriddle/787792 to your computer and use it in GitHub Desktop.
Save brianjriddle/787792 to your computer and use it in GitHub Desktop.
python run.py -a 50 -d 300 -x api4-testcases.xml
python run.py -a 10 -d 60 -x api4-testcases.xml
python run.py -a 10 -d 60 -x api4-testcases.xml
-------------------------------------------------
Test parameters:
number of agents: 10
test duration in seconds: 60
rampup in seconds: 0
interval in milliseconds: 0
test case xml: api4-testcases.xml
log messages: False
Started agent 10
All agents running...
[################100%##################] 60s/60s
Requests: 5460
Errors: 0
Avg Response Time: 0.098
Avg Throughput: 90.49
Current Throughput: 118
Bytes Received: 42546300
python run.py -a 50 -d 300 -x api4-testcases.xml
-------------------------------------------------
Test parameters:
number of agents: 50
test duration in seconds: 300
rampup in seconds: 0
interval in milliseconds: 0
test case xml: api4-testcases.xml
log messages: False
Started agent 50
All agents running...
[################100%##################] 299s/300s
Requests: 29379
Errors: 0
Avg Response Time: 0.4471
Avg Throughput: 97.93
Current Throughput: 180
Bytes Received: 226881811
# Enable threaded mode
config.threadsafe!
# Control the pool of Rails runtimes. Leaving unspecified means
# the pool will grow as needed to service requests. It is recommended
# that you fix these values when running a production server!
config.webxml.jruby.min.runtimes = 2
config.webxml.jruby.max.runtimes = 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment