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

Uploaded Source

Built Distribution

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

HttpRunner-0.9.7-py3.6.egg (74.9 kB view details)

Uploaded Egg

File details

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

File metadata

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

File hashes

Hashes for HttpRunner-0.9.7.tar.gz
Algorithm Hash digest
SHA256 3875d84d377d705cadb1131a10c9a4dac7469c83744de7def05294a090d7d69e
MD5 3db8b928031c494992151b000caa15a4
BLAKE2b-256 08934a6fb0dd28d33f705f5932a7ab051bfe2a2dad07eeb0f073aedbbbc7a426

See more details on using hashes here.

File details

Details for the file HttpRunner-0.9.7-py3.6.egg.

File metadata

  • Download URL: HttpRunner-0.9.7-py3.6.egg
  • Upload date:
  • Size: 74.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for HttpRunner-0.9.7-py3.6.egg
Algorithm Hash digest
SHA256 6c399716c1adae8c0076435e65837b0f5b8a773bd2de5d82992788a2cc5fba53
MD5 3d59da7aa7ef8797446975dad79969ed
BLAKE2b-256 f89fba2ecec43d9eab0a4335e2da423671f232fe90cd056946bf0fd403fb2451

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