HttpRunner is developed with Golang, it supports Go
1.16+ and most operating systems. Combination of Go
macOS/Linux/Windows are tested continuously on GitHub-Actions.
install as CLI tool
$ go install github.com/httprunner/httprunner/v4/hrp/cmd/cli@master
Since installed, you will get a
hrp command with multiple sub-commands.
$ hrp -h hrp (HttpRunner+) is the next generation for HttpRunner. Enjoy! ✨ 🚀 ✨ License: Apache-2.0 Github: https://github.com/httprunner/httprunner Copyright 2021 debugtalk Usage: hrp [command] Available Commands: boom run load test with boomer completion generate the autocompletion script for the specified shell har2case Convert HAR to json/yaml testcase files help Help about any command run run API test Flags: -h, --help help for hrp --log-json set log to json format -l, --log-level string set log level (default "INFO") -v, --version version for hrp Use "hrp [command] --help" for more information about a command.
install as library
hrp as a CLI tool, you can also use it as golang library.
$ go get -u github.com/httprunner/httprunner/v4
Then you can import
github.com/httprunner/httprunner/v4/hrp and write testcases in Golang.