test_001_登录接口.yaml 751 B

1234567891011121314151617181920
  1. -
  2. name: 登录成功
  3. request:
  4. method: post
  5. url: /api/service-sysmgr/LoginController/loginMobile
  6. json:
  7. captcha: ${read_yaml(captcha)}
  8. captchaKey: ${read_yaml(captchaKey)}
  9. password: "4E797559645371504E71767A563733444C2F7250785176504C79696231427977737073446347774A4C4A5631486A5231554B7455744B692B56423446673473562B4755504E737064767665674753445672334A6A4836434B447A336B6F63346F6C554654786D5467516768684D7661564A4D6B49327A75377A72535A6745746A4E546A535058344B39312B794A6C57634B4E45334E4F723043704E505031653145686C337033767330354D3D"
  10. mobile : "18983394419"
  11. scope: "PHONE"
  12. username: "18983394419"
  13. extract:
  14. token: '"token":"(.*?)"'
  15. validate:
  16. - contains: true