• Stars
    star
    220
  • Rank 180,422 (Top 4 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created about 7 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Like Boom, but based on Molotov

Salvo

http://coveralls.io/repos/github/tarekziade/salvo/badge.svg?branch=master http://travis-ci.org/tarekziade/salvo.svg?branch=master

This is the replacement for https://github.com/tarekziade/boom

Salvo is a simple command line tool to send some load to an HTTP(S) endpoint.

Salvo is a script you can use to quickly smoke-test your web app deployment. If you need a more complex tool, I'd suggest looking at Molotov

Salvo was specifically written to replace my Apache Bench (ab) usage. Salvo is based on Molotov, which uses Python 3 asyncio & aiohttp.

Installation

Salvo requires Python 3.6+ and Molotov, which gets installed as a dependency.

Just do:

$ pip install salvo

Basic usage

Basic usage example: 100 queries with a maximum concurrency of 10 users:

% salvo http://localhost:80 -c 10 -n 100
-------- Server info --------

Server Software: nginx/1.18.0
Host: localhost

-------- Running 100 queries - concurrency 10 --------

[================================================================>.] 99%

-------- Results --------

Successful calls                    1000
Total time                          16.0587 s
Average                             0.0161 s
Fastest                             0.0036 s
Slowest                             0.2524 s
Amplitude                           0.2488 s
Standard deviation                  0.011326
Requests Per Second                 62.27
Requests Per Minute                 3736.29

-------- Status codes --------
Code 200                    1000 times.

You can also use --duration if you want to run for a given amount of time.

For a full list of features, run salvo --help

Contribute

Salvo is very simple and anyone familiar with Python can contribute.

If you are interested in this project, you are welcome to join the fun at https://github.com/tarekziade/salvo

Make sure to add yourself to the contributors list if your PR gets merged. And make sure it's in alphabetical order!

More Repositories

1

boom

A replacement for AB (Apache Bench)
Python
1,215
star
2

molotov

Load Testing Tool
Python
452
star
3

smwogger

A smoke test tool for Services described through Swagger
Python
40
star
4

NginxTest

Some helpers to write functional tests against an Nginx server
Python
19
star
5

nuax

Micro-Framework in Lua
Lua
15
star
6

mwcat

MediaWiki Categories Model
Python
10
star
7

blog

CSS
8
star
8

tinap

port forwarding with throttling features
Python
8
star
9

signpic

script to sign pictures
Python
6
star
10

pcard

Python
5
star
11

molosonic

Experiment with Arsenic
Python
5
star
12

grenouille

Station mΓ©tΓ©o
JavaScript
5
star
13

system-metrics

Generates system info metrics
Python
4
star
14

onerpc

RPC through ZeroMQ - using ZeroRPC but with one (or two) extra things
Python
3
star
15

distill-t5

Python
3
star
16

gevent-socketpool

3
star
17

jenkins_scripts

Groovy
2
star
18

tinap_rust

Tinap, but in Rust
Rust
2
star
19

youtube-test

Testing a cached youtube
Python
2
star
20

wsgi-bench

Python
2
star
21

slides

All my slides
HTML
2
star
22

piplay

Raspberry Pi Music Player
2
star
23

bench-db

Python
2
star
24

changelog

chnagelog service
Python
2
star
25

powerhose

C++
2
star
26

whoami

Returns geoloc information + public IP when queried
1
star
27

extensions

Python
1
star
28

livre-python

Exemples du livre
1
star
29

chaussette

placeholder
1
star
30

piproxy

A Pip Proxy to simulate easy_install's allowed_hosts option
Python
1
star
31

moz_genai

Python
1
star
32

pardonmyai

Detect offensive language
Python
1
star
33

distilvit

fine-tuned model for alt-text
Python
1
star
34

ctranslate2-demo

Demo of summarization using ctranslate-2
C++
1
star
35

arduino

having fun with arduino
Arduino
1
star
36

toxmail-pop3

POP3 Tox bridge
Python
1
star
37

update_service

Produces update info
Rust
1
star
38

conditioned-profile

Creates/updates a Firefox profile
Python
1
star
39

heroes

HTML
1
star