Skip to content
/ pour Public

When it rains it pours. Specialized load tester for http requests, in rust

Notifications You must be signed in to change notification settings

hwchen/pour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pour

When it rains it pours.

A tool for a limited kind of load testing.

Not intended to measure total throughput or latency of an application. Originally used for debugging a race condition triggered by a burst of requests.

I wanted to be able to:

  • send requests async at large volume
  • have timings for each request, as well as ok/err information logged
  • send a "setlist" of specific urls to call.

It's possible to cobble this together using linux commands and utilities. However, I wanted something a little more ergonomic.

Install

You'll need rust. See rustup.

You can install with stable.

from the github

cargo install --git https://github.com/hwchen/pour

Usage

async flag must be specified for async, currently. May become default in the future.

$ pour --async -f script.txt -n 10
$ pour --async --url https://google.com -n 10

TODO:

  • make url and file options conflict
  • use async client
  • allow base url prefix to urls in file?

About

When it rains it pours. Specialized load tester for http requests, in rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages