UpdateOrganizationNameAsync.robot 952 B

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