Skip to main content

Interface test library for Robot Framework Extended with requests and verify the result

Project description

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

本地安装

Download source package and then install locally

python setup.py install

Using pip

The recommended installation method is using pip:

pip install robotframework-ifhttplibrary

支持对象

  • Web端:通过Cookie登录访问。 设置环境变量keyword: create session connect to database post/get request 登录接口

  • Mobile端:包括PC,Mobile,通过Proxy访问需要加密,根据项目需求可扩展测试库增加相应的加密算法关键字, 定制request headers,加密请求体body,再调用encrypt post 关键字发送加密http 请求。

环境安装

  • 安装python:3以下

  • 安装robotframework

  • 安装ride

  • pip install requests

  • pip install httplib2

  • pip install pydes

  • mysql库:mysql-connector-python-2.1.3-py2.7-winx64.msi

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page