8_删除地址列表接口.yaml 598 B

12345678910111213141516171819202122232425
  1. process: G0--P
  2. desc: 删除地址列表
  3. featureName: 地址模块
  4. storyName: 地址模块
  5. remark: 地址删除模块备注
  6. steps:
  7. - 发送Post请求:
  8. 关键字: request_post_row_json
  9. URL: "{{URL}}"
  10. PARAMS:
  11. s: api/useraddress/delete
  12. application: app
  13. token: "{{msg_token}}"
  14. DATA:
  15. id: "{{add_id}}"
  16. - 通过JSONPATH提取数据-MSG:
  17. 关键字: ex_jsonData
  18. EXVALUE: $..msg
  19. INDEX: 0
  20. VARNAME: msg_success
  21. - 断言-文本断言-等于:
  22. 关键字: assert_text_comparators
  23. VALUE: "{{msg_success}}"
  24. EXPECTED: 删除成功
  25. OP_STR: ==