downloads unittest integration-test codecov pypi version pyversions TesterHome

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


Design Philosophy

Key Features

  • Inherit all powerful features of requests, just have fun to handle HTTP(S) in human way.
  • Define testcase in YAML or JSON format, run with pytest in concise and elegant manner.
  • Record and generate testcases with HAR support.
  • Supports variables/extract/validate/hooks mechanisms to create extremely complex test scenarios.
  • With plugin, any function can be used in any part of your testcase.
  • With jmespath, extract and validate json response has never been easier.
  • With pytest, hundreds of plugins are readily available.
  • With allure, test report can be pretty nice and powerful.
  • With reuse of locust, you can run performance test without extra work.
  • CLI command supported, perfect combination with CI/CD.


Thank you to all our sponsors!


(become a sponsor)

金牌赞助商(Gold Sponsor)


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

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

开源服务赞助商(Open Source Sponsor)


HttpRunner is in Sentry Sponsored plan.


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