DO NOT MERGE: Locust load testing

DO NOT MERGE.
This is what I was thinking about for load testing. This is using locust ( http://locust.io/ )

The locust script does the following per user:
1. Create a vault
2. Create a file
3. Assign the blocks to a file. It will always assign a common set of blocks that establish the deduplication ratio.
4. Try to finalize the file. This initially fails with a 409 due to the Gaps in the file.
5. Upload missing/new blocks using msgpack
6. Finalize the file

You can configure the number of blocks that make a file and the size of each of the blocks in tests/locust/config.cfg. You can also set the pause between each iteration with min_pause/max_pause (ms).


To use it, install the python requirements:
pip install -r load-requirements.txt
To run it, update the values in config.cfg and then execute:
locust -f locust_test.py --host= \<http url to deuce server\>