Comments (4)
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.
Thanks, looking in to it., right now i am on windows., so will work with batch scripting.
from bombardier.
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.
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)
- Odd redirects caused by bombardier appending the default port to the request URLs, when the original URL for testing had none HOT 3
- Another user previously encountered similar issue in #21. In short, currently you'll have to craft the body yourself.
- For some servers wall time significantly exceeds the expected duration of the test when fasthttp client is used HOT 3
- Bug when using more than one query parameter HOT 1
- can't pass trivy scan HOT 1
- Feature Request: Validate Responses
- Report stats during the test HOT 1
- Can the stress test of random parameters be realized? HOT 1
- 'http2: no cached connection was available' when receiving goAway frame during load test
- Can the stress test using different parameters within on testflow HOT 3
- body not allowed for GET HOT 1
- new release tag? HOT 2
- Unable to connect with h2c - HTTP/2 clear text protocol HOT 1
- Implement min HOT 1
- bombardier version unspecified HOT 2
- Option to save response of the request HOT 6
- How can I send a basic post request with headers and a json body? HOT 1
- incorrect computation of stddev? HOT 1
- missing windows arm64 build product HOT 1
- auto calculated boundary in large file uploading in asp.net core and testing with bombardier HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bombardier.