I’ve started to write a framework for apache benchmark (ab) to be able to run smoothly and leisurely ab test in background and just get the summarized results back. I’ve shared it on github: https://github.com/charlesnagy/absuite Feel free to comment, fork or do whatever with it. Ideas are welcomed.This first “release” (actually its more like a pre-alpha accoding to my plans) can run a test suite from a config file given in command line arguments.
1 |
./run-test.sh suites/test 20 |
This run 5 tests for each concurrency level on every url given in the suite config file. The output contains just the necessary informations like Request/sec , Time/req and 95% time. This last one means that the 95% of the request was responded under this time.
Sample output:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Testing url: http://example.url/ Conc Request/sec Time/req 95% 5 13.72 72.871 392 5 13.86 72.169 374 5 14.25 70.154 371 5 13.61 73.498 404 5 15.56 64.274 380 ---------------------------------------------- 10 22.53 44.376 444 10 23.97 41.716 417 10 23.41 42.718 427 10 21.68 46.130 461 10 22.98 43.524 435 |
Recent comments