Browse Source

Merge branch 'master' of https://gogs.earthsquad.global/athos/api_test

Bernhard 5 years ago
parent
commit
3d14dcb98a
7 changed files with 33 additions and 0 deletions
  1. 1 0
      asia_all_big.sh
  2. 1 0
      asia_all_med.sh
  3. 27 0
      asia_complete_run.sh
  4. 1 0
      asia_re_big.sh
  5. 1 0
      asia_re_med.sh
  6. 1 0
      asia_re_small.sh
  7. 1 0
      asia_short.sh

+ 1 - 0
asia_all_big.sh

@@ -0,0 +1 @@
+python3 API_Calls.py --users=500 --products=1000 --noimage=yes --ini_file=init_test.ini --server=https://app-test-cn.earthsquad.global/api >/dev/null 2>&1 &

+ 1 - 0
asia_all_med.sh

@@ -0,0 +1 @@
+python3 API_Calls.py --users=200 --products=500 --noimage=yes --ini_file=init_test.ini --server=https://app-test-cn.earthsquad.global/api >/dev/null 2>&1 &

+ 27 - 0
asia_complete_run.sh

@@ -0,0 +1,27 @@
+#!/bin/bash
+
+_evalBg() {
+    eval "$@" &>/dev/null &disown;
+}
+
+short_all="./asia_all_med.sh"
+short_re="./asia_re_med.sh"
+
+for i in {1..3}
+do
+	echo "Starting short recycle iteration ${i}";
+	_evalBg "${short_all}";
+	_evalBg "${short_re}";
+	sleep 180s
+done
+
+
+for i in {1..20}
+do
+        echo "Starting all_big iteration and one recycling ${i}"
+	/bin/bash ./asia_all_big.sh
+        /bin/bash ./asia_re_big.sh
+        echo "Waiting 20 Minutes"
+	sleep 1200s
+done
+echo "All done"

+ 1 - 0
asia_re_big.sh

@@ -0,0 +1 @@
+python3 API_Calls.py --users=1000 --products=500 --ini_file=init_test.ini --server=https://app-test-cn.earthsquad.global/api --mode=recycling --csv="/dist/auth_user_testserver.csv" >/dev/null 2>&1 &

+ 1 - 0
asia_re_med.sh

@@ -0,0 +1 @@
+python3 API_Calls.py --users=200 --products=200 --ini_file=init_test.ini --server=https://app-test-cn.earthsquad.global/api --mode=recycling --csv="/dist/auth_user_testserver.csv" >/dev/null 2>&1 &

+ 1 - 0
asia_re_small.sh

@@ -0,0 +1 @@
+python3 API_Calls.py --users=10 --products=20 --ini_file=init_test.ini --server=https://app-test-cn.earthsquad.global/api --mode=recycling --csv="/dist/auth_user_testserver.csv" 

+ 1 - 0
asia_short.sh

@@ -0,0 +1 @@
+python3 API_Calls.py --users=10 --products=100 --server=https://app-test-cn.earthsquad.global/api