VerifyAccountAsync.robot 669 B

1234567891011121314151617181920
  1. *** Settings ***
  2. Library CustomLibrary
  3. Resource ../../../Utils/HttpClient.robot
  4. Resource ../../../CommonConfig/Config.robot
  5. *** Variables ***
  6. ${verifyAccountAsyncUrl} ILoginService
  7. *** Keywords ***
  8. VerifyAccountAsyncPost
  9. [Arguments] ${username}
  10. ${param} Create Dictionary
  11. Set To Dictionary ${param} UserName ${username}
  12. ${body} Generate Params VerifyAccountAsync ${param}
  13. Log ${body}
  14. Log ---开始断言验证---
  15. ${response} PostRequest ${host} ${verifyAccountAsyncUrl} ${body}
  16. ${res} Response Analysis ${response}
  17. Log ${res}
  18. [Return] ${res}