RemoveOrganizationsAsync.robot 911 B

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