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.

Former name: 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.

Subscribe

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

Project details


Release history Release notifications | RSS feed

This version

2.0.0

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.0.0.tar.gz (42.3 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.0.0-py3.7.egg (110.4 kB view details)

Uploaded Egg

File details

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

File metadata

  • Download URL: HttpRunner-2.0.0.tar.gz
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for HttpRunner-2.0.0.tar.gz
Algorithm Hash digest
SHA256 7eb0e69b822687027a2434dafa1cb2c5a93c464806077b4f94b3470fb5a5c970
MD5 15ecde0ac0fe88ca5260beaa130a863d
BLAKE2b-256 61c0a1465ff362623a94b7a906af6dd38982ddada277d21df97b02b87cb8b4d9

See more details on using hashes here.

File details

Details for the file HttpRunner-2.0.0-py3.7.egg.

File metadata

  • Download URL: HttpRunner-2.0.0-py3.7.egg
  • Upload date:
  • Size: 110.4 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for HttpRunner-2.0.0-py3.7.egg
Algorithm Hash digest
SHA256 6399064a14b8710b405b19539665e6e576f4ad161cb04133bb63d508ef0507f7
MD5 755a02843e1c66446e1336677e84fb80
BLAKE2b-256 9667d4754ffd7644e80755b1fae79eafefc544e5ab6d4862ce2c8cd33a7529f6

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