Difference between revisions of "OpenWebLoad"

From OnnoWiki
Jump to navigation Jump to search
(New page: What is OpenWebLoad? OpenWebLoad is a tool for load testing web applications. It aims to be easy to use and providing near real-time performance measurements of the application under test...)
 
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
What is OpenWebLoad?
+
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.
  
OpenWebLoad is a tool for load testing web applications. It aims to be easy to use and providing near real-time performance measurements of the application under test. This is particulary useful when you are doing optimization as you can see the impact of your changes almost immediately.
 
  
News
+
==Instalasi==
  
07-jul-2001: First UI Design
+
apt-get install openload
A first attempt of designing an UI for OpenWebLoad been made. Have a look HERE. A GUI design discussion has been started HERE.
 
  
02-jul-2001: Release Plan Updated
+
==Menjalankan==
The release plan has been updated after the 0.1.2 release. It is available in the developer area, or directly from HERE.
 
  
27-jun-2001: Ver. 0.1.2 Released
+
openload [options] http://testapp.site.com 10
This release adds a number of new command line options for specifying request headers, setting a time limit, doing test runs which displays the HTTP response, and more.
 
  
Download
+
Ada 2 parameter:
  
You can download the latest release of OpenWebLoad from SourceForge HERE.
+
* URL dari web yang akan di test
 +
* Jumlah client yang secara simultan akan mengakses (default 5).
  
Installation
+
Contoh perintah
Linux
 
  
For i386 systems you can use the binary rpm file. Download the file and install using:
+
openload http://192.168.0.80 10
  
    rpm -i <filename>
+
Hasil
  
This installs OpenWebLoad in /usr/local/bin.
+
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
  
For other systems download the .tar.gz file, unpack it using:
+
Dimana
  
    tar xvzf <filename>
+
* 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.
  
and compile using the normal procedure:
+
Catatan: kita dapat menghentikan run dengan cara menekan tombol "ENTER".
 
 
    ./configure
 
    make
 
    make install
 
 
 
see the INSTALL file for details.
 
Win32
 
 
 
Download the executable (openload.exe) and save it in a directory which is in your path. You can now start OpenWebLoad from any command (DOS) window.
 
 
 
How do I use it?
 
 
 
OpenWebLoad is (currently) a commandline tool, that you execute from a prompt like this:
 
 
 
    openload [options] http://testapp.site.com 10
 
 
 
The 2 parameters are:
 
 
 
    The url of the web page you want to test.
 
    Number of simultanous clients to simulate. This is optional and defaults to 5.
 
    A number of options is also available. See here for a detailed description of all the options.
 
 
 
You will then get output similar to this:
 
 
 
  $ openload localhost 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
 
  Avg. Response time:  0.021 sec.
 
  Max Response time:  0.769 sec
 
 
 
Where:
 
 
 
    MaTps: a 20 second moving average of TPS.
 
    Tps: (Transactions Per Second) is the number of completed requests during that second.
 
    Resp Time: the average response time in seconds for the elapsed second.
 
    Err: the percentage of responses that was erronous, i.e. didn't return a HTTP 200 Ok staus.
 
    Count: the total number of completed requests.
 
    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.
 
    Max Response time: the highest response time during this run.
 
 
 
Note: you stop the run by pressing Enter.  
 
  
  
 +
==Contoh Transaksi Yang Bermasalah==
  
 +
openload http://192.168.0.80 450
  
 +
hasil
  
 +
URL: http://192.168.0.80:80/
 +
Clients: 450
 +
MaTps 325.00, Tps 325.00, Resp Time  0.389, Err  3%, Count  325
 +
MaTps 325.80, Tps 333.00, Resp Time  0.771, Err  0%, Count  658
 +
MaTps 326.45, Tps 332.34, Resp Time  0.770, Err  0%, Count  992
 +
MaTps 323.32, Tps 295.11, Resp Time  0.956, Err  0%, Count  1288
 +
MaTps 326.09, Tps 351.00, Resp Time  0.959, Err  0%, Count  1639
 +
MaTps 325.65, Tps 321.68, Resp Time  1.024, Err  0%, Count  1961
 +
