跳转至

# HttpRunner

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

> This docs site is corresponding to the latest version `3.x`, for `2.x` you can reference `archive link`.

## Design Philosophy

- Convention over configuration
- ROI matters
- Embrace open source, leverage `requests`, `pytest`, `pydantic`, `allure` and `locust`.

## 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 `debugtalk.py` 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`.

## Subscribe

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