A Web application that supports tests HTTP and Dubbo performance.
- 支持指定Dubbo server的IP直连测试
- 支持任意Dubbo API测试
- 支持动态上传你的API jar到Server端上下文
- 支持__RANDOM_INT/ __RANDOM_STRING 随机数函数
- 支持动态占位符变量,循环获取
- ...
run com.okeeper.performance.PerformanceApplication
You can see the index html. It's is default performance tests for Dubbo interface.
index url: http://localhost:32188/
It's simple to understands with the input tips. Just try it.
After config, you should upload your Dubbo Interface
api jar to the server classloader context, otherwise it
will throw Exception of 找不到接口
upload url: http://localhost:32188/uploadJar
, and you can also see the click tag after the '测试接口' input.
If you fill in all parameters correctly. you can see this alert widow.
In the last step, Alert success does not necessarily mean success, there may be asynchronous errors. so you should observe the log in the backend.
The test report will output int the path /data/logs/performance-test/report/
, and the detail file name it was alert you in the web Alert window.
Example result.
Desc | Threads | Total Times (cnt) | Total Cost (ms) | Measure Times (cnt) | Successful Times(cnt) | Failed Times (cnt) | Throughput (qps/s) | Successful Rate (%) | Max Cost (ms) | Average Time (ms) | Tp99 (ms) | Tp95 (ms) | Tp90 (ms) | Tp50 (ms)
Final Result: | 1 | 1 | 5068 | 1 | 0 | 1 | 0.1973164975643158 | 0.0 | 0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0