AddOrganizationsAsync-待修改.robot 898 B

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