https://github.com/httprunner/httprunner
HttpRunner 是一个开源的 API/UI 测试工具,简单易用,功能强大,具有丰富的插件化机制和高度的可扩展能力。
https://github.com/httprunner/httprunner
adb api-testing benchmarking boomer curl httprunner httptest jmeter load-testing locust performance-testing pytest requests testing ui-testing wda
Last synced: 14 days ago
JSON representation
HttpRunner 是一个开源的 API/UI 测试工具,简单易用,功能强大,具有丰富的插件化机制和高度的可扩展能力。
- Host: GitHub
- URL: https://github.com/httprunner/httprunner
- Owner: httprunner
- License: apache-2.0
- Created: 2017-06-13T03:54:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T08:02:00.000Z (9 months ago)
- Last Synced: 2024-10-29T10:31:01.512Z (6 months ago)
- Topics: adb, api-testing, benchmarking, boomer, curl, httprunner, httptest, jmeter, load-testing, locust, performance-testing, pytest, requests, testing, ui-testing, wda
- Language: Go
- Homepage: https://httprunner.com/httprunner/
- Size: 35.4 MB
- Stars: 4,056
- Watchers: 154
- Forks: 1,282
- Open Issues: 511
-
Metadata Files:
- Readme: README.en.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fancy-toolkit - Http/Https测试框架, httprunner
- awesome-locust - httprunner - A HTTP/S testing framework with reuse of Locust. (Tools / Frameworks)
- awesome-python-testing - HttpRunner - is a simple & elegant, yet powerful HTTP(S) testing framework. (Rest API Testing)
- awesome-pydantic - HttpRunner - HttpRunner is a simple & elegant, yet powerful HTTP(S) testing framework. (Utilities)
- awesome-pydantic - HttpRunner - HttpRunner is a simple & elegant, yet powerful HTTP(S) testing framework. (Utilities)
- best-of-web-python - GitHub - 38% open · ⏱️ 24.01.2024): (Web Testing)
- awesome-postman-alternatives - https://github.com/httprunner/httprunner
- awesome-postman-alternatives - https://github.com/httprunner/httprunner
README
# HttpRunner
[](https://github.com/httprunner/httprunner/actions)
[](https://codecov.io/gh/httprunner/httprunner)
[](https://pkg.go.dev/github.com/httprunner/httprunner)
[](https://pepy.tech/project/httprunner)
[](https://testerhome.com/github_statistics)> ⚠️ HttpRunner v5 only includes the Golang version, and the Python version of the code has been migrated to [httprunner/httprunner.py](https://github.com/httprunner/httprunner.py)
`HttpRunner` (also known as hrp) is an open-source testing framework that was born in 2017. Initially, it was used for API interface and performance testing, and later evolved into a versatile and extensible testing framework.
In 2022, HttpRunner began to support UI automation testing, currently supporting multiple system platforms such as Android/iOS/Harmony/Browser, and integrated large model technology in v5.
Compared to other UI automation frameworks, HttpRunner's main features include:
- Pure visual-driven solution (OCR/CV/LLM), pursuing universality and minimal performance loss
- Unified API across multiple platforms, reducing learning and horizontal expansion costs
- Embracing the open-source ecosystem, fully reusing open-source components## Usage
```text
$ hrp -h██╗ ██╗████████╗████████╗██████╗ ██████╗ ██╗ ██╗███╗ ██╗███╗ ██╗███████╗██████╗
██║ ██║╚══██╔══╝╚══██╔══╝██╔══██╗██╔══██╗██║ ██║████╗ ██║████╗ ██║██╔════╝██╔══██╗
███████║ ██║ ██║ ██████╔╝██████╔╝██║ ██║██╔██╗ ██║██╔██╗ ██║█████╗ ██████╔╝
██╔══██║ ██║ ██║ ██╔═══╝ ██╔══██╗██║ ██║██║╚██╗██║██║╚██╗██║██╔══╝ ██╔══██╗
██║ ██║ ██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║██║ ╚████║███████╗██║ ██║
╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝HttpRunner: Enjoy your All-in-One Testing Solution ✨ 🚀 ✨
💡 Simple Yet Powerful
- Natural language driven test scenarios powered by LLM
- User-friendly SDK API with IDE auto-completion
- Intuitive GoTest/YAML/JSON/Text testcase format📌 Comprehensive Testing Capabilities
- UI Automation: Android/iOS/Harmony/Browser
- API Testing: HTTP(S)/HTTP2/WebSocket/RPC
- Load Testing: run API testcase concurrently with boomer🧩 High Scalability
- Plugin system for custom functions
- Distributed testing support
- Cross-platform: macOS/Linux/Windows🛠 Easy Integration
- CI/CD friendly with JSON logs and HTML reports
- Rich ecosystem toolsLearn more:
Website: https://httprunner.com
GitHub: https://github.com/httprunner/httprunnerCopyright © 2017-present debugtalk. Apache-2.0 License.
Usage:
hrp [command]Available Commands:
adb simple utils for android device management
build build plugin for testing
completion Generate the autocompletion script for the specified shell
convert convert multiple source format to HttpRunner JSON/YAML/gotest/pytest cases
help Help about any command
ios simple utils for ios device management
pytest run API test with pytest
run run API test with go engine
server start hrp server
startproject create a scaffold project
wiki visit https://httprunner.comFlags:
-h, --help help for hrp
--log-json set log to json format (default colorized console)
-l, --log-level string set log level (default "INFO")
--venv string specify python3 venv path
-v, --version version for hrpUse "hrp [command] --help" for more information about a command.
```## User Cases
## Subscribe
关注 HttpRunner 的微信公众号,第一时间获得最新资讯。
[HttpRunner]: https://github.com/httprunner/httprunner
[boomer]: https://github.com/myzhan/boomer
[locust]: https://github.com/locustio/locust
[jmespath]: https://jmespath.org/
[allure]: https://docs.qameta.io/allure/
[HAR]: http://httparchive.org/
[hashicorp plugin]: https://github.com/hashicorp/go-plugin
[go plugin]: https://pkg.go.dev/plugin
[CHANGELOG]: docs/CHANGELOG.md
[pushgateway]: https://github.com/prometheus/pushgateway
[survey]: https://wj.qq.com/s2/9699514/0d19/
[中文]: README.md