Commit f3beac50 by flyxiaozhu

测试

parent 9fa1fb04
Showing with 14 additions and 13 deletions
/.idea
/apache-jmeter-5.0/bin/*.log
/apache-jmeter-5.0/backups
......@@ -16,13 +16,13 @@ erp2.0 service-api test
> jiang wei
## 测试接口
### 三星积分商城商品列表
### 1.三星积分商城商品列表
1. 测试结果文件
#### 测试结果文件
> JMeter 中打开:data\商品列表-察看结果树.jmx
![img](doc/goodlist-1.png)
2. 请求参数变量
#### 请求参数变量
| 变量名 | 值 | 描述|
| --- | --- | --- |
......@@ -30,38 +30,38 @@ erp2.0 service-api test
| pageSize | 12 | 页面大小 |
| iconId | 1 | |
3. 接口详情
#### 接口详情
> 协议:https
> 服务器地址:sspoint.mailejifen.com
> 端口:80
> HTTP 请求方式:GET
> HTTP 请求方式:GET
> 路径:/goods/list?page=${page}&pageSize=${pageSize}&iconId=${iconId}
4. 响应断言
#### 响应断言
> 模式匹配规则:Substring
> 内容:"code":0
5. 接口状态测试
- 用户组
#### 接口状态测试
1.用户组
| 线程数 | Reamp-Up时间(秒) | 循环次数 |
| --- | --- | --- |
| 1 | 1 | 1 |
- 请求结果:正常
2.请求结果:正常
![img](doc/goodlist-2.png)
- 聚合报告
3.聚合报告
![img](doc/goodlist-3.png)
6. 接口压力测试
- 测试运行场景安排
#### 接口压力测试
1.测试运行场景安排
| 线程数 | Reamp-Up时间(秒) | 循环次数 |
| --- | --- | --- |
| 1 | 1 | 1 |
- 聚合报告
2.聚合报告
![img](doc/goodlist-3.png)
- 聚合分析
......
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