RemoveUsersFromOrganizationAsync.robot 871 B

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