summaryrefslogtreecommitdiff
path: root/scripts/scalability/test_controller/client/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/scalability/test_controller/client/makefile')
-rw-r--r--scripts/scalability/test_controller/client/makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/scalability/test_controller/client/makefile b/scripts/scalability/test_controller/client/makefile
new file mode 100644
index 00000000..33e67e25
--- /dev/null
+++ b/scripts/scalability/test_controller/client/makefile
@@ -0,0 +1,19 @@
+bench: upload download
+
+upload:
+ curl -X POST "http://127.0.0.1:7001/blobs?action=delete"
+ fl-run-bench -f test_Blobs.py Blobs.test_upload
+ fl-build-report --html results/blobs-bench.xml
+
+download:
+ curl -X POST "http://127.0.0.1:7001/blobs?action=create&size=10&amount=5000"
+ fl-run-bench -f test_Blobs.py Blobs.test_download
+ fl-build-report --html results/blobs-bench.xml
+
+test_upload:
+ curl -X POST "http://127.0.0.1:7001/blobs?action=delete"
+ fl-run-bench -c 1 --duration 10 -f test_Blobs.py Blobs.test_upload
+
+test_download:
+ curl -X POST "http://127.0.0.1:7001/blobs?action=create&size=10"
+ fl-run-bench -c 1 --duration 10 -f test_Blobs.py Blobs.test_download