Skip to main content

One-stop solution for HTTP(S) testing.

Project description

HttpRunner

LICENSE travis-ci coveralls pypi version pyversions

HttpRunner is an HTTP(S) protocol-oriented universal testing framework. Write testing scripts in YAML/JSON once, you can then achieve automated testing, performance testing, online monitoring, continuous integration and other testing needs.

Formerly known as ApiTestEngine.

Design Philosophy

  • Take full reuse of Python's existing powerful libraries: Requests, unittest and Locust.
  • Convention over configuration.
  • Pursuit of high rewards, write once and achieve a variety of testing needs

Key Features

  • Inherit all powerful features of Requests, just have fun to handle HTTP(S) 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.
  • Supports perfect hook mechanism.
  • With debugtalk.py plugin, module functions can be auto-discovered in recursive upward directories.
  • Testcases can be run in diverse ways, with single testcase, multiple testcases, or entire project folder.
  • Test report is concise and clear, with detailed log records.
  • With reuse of Locust, you can run performance test without extra work.
  • CLI command supported, perfect combination with CI/CD.

Documentation

HttpRunner is rich documented.

How to Contribute

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.
  2. Fork the repository on GitHub to start making your changes to the master branch (or branch off of it). You also need to comply with the development rules.
  3. Write a test which shows that the bug was fixed or that the feature works as expected.
  4. Send a pull request, you will then become a contributor after it gets merged and published.

Subscribe

关注 HttpRunner 的微信公众号,第一时间获得最新资讯。

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-2.2.3.tar.gz (45.7 kB view details)

Uploaded Source

Built Distribution

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

HttpRunner-2.2.3-py2.py3-none-any.whl (56.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file HttpRunner-2.2.3.tar.gz.

File metadata

  • Download URL: HttpRunner-2.2.3.tar.gz
  • Upload date:
  • Size: 45.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for HttpRunner-2.2.3.tar.gz
Algorithm Hash digest
SHA256 8c332ae596e8176094ee77a81b611da069fbab0bd74bc56f1ea38e6c140c1536
MD5 f58c4e392a22919d059205aca073df4b
BLAKE2b-256 37ceacf8ae25834ace455bc7c349c2d47dfc71bd39ded64aa566c04d6de7e3be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: HttpRunner-2.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 56.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for HttpRunner-2.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 55c048fa436b9aac6333af8fcac1906b4aa87d51b3c336e7757ba8cd500b9ae2
MD5 10c23ca7c8c9c2e18d3e90e821a7bc16
BLAKE2b-256 e836d4b7020acaf982980d552617b1cac847c51431a789c085bc48b58385816f

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