Difference between revisions of "OpenWebLoad"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 15: | Line 15: | ||
* Jumlah client yang secara simultan akan mengakses (default 5). | * Jumlah client yang secara simultan akan mengakses (default 5). | ||
− | Contoh | + | Contoh perintah |
− | + | openload http://192.168.0.80 10 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | Total TPS: | + | 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 | Dimana | ||
* MaTps: a 20 second moving average of TPS. | * MaTps: a 20 second moving average of TPS. | ||
− | * Tps: (Transactions Per Second) | + | * Tps: (Transactions Per Second) jumlah request yang berhasil di selesaikan dalam satu detik. |
− | * Resp Time: | + | * Resp Time: rata-rata response time dalam seconds untuk detik tersebut. |
− | * Err: | + | * Err: persentase responses yang erronous, tidak dapat mengembalikan status HTTP 200 Ok. |
− | * Count: | + | * 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: | + | * Avg. Response time: rata-rata response time dalam seconds. |
− | * Max Response time: | + | * Max Response time: responds tima tertinggi saat run tersebut. |
− | + | 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".