SearchOrganizationsAsync.robot 1.0 KB

1234567891011121314151617181920212223242526
  1. *** Settings ***
  2. Documentation 搜索组织
  3. Library CustomLibrary
  4. Resource ../../../Utils/HttpClient.robot
  5. Library String
  6. Resource ../../../CommonConfig/Config.robot
  7. *** Variables ***
  8. ${searchOrganizationsAsyncUrl} IOrganizationService
  9. *** Keywords ***
  10. SearchOrganizationsAsyncPost
  11. [Arguments] ${token} ${keyword} ${parentCode} ${organizationType}
  12. ${param} Create Dictionary
  13. Set To Dictionary ${param} Token ${token}
  14. Set To Dictionary ${param} Keyword ${keyword}
  15. Set To Dictionary ${param} ParentCode ${parentCode}
  16. Set To Dictionary ${param} OrganizationType ${organizationType}
  17. ${body} Generate Params SearchOrganizationsAsync ${param}
  18. Log ${param}
  19. Log ---开始断言验证---
  20. ${response} PostRequest ${host} ${searchOrganizationsAsyncUrl} ${body}
  21. Log ${response}
  22. ${res} Response Analysis ${response}
  23. Log ${res}
  24. [Return] ${res}