使用Robot Framework集成HttpLibrary的自动化测试(一)
使用robotframework加入HttpLibrary进行自动化测试,参考了文章
http://cgmblog.sinaapp.com/html/240.html
HttpLibrary.HTTP的API如下:[url]http://peritus.github.io/robotframework-httplibrary/HttpLibrary.html#Follow Response[/url]
官方地址如下:
https://github.com/peritus/robotframework-httplibrary/
本人测试的其中一个步骤如下
Step3 Comment Start Step3 Create Http Context host=xx.xx.xx.xxx:9000 scheme=http Get /xx/xxx/xxxx ${RESPONSE_STATUS}= Get Response Status Should Start With ${RESPONSE_STATUS} 200 Comment End Step3