ruby on rails - Test Plan with ApacheBench(AB) testing tool -
i trying load testing here. backend in ruby(2.2) on rails(3). read many pages how work ab testing.
here have tried: ab -n 100 -c 30 url
result:
apachebench, version 2.3 <$revision: 1554214 $> copyright 1996 adam twiss, zeus technology ltd, http://www.zeustech.net/ licensed apache software foundation, http://www.apache.org/ benchmarking 52.74.130.35 (be patient).....done server software: nginx/1.6.2 server hostname: 52.74.130.35 server port: 80 document path: url document length: 1372 bytes concurrency level: 3 time taken tests: 10.032 seconds complete requests: 100 failed requests: 0 total transferred: 181600 bytes html transferred: 137200 bytes requests per second: 9.97 [#/sec] (mean) time per request: 300.963 [ms] (mean) time per request: 100.321 [ms] (mean, across concurrent requests) transfer rate: 17.68 [kbytes/sec] received connection times (ms) min mean[+/-sd] median max connect: 2 9 25.0 5 227 processing: 176 289 136.5 257 1134 waiting: 175 275 77.9 256 600 total: 180 298 139.2 264 1143 percentage of requests served within time (ms) 50% 264 66% 285 75% 293 80% 312 90% 361 95% 587 98% 1043 99% 1143
which seams working perfectly. problem want test many api's, not one. have write script in write api's particular probabilities(weights) , load test on them.
i know how possible locust, locust not support nested json passed parameters.
can this. let me know if there problem/ambiguity in question itself.
Comments
Post a Comment