Biu Api Test Report
- Test time: 2016-11-04 15:44:27
- Git Checking out Revision:
innerapitest.biu.com: bdd1fa9c847350e0918a55d07076cd282d9cf275 (origin/tags/tag0.0.6.5)
service-api: a36191f9f63ba064028725beca5caaea014a7cc6 (tag0.0.3.110)
service-base: 6a57f14b28ece9458423b5b7127edbcac27362a1 (origin/tags/tag0.0.3.2)
service-framework: d134a98c702904ce1282888941e8be548647a4eb (tag0.0.3.38)
service-manage: 33077d98896c1c8ad4753af7216d61a2c222fe5e (tag0.0.3.66)
- Api name: coumon_list
- Results: 16 cases, 0 failed
Details
| Num | Case name | Argument | Result | Expect | Logic | actual |
|---|
| 1 | 我的优惠券列表-未使用(code) | status=1 | PASS | 0 | equal | 0 |
| 2 | 我的优惠券列表-未使用(msg) | status=1 | PASS | success | equal | success |
| 3 | 我的优惠券列表-未使用-data数组长度 | status=1 | PASS | 0 | notequal | 42 |
| 4 | 我的优惠券列表-未使用-data是不是数组 | status=1 | PASS | ARRAY | equal | ARRAY |
| 5 | 我的优惠券列表-已使用(code) | status=2 | PASS | 0 | equal | 0 |
| 6 | 我的优惠券列表-已使用(msg) | status=2 | PASS | success | equal | success |
| 7 | 我的优惠券列表-已使用-data数组长度 | status=2 | PASS | 0 | notequal | 22 |
| 8 | 我的优惠券列表-已使用-data是不是数组 | status=2 | PASS | ARRAY | equal | ARRAY |
| 9 | 我的优惠券列表-已过期(code) | status=3 | PASS | 0 | equal | 0 |
| 10 | 我的优惠券列表-已过期(msg) | status=3 | PASS | success | equal | success |
| 11 | 我的优惠券列表-已过期-data数组长度 | status=3 | PASS | 0 | notequal | 23 |
| 12 | 我的优惠券列表-已过期-data是不是数组 | status=3 | PASS | ARRAY | equal | ARRAY |
| 13 | 参数为空(code) | status= | PASS | 10013 | equal | 10013 |
| 14 | 参数为空(msg) | status= | PASS | 参数不能为空 | equal | 参数不能为空 |
| 15 | 用户未登录(code) | status=3 | PASS | 10004 | equal | 10004 |
| 16 | 用户未登录(msg) | status=3 | PASS | 用户未登录,请登录 | equal | 用户未登录,请登录 |