How to install HttpRunner.

HttpRunner is developed with Golang, it supports Go 1.16+ and most operating systems. Combination of Go 1.16/1.17/1.18 and macOS/Linux/Windows are tested continuously on GitHub-Actions.

install as CLI tool

$ go install

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
Copyright 2021 debugtalk

  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

  -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

Beside using hrp as a CLI tool, you can also use it as golang library.

$ go get -u

Then you can import and write testcases in Golang.