12345678910111213141516171819202122232425 |
- process: G0--P
- desc: 删除购物车成功
- featureName: 购物车模块
- storyName: 订单模块
- remark: 查看购物车模块备注
- steps:
- - 发送Post请求:
- 关键字: request_post_form_urlencoded
- URL: "{{URL}}"
- PARAMS:
- s: api/cart/delete
- application: app
- token: "{{msg_token}}"
- DATA:
- id: "{{card_id_1}}"
- - 通过JSONPATH提取数据-MSG:
- 关键字: ex_jsonData
- EXVALUE: $..msg
- INDEX: 0
- VARNAME: msg_success
- - 断言-文本断言-等于:
- 关键字: assert_text_comparators
- VALUE: "{{msg_success}}"
- EXPECTED: 删除成功
- OP_STR: ==
|