Skip to main content

HTTP test runner, not just about api test and load test.

Project description

https://img.shields.io/github/license/HttpRunner/HttpRunner.svg https://travis-ci.org/HttpRunner/HttpRunner.svg?branch=master https://coveralls.io/repos/github/HttpRunner/HttpRunner/badge.svg?branch=master https://img.shields.io/pypi/v/HttpRunner.svg https://img.shields.io/pypi/pyversions/HttpRunner.svg

Former name: ApiTestEngine.

Design Philosophy

Take full reuse of Python’s existing powerful libraries: Requests, unittest and Locust. And achieve the goal of API automation test, production environment monitoring, and API performance test, with a concise and elegant manner.

Key Features

  • Inherit all powerful features of Requests, just have fun to handle HTTP in human way.

  • Define testcases in YAML or JSON format in concise and elegant manner.

  • Record and generate testcases with HAR support. see har2case.

  • Supports function/variable/extract/validate mechanisms to create full test scenarios.

  • With debugtalk.py plugin, module functions can be auto-discovered in recursive upward directories.

  • Testcases can be run in diverse ways, with single testset, multiple testsets, or entire project folder.

  • Test report is concise and clear, with detailed log records. See PyUnitReport.

  • With reuse of Locust, you can run performance test without extra work.

  • CLI command supported, perfect combination with Jenkins.

Documentation

HttpRunner is rich documented.

Next Step

There are still too many awesome features to be implemented. Recent schedules includes:

  • [x] Integrate with Charles and Fiddler: convert HAR (HTTP Archive) format to YAML testcases.

  • [ ] Integrate with Swagger: convert exported API definition of Swagger to YAML testcases.

  • [ ] Integrate with PostMan: convert Postman Collection Format to YAML testcases.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

HttpRunner-1.0.0b0.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

HttpRunner-1.0.0b0-py2.py3-none-any.whl (36.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file HttpRunner-1.0.0b0.tar.gz.

File metadata

  • Download URL: HttpRunner-1.0.0b0.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for HttpRunner-1.0.0b0.tar.gz
Algorithm Hash digest
SHA256 f0a93c6c50b22d973326c54317b28d92a385a2c1ffba6dc6eab9bcdc3f3d9d18
MD5 3e40fed45ef78b4207f2df8ffbd3c50d
BLAKE2b-256 af2139c1d4bc78ed56b326394cb922c23831e8045626afdfbfc930f7b54fca27

See more details on using hashes here.

File details

Details for the file HttpRunner-1.0.0b0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for HttpRunner-1.0.0b0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1ef991dd1014c796f10d1948ec084f2e30e471cb2902d6a670d07ddc239f8c41
MD5 12489655a797f2233f75867f0b679861
BLAKE2b-256 06dad5b5d300030557ffa8c4f6b9f5464f5c58eec760d47e74b10e2fd3b730c5

See more details on using hashes here.

Supported by

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