FindAuthenticationRolesAsync.robot 800 B

12345678910111213141516171819202122
  1. *** Settings ***
  2. Library CustomLibrary
  3. Resource ../../../Utils/HttpClient.robot
  4. Library String
  5. Resource ../../../CommonConfig/Config.robot
  6. *** Variables ***
  7. ${findAuthenticationRolesAsyncUrl} IRoleService
  8. *** Keywords ***
  9. FindAuthenticationRolesAsyncPost
  10. [Arguments] ${token} ${language}
  11. ${param} Create Dictionary
  12. Set To Dictionary ${param} Token ${token}
  13. Set To Dictionary ${param} Language ${language}
  14. ${body} Generate Params FindAuthenticationRolesAsync ${param}
  15. Log ${body}
  16. Log ---开始断言验证---
  17. ${response} PostRequest ${host} ${findAuthenticationRolesAsyncUrl} ${body}
  18. ${res} Response Analysis ${response}
  19. Log ${res}
  20. [Return] ${res}