GetPersonOrganizationAsync.robot 748 B

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