HeartRateAsync.robot 668 B

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