This Library for RobotFramework
Introduction
RobotFramework-IFHttpLibrary is an Interface testing library for RobotFramework It includes post, get, delete, put method to send http requests,and also use MySql datebase to verify the Correctness of response datas.
It support Python 2.x and MySql database only.
Installation
pip
Using The recommended installation method is using pip:
pip install robotframework-interfacelibrary
The main benefit of using pip
is that it automatically installs all
dependencies needed by the library. Other nice features are easy upgrading
and support for un-installation:
pip install --upgrade robotframework-interfacelibrary pip uninstall robotframework-interfacelibrary
Usage Guider:
- Web端:通过Cookie登录访问。 设置环境变量keyword: create session connect to database post/get request 登录接口
- Mobile端:包括PC,Mobile,通过Proxy访问需要加密,根据项目需求可扩展测试库增加相应的加密算法关键字, 定制request headers,加密请求体body,再调用encrypt post 关键字发送加密http 请求。