123456789101112131415161718192021222324252627282930313233 |
- process: G0--P
- desc: 提交订单-商品详情
- featureName: 提交订单模块
- storyName: 订单模块
- remark: 提交订单模块备注
- steps:
- - 发送Post请求:
- 关键字: request_post_row_json
- URL: "{{URL}}"
- PARAMS:
- s: /api/buy/add
- application: app
- token: "{{msg_token}}"
- DATA:
- buy_type: "goods"
- goods_id: 11
- stock: 2
- spec:
- - type: 尺寸
- value: M
- address_id: "{{add_id}}"
- payment_id: 4
- user_note: 通过商品详情进行下单
- - 通过JSONPATH提取数据-MSG:
- 关键字: ex_jsonData
- EXVALUE: $..msg
- INDEX: 0
- VARNAME: msg_success
- - 断言-文本断言-等于:
- 关键字: assert_text_comparators
- VALUE: "{{msg_success}}"
- EXPECTED: 提交成功
- OP_STR: ==
|