igrigorik / autoperf Goto Github PK
View Code? Open in Web Editor NEWRuby driver for httperf - automated load and performance testing
Home Page: https://www.igvita.com/2008/09/30/load-testing-with-log-replay/
Ruby driver for httperf - automated load and performance testing
Home Page: https://www.igvita.com/2008/09/30/load-testing-with-log-replay/
Hello. I get a error:
root@kubernetes-master:/autoperf# ruby autoperf.rb -c replay_sample.conf
Traceback (most recent call last):
2: from autoperf.rb:8:in `<main>'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- ruport (LoadError)
root@kubernetes-master:/autoperf# ruby autoperf.rb -c requests_sample.conf
Traceback (most recent call last):
2: from autoperf.rb:8:in `<main>'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- ruport (LoadError)
I've followed the instructions in the README, and I get the following error:
$ ruby autoperf.rb -c autoperf.conf
autoperf.rb:98:in `step': step can't be 0 (ArgumentError)
from autoperf.rb:98:in `run'
from autoperf.rb:21:in `initialize'
from autoperf.rb:113:in `new'
from autoperf.rb:113:in `<main>'
That above link isn't working. The Correct link is:- https://www.igvita.com/2008/09/30/load-testing-with-log-replay/
When running autoperf.rb with request_sample.conf against a standard Rails app I get empty results.
ruby autoperf.rb -c request_sample.conf
httperf --hog --server=localhost --uri=/cards/check_balance --port=3000 --num-conns 50 --num-calls 1 --timeout 5 --rate 150
sh: line 1: 72983 Segmentation fault: 11 httperf --hog --server=localhost --uri=/cards/check_balance --port=3000 --num-conns 50 --num-calls 1 --timeout 5 --rate 150 2>&1
+-----------------------------------------------------------------------------+
| rate | conn/s | req/s | replies/s avg | errors | 5xx status | net io (KB/s) |
+-----------------------------------------------------------------------------+
| 100 | | | | | | |
| 150 | | | | | | |
+-----------------------------------------------------------------------------+
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.