[tor-bugs] #13616 [Onionoo]: define jmeter testcase(s) ant ant task(s)
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Nov 16 17:43:34 UTC 2014
#13616: define jmeter testcase(s) ant ant task(s)
-------------------------+----------------------
Reporter: iwakeh | Owner: iwakeh
Type: task | Status: assigned
Priority: major | Milestone:
Component: Onionoo | Version:
Resolution: | Keywords:
Actual Points: | Parent ID: #13080
Points: |
-------------------------+----------------------
Comment (by iwakeh):
I attach an example test plan for getting started with jmeter.
=== First steps in jmeter
On debian/wheezy install
{{{
dpkg -l | grep jmeter
ii jmeter 2.11-2
all Load testing and performance measurement application (main
application)
ii jmeter-apidoc 2.11-2
all Load testing and performance measurement application (API
doc)
ii jmeter-help 2.11-2
all Load testing and performance measurement application (user
manual)
ii jmeter-http 2.11-2
all Load testing and performance measurement application (http
module)
ii jmeter-java 2.11-2
all Load testing and performance measurement application (java
module)
ii jmeter-tcp 2.11-2
all Load testing and performance measurement application (tcp
module)
}}}
The gui comes up with {{{/usr/bin/jmeter}}}
Now you can load the attached test-plan.
* take a look at 'User defined Variables' for setting the host and log
file
* then the thread group 'https requests' for adapting the number of
threads and the like. This thread group runs the two defined requests for
"summary" and 700 details.
* the thread group 'https requests main page' contains almost the same,
but only a single request for onionoo's main page
(I just ran some mild tests against your mirror and hope it didn't cause
any alarm bells :-)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13616#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list