load-test

command module
v0.0.0-...-2377bd3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

README

load-test

HTTP Load testing web tool powered by hey

New load test

new load test

Inspect test report

test report grafs

test report data

Install

  1. Clone the repo
$ go install github.com/kpacha/load-test

And the load-test binary should be in your $GOPATH/bin folder. Make sure it's also in your $PATH!

Run

Check the help for details on the accepted flags...

$ load-test -h
Usage of ./load-test:
  -d	devel mode enabled
  -f string
    	path to use as store (default ".")
  -m	use in-memory store instead of the fs persistent one
  -p int
    	port to expose the html ui (default 7879)

And then just run it!

$ load-test
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] POST   /test                     --> main.(*Server).(main.testHandler)-fm (1 handlers)
[GIN-debug] GET    /browse/:id               --> main.(*Server).(main.browseHandler)-fm (1 handlers)
[GIN-debug] GET    /                         --> main.(*Server).(main.homeHandler)-fm (1 handlers)
[GIN-debug] Listening and serving HTTP on :7879

And the web will be running at http://localhost:7879/

TODO

  • Expose the data collected per request in the test browser
  • Search for ulrs and tests names
  • Support curstom request headers and body
  • Support complex use cases
  • Compare results of two tests

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL