A demo about using Jmeter for performance testing
- Download and unzip jmeter from here
- Rename Apache-Jmeter-xx to jmeter, and move jmeter directory under
/usr/local/bin/, or put it under where you want, but just remember change the path in code. - Run the test like this:
$ bundle install --path=vendor/gems
$ bundle exec ruby lib/jmeter_visit_google_page.rb
- Go to
outputfolder to see the generated test plan(jmx file) and test result(jtl file)