Skip to content

kjellegafvelin/hurl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hurl - A simple HTTP load generator Nuget

Hurl is used to generate HTTP load against a target, and report on the results. You can use it to test the performance of your web applications or api:s.

You can specify the number of runners to use, and the number of requests to make per runner.

Installation

Open your terminal and run the following command:

dotnet tool install --global gp-hurl

Usage

USAGE:
    hurl [Url] [OPTIONS]

ARGUMENTS:
    [Url]    The URL to create requests for

OPTIONS:
                     DEFAULT
    -h, --help                  Prints help information
    -v, --version               Prints version information
    -c, --count      1          Number of requests to make per runner
    -r, --runners    1          Number of runners to use in parallel
        --ramp-up               Ramp up time in milliseconds between each runner

Example

hurl https://example.org

This will create the following output:

Hurl - 1.0.0

Running 1 requests/runner to 'https://example.org' using 1 runner(s)

Runner #1 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

┌────────┬────────────────┬────────────────┬────────────────┬───────┬─────────────┬────────────┐
│ Runner │ Avg. Time (ms) │ Min. Time (ms) │ Max. Time (ms) │ Req/s │ OK requests │ Downloaded │
├────────┼────────────────┼────────────────┼────────────────┼───────┼─────────────┼────────────┤
│ #1     │            972 │            972 │            972 │     1 │         1/1 │    1,23 KB │
├────────┼────────────────┼────────────────┼────────────────┼───────┼─────────────┼────────────┤
│ Sum    │            972 │            972 │            972 │     1 │         1/1 │    1,23 KB │
└────────┴────────────────┴────────────────┴────────────────┴───────┴─────────────┴────────────┘

About

Hurl is a simple HTTP load generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages