Commit 6b3361f7 by flyxiaozhu

测试

parent 122ea2aa
Showing with 14 additions and 5 deletions
......@@ -59,7 +59,11 @@ erp2.0 service-api test
![img](doc/goodlist-4.png)
#### 接口压力测试
1.测试运行场景安排
1.容忍度
单个请求的平均响应时间(Average):< 10s
错误率(ERROR):<= 10%
2.测试运行场景安排
| 测试编号 | 线程数 | Reamp-Up时间(秒) | 循环次数 | 描述 |
| --- | --- | --- | --- | --- |
......@@ -67,8 +71,9 @@ erp2.0 service-api test
| 1-2 | 1000 | 0 | 1 | 模拟1000个用户同时调用1次接口 |
| 1-3 | 750 | 0| 1 | 模拟750个用户同时调用1次接口 |
| 1-4 | 600 | 0| 1 | 模拟600个用户同时调用1次接口 |
| 1-5 | 550 | 0| 1 | 模拟550个用户同时调用1次接口 |
2.聚合报告
3.聚合报告
- 测试编号 1-1
![img](doc/goodlist-5.png)
......@@ -81,7 +86,11 @@ erp2.0 service-api test
- 测试编号 1-4
![img](doc/goodlist-8.png)
3.聚合分析
- 测试编号 1-5
![img](doc/goodlist-9.png)
4.聚合报告分析
在容忍度范围下,该接口的支持的并发数量在 550 左右
### 测试的接口
......@@ -90,4 +99,4 @@ erp2.0 service-api test
| 接口名称 | 开始时间 | 结束时间 |
| --- | --- | --- |
| 商品列表 | 2018-11-27 17: | 2018-11-27 17: |
\ No newline at end of file
| 商品列表 | 18-11-27 18:30 | 18-11-27 17: |
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment