-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
118 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
bombard your app | ||
================ | ||
Bombard is a pure Python application to bombard with | ||
hundreds of HTTP-requests. | ||
|
||
This is tool for stress-testing with extremely simple | ||
configuration. | ||
|
||
You write requests in simple yaml-file (`bombard campaign book`). | ||
And can include a couple of Python lines in it. | ||
|
||
If you need more logic you can include external Python file and debug | ||
it in your IDE. | ||
|
||
The simplest (but not very useful) example | ||
|
||
ammo: | ||
postsList: | ||
url: "https://jsonplaceholder.typicode.com/posts" | ||
|
||
More complex example | ||
|
||
supply: # you can redefine it from command line (--supply) | ||
host: https://jsonplaceholder.typicode.com/ | ||
prepare: | ||
postsList: | ||
url: "{host}posts" | ||
script: | | ||
for post in resp[:3]: # add getPost requests for 1st ten posts in the list | ||
reload(ammo.getPost, id=post['id']) | ||
ammo: | ||
getPost: | ||
url: "{host}posts/{id}" | ||
headers: json | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:caption: Contents: | ||
|
||
|
||
|
||
Indices and tables | ||
------------------ | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters