Comments (13)
Why not use multiple swarms, each targeting a different URL? Starting them up in tandem can be scripted with a shell script / batch file -- you don't have to use python.
from beeswithmachineguns.
I've been looking for an example of how you would run multiple swarms at once. Care to share an example script?
from beeswithmachineguns.
I've had a lot of problems running multiple swarms. One issue has been that the last swarm created is the only swarm bees can see, unless I use the screen command. But that still doesn't work with bees down, only one swarm gets shut down, leaving the others that I have to turn off 1 by 1 in the AWS console.
Another problem with the multi-swarm approach is that you can't effectively emulate a user workflow. Users go through steps A, B & C in a given app. B takes longer than C, which takes longer than A. How do you get the swarms to evenly distribute these requests? I haven't found a way yet. This means I can simulate very unrealistic loads, but I'm still in the dark about what will happen when people start using the app.
Making bees a bit smarter so it can handle a simple click path would avoid a lot of uncertainty and doubt about what it's results are telling me.
from beeswithmachineguns.
I would very much like this feature also. I've been enjoying learning BWMG and using it to test our AWS setup before we switch the DNS. It's been very nice, but I'd like to be able to walk through several of the site's pages to force caching and do a more thorough site test. This is listed as a low priority feature. I'd suggest making it a higher priority and want to add my voice to those requesting it. Has there been any progress on implementing it?
from beeswithmachineguns.
I am working on a feature right now that would allow uploading of a Selenium IDE script to be run on the bees. This is for a specific project requirement, but I will submit a PR if there is interest from others in this ability. I may also add the ability to just specify a url config file as specified above while I am at it.
from beeswithmachineguns.
@rheist the problem is that this is a fundamental limitation of apache bench, on which bees relies for testing. Adding support for stepping through multiple URLs in a sequence requires using something else for driving load (or a lot of bandaid and hacking to simulate something close to this on top of ab).
@calebfornari that would be great pull request if you get around to it.
from beeswithmachineguns.
@cosmin Have you seen this? http://code.google.com/p/apachebench-for-multi-url/ Obviously this would require a custom ab build to be present on the AMI, or BWMG would need to upload and rebuild ab when the bee was instantiated. Would you have concerns or preferences regarding this approach? The first would obviously add an extra step for any AMI that was used, while the latter would increase the time it takes to spin up new bees.
from beeswithmachineguns.
That might work, but patching apache bench seems a little brittle. Are there any efforts to get that merged into ab itself?
from beeswithmachineguns.
Not that I can find, the project appears to be somewhat dormant. I agree that the approach is brittle but it's the most direct path to multi-url support I could find. This would be really easy for users to add on their own if they really need it, so unless it's a core feature that you really want in the project it may be better leave it out.
from beeswithmachineguns.
i think he means that you give him a list and it goes through every url dosing it and then goes to the next and dos that.
from beeswithmachineguns.
I would also really like to see multiple url support. I am interested in testing a search engine with a little more than 2000 distinct requests per minute. Unfortunately the solution from @marfarma isn't viable for my situation, because each url only needs to be hit 1-5 times in a test and they need to be distributed throughout the testing period roughly evenly.
from beeswithmachineguns.
So when is this planned? Multiple URL support would make this perfect, but without it, I'm going to need to use something other tool.
from beeswithmachineguns.
@brian-traceme Multiple urls enabled in #133
from beeswithmachineguns.
Related Issues (20)
- SSHException: not a valid EC private key file HOT 3
- Unable to `bees up` if putting the spot instance bid flag in HOT 2
- Installation issues HOT 12
- what's bitcoin?!can U tell me how to learn about all?
- Type error returned when starting attack HOT 11
- Cannot seem to use --keepalive option
- HTTP request with post-file json data throwing errors HOT 2
- Minimal required IAM permissions HOT 1
- [Feature Request] Allow specifying post_file via relative/absolute path HOT 2
- Connection timed out running ab HOT 4
- setup installation error HOT 1
- Wasps with Bazookas
- when I run bees attack I got this error authentication methods available any help please HOT 1
- Failed error trying to describe product codes HOT 2
- Mutiple regions and their subnets ?
- paramiko out of date
- paramiko.ssh_exception.SSHException: encountered RSA key, expected OPENSSH key HOT 2
- boto.exception.NoAuthHandlerFound
- Load test recommendations
- Cryptographic API Misuse Vulnerability
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 beeswithmachineguns.