GithubHelp home page GithubHelp logo

Comments (4)

codesenberg avatar codesenberg commented on June 7, 2024

Currently, there is no way to specify multiple URLs directly, but you could do something in the spirit of UNIX philosophy, i.e., given urls.txt looks something like:

http://mysite.com/url1
http://mysite.com/url2?with=param
http://mysite.com/url3

you can then run:

cat urls.txt | xargs -P 8 -i bombardier -q "{}"

or, if you need outputs (script.sh):

#!/usr/bin/env bash

while read -r url
do
  (bombardier "$url" > "$url.txt") &
done < "${1:-/dev/stdin}"

and then, cat urls.txt | script.sh.

But maybe, you could try another approach, like, disabling caching on a test server, if it's a feasible option.

from bombardier.

 avatar commented on June 7, 2024

Thanks, looking in to it., right now i am on windows., so will work with batch scripting.

from bombardier.

ericsouza avatar ericsouza commented on June 7, 2024

Hey @codesenberg ! Do you thin there is any change this feature get added?

I'm using bombardier to benchmark a system that pops all elements from a redis list, so after the first call for a single user id all subsequently request for the same user id will return nothing.

If there was a way to tell bombardier to use a sequence, for example go from 1...1000 in a path like: localhost:8080/user/{index}/messages would be amazing. Also if this could be use in headers too would be even better for my application, as I'm using jwt token to identify my users.

drill, a benchmark tool written in rust has something similar to this.

By the way, bombardier its an amazing tool!

from bombardier.

codesenberg avatar codesenberg commented on June 7, 2024

Thanks for providing an example of how this functionality might be implemented, @ericsouza.
This or similar feature has been requested a couple of times. We use #84 for discussions these days.

from bombardier.

Related Issues (20)

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.