MyGit

v0.6.3

MarketSquare/robotframework-requests

版本发布时间: 2020-01-22 06:04:40

MarketSquare/robotframework-requests最新发布版本:v1.0a10(2024-05-07 06:07:58)

What's new

Status Should Be

Fails if response status code is different than the expected. expected_status could be the code number as an integer or as string. But it could also be a named status code like 'ok', 'created', 'accepted' or 'bad request', 'not found' etc. The response is the output of other requests keywords like Get Request. A custom message msg can be added to work like built in keywords.

Request Should Be Successful

Fails if response status code is a client or server error (4xx, 5xx). The response is the output of other requests keywords like Get Request. In case of failure an HTTPError will be automatically raised.

Local HTTP Test Server

A local version of flask httpbin server has been integrated in the project for testing purpose.

相关地址:原始地址 下载(tar) 下载(zip)

查看:2020-01-22发行的版本