1234567891011121314151617181920212223 |
- *** Settings ***
- Library CustomLibrary
- Resource ../../../Utils/HttpClient.robot
- Library String
- Resource ../../../CommonConfig/Config.robot
- *** Variables ***
- ${url} IPatientService
- *** Keywords ***
- FindValidPatientsByNameAsyncPost
- [Arguments] ${token} ${name}
- ${param} Create Dictionary
- Set To Dictionary ${param} Token ${token}
- Set To Dictionary ${param} Name ${name}
- ${body} Generate Params FindValidPatientsByNameAsync ${param}
- Log ${param}
- Log ---开始断言验证---
- ${response} PostRequest ${host} ${url} ${body}
- Log ${response}
- ${res} Response Analysis ${response}
- Log ${res}
- [Return] ${res}
|