Size: 739
Comment:
|
← Revision 5 as of 2023-05-29 09:34:09 ⇥
Size: 734
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
Pure Java application designed to load test functional behavior and measure performance. I | Pure Java application designed to load test functional behavior and measure performance. |
Line 4: | Line 4: |
* wget https://mirrors.up.pt/pub/apache//jmeter/binaries/apache-jmeter-5.3.tgz * cp apache-jmeter-5.3.tgz ~/tmp/ * cd ~/tmp/ * tar xvzf apache-jmeter-5.3.tgz * cd apache-jmeter-5.3/bin * ./jmeter * sh /etc/rc.d/rc.httpd start * throughput, requests per second * add threads (users), thread group * 5 users, ramp up 0 sec, loop count 1000 (requests per user) (5000 samples) * thread group add sampler http request, server name localhostphp path / * thread group add listener, graph results * thread group add listener, summary report * run, clear all * start |
{{{#!highlight sh wget https://mirrors.up.pt/pub/apache//jmeter/binaries/apache-jmeter-5.3.tgz cp apache-jmeter-5.3.tgz ~/tmp/ cd ~/tmp/ tar xvzf apache-jmeter-5.3.tgz cd apache-jmeter-5.3/bin ./jmeter sh /etc/rc.d/rc.httpd start # throughput, requests per second # add threads (users), thread group # 5 users, ramp up 0 sec, loop count 1000 (requests per user) (5000 samples) # thread group add sampler http request, server name localhostphp path / # thread group add listener, graph results # thread group add listener, summary report # run, clear all # start }}} |
JMeter
Pure Java application designed to load test functional behavior and measure performance.
Toggle line numbers
1 wget https://mirrors.up.pt/pub/apache//jmeter/binaries/apache-jmeter-5.3.tgz
2 cp apache-jmeter-5.3.tgz ~/tmp/
3 cd ~/tmp/
4 tar xvzf apache-jmeter-5.3.tgz
5 cd apache-jmeter-5.3/bin
6 ./jmeter
7 sh /etc/rc.d/rc.httpd start
8 # throughput, requests per second
9 # add threads (users), thread group
10 # 5 users, ramp up 0 sec, loop count 1000 (requests per user) (5000 samples)
11 # thread group add sampler http request, server name localhostphp path /
12 # thread group add listener, graph results
13 # thread group add listener, summary report
14 # run, clear all
15 # start
16