26_添加地址接口.yaml 697 B

123456789101112131415161718192021222324252627282930
  1. process: G1--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/save
  12. application: app
  13. token: "{{msg_token}}"
  14. DATA:
  15. name: 李文静
  16. tel: 15096964646
  17. province: 18
  18. city: 27
  19. county: 2916
  20. address: 2栋403室
  21. - 通过JSONPATH提取数据-MSG:
  22. 关键字: ex_jsonData
  23. EXVALUE: $..msg
  24. INDEX: 0
  25. VARNAME: msg_success
  26. - 断言-文本断言-等于:
  27. 关键字: assert_text_comparators
  28. VALUE: "{{msg_success}}"
  29. EXPECTED: 新增成功
  30. OP_STR: ==