Difference between revisions of "OpenWebLoad"

From OnnoWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
* Jumlah client yang secara simultan akan mengakses (default 5).
 
* Jumlah client yang secara simultan akan mengakses (default 5).
  
Contoh hasil
+
Contoh perintah
  
  $ openload localhost 10
+
openload http://192.168.0.80 10
  URL: http://localhost:80/
 
  Clients: 10
 
  MaTps 355.11, Tps 355.11, Resp Time  0.015, Err  0%, Count  511
 
  MaTps 339.50, Tps 199.00, Resp Time  0.051, Err  0%, Count  711
 
  MaTps 343.72, Tps 381.68, Resp Time  0.032, Err  0%, Count  1111
 
  MaTps 382.04, Tps 727.00, Resp Time  0.020, Err  0%, Count  1838
 
  MaTps 398.54, Tps 547.00, Resp Time  0.018, Err  0%, Count  2385
 
  MaTps 425.78, Tps 670.90, Resp Time  0.014, Err  0%, Count  3072
 
  
   Total TPS: 452.90
+
Hasil
  Avg. Response time:  0.021 sec.
+
 
  Max Response time:  0.769 sec
+
URL: http://192.168.0.80:80/
 +
Clients: 10
 +
MaTps 353.00, Tps 353.00, Resp Time  0.025, Err  0%, Count  353
 +
MaTps 353.33, Tps 356.29, Resp Time  0.029, Err  0%, Count  710
 +
MaTps 353.48, Tps 354.87, Resp Time  0.029, Err  0%, Count  1067
 +
MaTps 353.20, Tps 350.65, Resp Time  0.028, Err  0%, Count  1418
 +
MaTps 353.18, Tps 353.00, Resp Time  0.028, Err   0%, Count  1771
 +
MaTps 353.66, Tps 358.00, Resp Time  0.029, Err  0%, Count  2129
 +
MaTps 353.30, Tps 350.00, Resp Time  0.028, Err  0%, Count  2479
 +
MaTps 353.96, Tps 359.92, Resp Time  0.029, Err  0%, Count  2840
 +
MaTps 353.89, Tps 353.29, Resp Time  0.027, Err  0%, Count  3194
 +
MaTps 353.90, Tps 354.00, Resp Time  0.027, Err  0%, Count  3548
 +
MaTps 354.24, Tps 357.29, Resp Time  0.030, Err  0%, Count  3906
 +
MaTps 353.32, Tps 345.00, Resp Time  0.029, Err  0%, Count  4251
 +
MaTps 353.35, Tps 353.65, Resp Time  0.027, Err  0%, Count  4605
 +
MaTps 353.31, Tps 353.00, Resp Time  0.028, Err  0%, Count  4958
 +
 +
Total TPS: 336.09
 +
Avg. Response time:  0.028 sec.
 +
Max Response time:  0.534 sec
 +
Total Requests:    4958
 +
Total Errors:        0
  
 
Dimana
 
Dimana
  
 
* MaTps: a 20 second moving average of TPS.
 
* MaTps: a 20 second moving average of TPS.
* Tps: (Transactions Per Second) is the number of completed requests during that second.
+
* Tps: (Transactions Per Second) jumlah request yang berhasil di selesaikan dalam satu detik.
* Resp Time: the average response time in seconds for the elapsed second.
+
* Resp Time: rata-rata response time dalam seconds untuk detik tersebut.
* Err: the percentage of responses that was erronous, i.e. didn't return a HTTP 200 Ok staus.
+
* Err: persentase responses yang erronous, tidak dapat mengembalikan status HTTP 200 Ok.
* Count: the total number of completed requests.
+
* Count: jumlah request yang berhasil di selesaikant.
 
* Total TPS is the average TPS for the whole run, i.e. (Total completed requests) / (Total elapsed time).
 
* Total TPS is the average TPS for the whole run, i.e. (Total completed requests) / (Total elapsed time).
* Avg. Response time: the overall average response time in seconds.
+
* Avg. Response time: rata-rata response time dalam seconds.
* Max Response time: the highest response time during this run.
+
* Max Response time: responds tima tertinggi saat run tersebut.
  
Note: you stop the run by pressing Enter.
+
Catatan: kita dapat menghentikan run dengan cara menekan tombol "ENTER".
  
 
==Referensi==
 
==Referensi==
  
 
* http://openwebload.sourceforge.net/
 
* http://openwebload.sourceforge.net/

Revision as of 12:55, 7 June 2015

OpenWebLoad adalah alat untuk menguji beban aplikasi web. Ini bertujuan agar mudah digunakan dan menyediakan pengukuran kinerja yang mendekati real-time dari aplikasi yang diuji. Hal ini khususnya berguna ketika anda melakukan optimasi karena anda dapat melihat dampak perubahan yang anda lakukan sesegera mungkin.


Instalasi

apt-get install openload

Menjalankan

openload [options] http://testapp.site.com 10

Ada 2 parameter:

  • URL dari web yang akan di test
  • Jumlah client yang secara simultan akan mengakses (default 5).

Contoh perintah

openload http://192.168.0.80 10

Hasil

URL: http://192.168.0.80:80/
Clients: 10
MaTps 353.00, Tps 353.00, Resp Time  0.025, Err   0%, Count   353
MaTps 353.33, Tps 356.29, Resp Time  0.029, Err   0%, Count   710
MaTps 353.48, Tps 354.87, Resp Time  0.029, Err   0%, Count  1067
MaTps 353.20, Tps 350.65, Resp Time  0.028, Err   0%, Count  1418
MaTps 353.18, Tps 353.00, Resp Time  0.028, Err   0%, Count  1771
MaTps 353.66, Tps 358.00, Resp Time  0.029, Err   0%, Count  2129
MaTps 353.30, Tps 350.00, Resp Time  0.028, Err   0%, Count  2479
MaTps 353.96, Tps 359.92, Resp Time  0.029, Err   0%, Count  2840
MaTps 353.89, Tps 353.29, Resp Time  0.027, Err   0%, Count  3194
MaTps 353.90, Tps 354.00, Resp Time  0.027, Err   0%, Count  3548
MaTps 354.24, Tps 357.29, Resp Time  0.030, Err   0%, Count  3906
MaTps 353.32, Tps 345.00, Resp Time  0.029, Err   0%, Count  4251
MaTps 353.35, Tps 353.65, Resp Time  0.027, Err   0%, Count  4605
MaTps 353.31, Tps 353.00, Resp Time  0.028, Err   0%, Count  4958

Total TPS: 336.09
Avg. Response time:  0.028 sec.
Max Response time:   0.534 sec
Total Requests:    4958
Total Errors:         0

Dimana

  • MaTps: a 20 second moving average of TPS.
  • Tps: (Transactions Per Second) jumlah request yang berhasil di selesaikan dalam satu detik.
  • Resp Time: rata-rata response time dalam seconds untuk detik tersebut.
  • Err: persentase responses yang erronous, tidak dapat mengembalikan status HTTP 200 Ok.
  • Count: jumlah request yang berhasil di selesaikant.
  • Total TPS is the average TPS for the whole run, i.e. (Total completed requests) / (Total elapsed time).
  • Avg. Response time: rata-rata response time dalam seconds.
  • Max Response time: responds tima tertinggi saat run tersebut.

Catatan: kita dapat menghentikan run dengan cara menekan tombol "ENTER".

Referensi