#dev #web #stress #tool #cli

app web_stress_tools

Console app for generating synthetic web traffic for your web app to help with benchmarking and debuging of performance issues

5 releases

0.6.1 Aug 12, 2023
0.6.0 Aug 11, 2023
0.5.10 Jul 30, 2023
0.5.9 Jul 22, 2023
0.5.8 Jul 22, 2023

#134 in Testing

Download history 7/week @ 2023-11-10 3/week @ 2023-11-17 15/week @ 2023-11-24 12/week @ 2023-12-01 1/week @ 2023-12-08 5/week @ 2023-12-15 10/week @ 2023-12-22 6/week @ 2023-12-29 5/week @ 2024-01-26 5/week @ 2024-02-02 8/week @ 2024-02-09 69/week @ 2024-02-16

87 downloads per month

MIT/Apache

170KB
410 lines

web_stress_tools

Easy to use console application for web application stress testing. Inspired by WGET.

How to use it

You can use 2 modes how to generate a traffic:

  • By specifying starting URL (--url) the app will extract links on each page and go through them.
    • You can set how deep will app go by setting --depth option.
  • By providing file with URLs (URL for each line) the app will go through the list.

You can set other options like a number of simulated users or wait time on each page by command line argument or in TOML configuration file. See Config.toml example file. Generally, the command line arguments have higher priority and overriding config file.

Usage Example

Supported targets

  • x86_64-unknown-linux-gnu
  • x86_64-pc-windows-gnu

About

Main purpose of this app is to help with stress testing and also for me to learn Rust language. I was using various applications to generate synthetic traffic in the past. MS Web Stress Tools long time ago, Selenium or WGET.

Problem I'm trying to solve is to have simple and easy to use application which would be able to simulate realistic traffic. I want to keep it simple as WGET is but also introduce advanced features like parallel users.

I've faced problems with rust headless_chrome so the initial version is using simple web requests to the server. Adding headless chrome or different engine is the main goal for the future version.

Roadmap

I'm not planning to add more functionality. The tool is helpful to me as it is, and I've learned a bit about Rust as well. There are definitely some small bugs or space for improvement. I'm happy to fix bugs If anyone will use the tool and report it.

Dependencies

~18–33MB
~667K SLoC