MaTps 326.88, Tps 337.99, Resp Time  1.062, Err  0%, Count  2300
 +
MaTps 329.72, Tps 355.29, Resp Time  1.449, Err  0%, Count  2656
 +
MaTps 332.78, Tps 360.28, Resp Time  1.091, Err  0%, Count  3017
 +
MaTps 330.57, Tps 310.69, Resp Time  0.928, Err  0%, Count  3328
 +
MaTps 328.65, Tps 311.38, Resp Time  1.088, Err  0%, Count  3640
 +
MaTps 331.65, Tps 358.64, Resp Time  0.968, Err  0%, Count  3999
 +
MaTps 331.58, Tps 331.00, Resp Time  1.109, Err  0%, Count  4330
 +
MaTps 331.99, Tps 335.66, Resp Time  1.193, Err  0%, Count  4666
 +
MaTps 331.13, Tps 323.35, Resp Time  1.177, Err  0%, Count  4990
 +
MaTps 331.02, Tps 330.02, Resp Time  1.482, Err  0%, Count  5322
 +
MaTps 333.94, Tps 360.28, Resp Time  1.743, Err  0%, Count  5683
 +
MaTps 332.52, Tps 319.68, Resp Time  1.055, Err  0%, Count  6003
 +
MaTps 334.33, Tps 350.65, Resp Time  1.323, Err  0%, Count  6354
 +
MaTps 335.36, Tps 344.66, Resp Time  1.023, Err  0%, Count  6699
 +
 +
Total TPS: 327.50
 +
Avg. Response time:  1.084 sec.
 +
Max Response time:  18.994 sec
 +
Total Requests:    6699
 +
Total Errors:        11
  
 
==Referensi==
 
==Referensi==
  
 
* http://openwebload.sourceforge.net/
 
* http://openwebload.sourceforge.net/

Latest revision as of 12:56, 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".


Contoh Transaksi Yang Bermasalah

openload http://192.168.0.80 450

hasil

URL: http://192.168.0.80:80/
Clients: 450
MaTps 325.00, Tps 325.00, Resp Time  0.389, Err   3%, Count   325
MaTps 325.80, Tps 333.00, Resp Time  0.771, Err   0%, Count   658
MaTps 326.45, Tps 332.34, Resp Time  0.770, Err   0%, Count   992
MaTps 323.32, Tps 295.11, Resp Time  0.956, Err   0%, Count  1288
MaTps 326.09, Tps 351.00, Resp Time  0.959, Err   0%, Count  1639
MaTps 325.65, Tps 321.68, Resp Time  1.024, Err   0%, Count  1961
MaTps 326.88, Tps 337.99, Resp Time  1.062, Err   0%, Count  2300
MaTps 329.72, Tps 355.29, Resp Time  1.449, Err   0%, Count  2656
MaTps 332.78, Tps 360.28, Resp Time  1.091, Err   0%, Count  3017
MaTps 330.57, Tps 310.69, Resp Time  0.928, Err   0%, Count  3328
MaTps 328.65, Tps 311.38, Resp Time  1.088, Err   0%, Count  3640
MaTps 331.65, Tps 358.64, Resp Time  0.968, Err   0%, Count  3999
MaTps 331.58, Tps 331.00, Resp Time  1.109, Err   0%, Count  4330
MaTps 331.99, Tps 335.66, Resp Time  1.193, Err   0%, Count  4666
MaTps 331.13, Tps 323.35, Resp Time  1.177, Err   0%, Count  4990
MaTps 331.02, Tps 330.02, Resp Time  1.482, Err   0%, Count  5322
MaTps 333.94, Tps 360.28, Resp Time  1.743, Err   0%, Count  5683
MaTps 332.52, Tps 319.68, Resp Time  1.055, Err   0%, Count  6003
MaTps 334.33, Tps 350.65, Resp Time  1.323, Err   0%, Count  6354
MaTps 335.36, Tps 344.66, Resp Time  1.023, Err   0%, Count  6699

Total TPS: 327.50
Avg. Response time:  1.084 sec.
Max Response time:  18.994 sec
Total Requests:    6699
Total Errors:        11

Referensi