Giter Site home page Giter Site logo

bengadbois / pewpew Goto Github PK

View Code? Open in Web Editor NEW
407.0 11.0 40.0 2.96 MB

Flexible HTTP command line stress tester for websites and web services

License: MIT License

Go 100.00%
load-testing stress-testing stress-tester performance-analysis performance-testing

pewpew's People

Contributors

bengadbois avatar ffest avatar hzakher avatar thomwiggers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pewpew's Issues

Staggered/delayed requests

Currently, pewpew immediately bombs the specified URL with requests. With just a few concurrent requests this is somewhat undesirable - would be nice if it were possible to stagger request threads, i.e. given 5 connections and a delay of 5 seconds, also allow 1 second before each run is started for a gradual ramp-up.

dns-prefetch does not work when ports are specified

How do you create the issue, and how reproducible is it? (show the full command)

% ./pewpew stress --dns-prefetch 'http://production-something-003.mgmt.pg.net.local:8000/blah'
Error: failed to create request with target configuration: failed to prefetch host production-something-003.mgmt.pg.net.local:8000
Usage:
  pewpew stress URL... [flags]

Yet works fine without --dns-prefetch

What version of pewpew are you running?

0.3.2

Did you compile pewpew yourself, or use a prebuilt version?

Prebuilt release from GitHub.

Tomcat Vaadin Page loading times not accurate

I tested my Vaadin Page using your tool. I get an average response time of 50ms which can not be accurate since when opening the page with a browser I have about 2 seconds of waiting time, because vaadin uses ajax calls to generate site content it seems. Is there a way to configure a test so that it waits for the page to load completly?

on the windows. run ".\pewpew.exe stress -X POST -n 50000 -c 1000 -t 3s -H "Accept-Encoding:gzip, Content-Type:application/json" http://192.168.0.136:9501"

There are many wrong outputs!

Failed to make request: Post "http://192.168.0.136:9501": dial tcp 192.168.0.136:9501: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Failed to make request: Post "http://192.168.0.136:9501": dial tcp 192.168.0.136:9501: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Failed to make request: Post "http://192.168.0.136:9501": dial tcp 192.168.0.136:9501: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Failed to make request: Post "http://192.168.0.136:9501": dial tcp 192.168.0.136:9501: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
Failed to make request: Post "http://192.168.0.136:9501": dial tcp 192.168.0.136:9501: connectex: Only one usage of each socket address (protocol/network address/port) is normally permitted.
HTTP/1.1 200 318 B 88 ms -> POST http://192.168.0.136:9501
HTTP/1.1 200 318 B 74 ms -> POST http://192.168.0.136:9501

----Summary----

Timing
Mean query speed: 139 ms
Fastest query speed: 0 ms
Slowest query speed: 2447 ms
Mean RPS: 1277.07 req/sec
Total time: 30097 ms

Data Transferred
Mean query: 318 B
Largest query: 318 B
Smallest query: 318 B
Total: 12 MB

Response Codes
200: 38437 responses (100.00%)

Make pewpew available as a package in package managers such as brew, apt

I'm not sure if it fits under guidelines, since it's not directly related to tool itself, but I've felt that I should file an issue
I've searched for pewpew in homebrew repository, but haven't found it.

I know, that pewpew is available as a release, but I think it would be more convenient to upload it to package repositories, such as homebrew, apt, aur and others.

It's a great tool and it would be great if it's installation could be even more straightforward

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.