Skip to content

支持Dubbo及Http的性能压测测试的Web应用,类似以轻量版的jmeter. 支持动态参数,变量占位符,SpEL表达式结果断言.

Notifications You must be signed in to change notification settings

okeeper/performance-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Performance-test-platform

A Web application that supports tests HTTP and Dubbo performance.

  • 支持指定Dubbo server的IP直连测试
  • 支持任意Dubbo API测试
  • 支持动态上传你的API jar到Server端上下文
  • 支持__RANDOM_INT/ __RANDOM_STRING 随机数函数
  • 支持动态占位符变量,循环获取
  • ...

Quick start

1. Fork and run the spring boot application.

run com.okeeper.performance.PerformanceApplication

2. Visit index html.

You can see the index html. It's is default performance tests for Dubbo interface. index url: http://localhost:32188/

3. Config the request parameters

It's simple to understands with the input tips. Just try it.

4. Upload your Api JAR

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.

5.Submit

If you fill in all parameters correctly. you can see this alert widow.

6.Observe the backend log

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.

7.See performance report

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

About

支持Dubbo及Http的性能压测测试的Web应用,类似以轻量版的jmeter. 支持动态参数,变量占位符,SpEL表达式结果断言.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages