GetOrganizationSettingAsync.robot 908 B

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