CommonSignUpAsync.robot 921 B

123456789101112131415161718192021222324
  1. *** Settings ***
  2. Library CustomLibrary
  3. Resource ../../../Utils/HttpClient.robot
  4. Resource ../../../CommonConfig/Config.robot
  5. *** Variables ***
  6. ${commonSignUpAsyncUrl} ILoginService
  7. *** Keywords ***
  8. CommonSignUpAsyncPost
  9. [Arguments] ${anyaccount} ${anycode} ${password}
  10. ${param} Create Dictionary
  11. Set To Dictionary ${param} AnyAccount ${anyaccount}
  12. Set To Dictionary ${param} AnyCode ${anycode}
  13. Set To Dictionary ${param} Password ${password}
  14. ${HeaderMap} Create Dictionary
  15. Set To Dictionary ${param} HeaderMap ${HeaderMap}
  16. ${body} Generate Params CommonSignUpAsync ${param}
  17. Log ${body}
  18. Log ---开始断言验证---
  19. ${response} PostRequest ${host} ${commonSignUpAsyncUrl} ${body}
  20. ${res} Response Analysis ${response}
  21. Log ${res}
  22. [Return] ${res}