/httprunner

One-stop solution for HTTP(S) testing.

Primary LanguagePythonApache License 2.0Apache-2.0

HttpRunner

downloads travis-ci coveralls pypi version pyversions TesterHome

HttpRunner is a simple & elegant, yet powerful HTTP(S) testing framework. Enjoy! ✨ 🚀 ✨

Design Philosophy

  • Embrace open source, stand on giants' shoulders, like 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 variables/extract/validate mechanisms to create full test scenarios.
  • Supports perfect hook mechanism.
  • With debugtalk.py plugin, very easy to implement complex logic in testcase.
  • 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.

Sponsors

Thank you to all our sponsors! ✨🍰✨ (become a sponsor)

金牌赞助商(Gold Sponsor)

霍格沃兹测试学院

霍格沃兹测试学院 是由测吧(北京)科技有限公司与知名软件测试社区 TesterHome 合作的高端教育品牌。由 BAT 一线测试大咖执教,提供实战驱动的接口自动化测试、移动自动化测试、性能测试、持续集成与 DevOps 等技术培训,以及测试开发优秀人才内推服务。点击学习!

霍格沃兹测试学院是 HttpRunner 的首家金牌赞助商。

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 的微信公众号,第一时间获得最新资讯。