32_加密接口.yaml 723 B

123456789101112131415161718192021222324252627
  1. process: G1--P
  2. desc: 加密接口
  3. storyName: 加密项目
  4. featureName: 登录模块
  5. remark: 登录模块备注
  6. steps:
  7. - 进行数据加密 - 用户名:
  8. 关键字: encrypt_aes
  9. data: "{{username}}"
  10. VARNAME: aes_username
  11. - 进行数据加密 - 密码:
  12. 关键字: encrypt_aes
  13. data: "{{password}}"
  14. VARNAME: aes_password
  15. - 发送Post请求:
  16. 关键字: request_post_form_urlencoded
  17. URL: http://127.0.0.1:8080/login_safe
  18. DATA:
  19. password: "{{aes_username}}"
  20. username: "{{aes_password}}"
  21. ddts:
  22. - username: tony
  23. password: '123456'
  24. desc: "正确的用户名和密码"
  25. - username: hami
  26. password: '1234567'
  27. desc: "错误的用户名和密码"