用于检查http响应状态代码的robot框架库
robotframework-requestschecker的Python项目详细描述
简短说明
Robot Framework用于检查http响应状态代码的库,基于Requests库。
安装
pip install robotframework-requestschecker
文档
请参阅中Robotframework requestschecker库的关键字文档 文件夹docs。
示例
Test cases | Action | Argument | Argument | Argument |
---|---|---|---|---|
Simple Test | RequestsLibrary.Create session | Alias | http://www.example.com | |
${response}= | RequestsLibrary.Get request | Alias | / | |
RequestsChecker.Check Response Status | ${response} | 204 |
许可证
apache许可证2.0