High level tests on dojot
- SERVER - back end server ( default: localhost)
- PORT - back end server port (default: 8000)
- PROTOCOL - protocol (default: http)
- THREADS - number of parallel threads (default: 1)
- LOOPS - number of loops in a thread (default: 1)
- remove the kong api rate limit
- file kong.config.sh: rate plugin limit to avoid brute-force atacks
- start the test configuring the THREADS property (default: 2), for example:
-
docker run --name jmeter-test -i -v ${PWD}:${PWD} -w ${PWD} dojot/docker-jmeter:latest -n -t crud-perf.jmx -l run-crud.xml -e -o run-crud -Jserver=10.202.1.1
-
./run.sh -n -t crud-perf.jmx -l run-crud.xml -e -o run-crud -Jserver=10.202.1.1
-
./run.sh -n -t crud-perf.jmx -l run-crud.xml -e -o run-crud -JTHREADS=5 -Jserver=10.202.1.1
-
- cleanup before next run:
bash sudo rm -rf run-crud* jmeter.log
- Note: Jserver must be an IP reached by the jmeter container
- start the test configuring the LOOPS property (default: 1), for example:
-
docker run --name jmeter-test -i -v ${PWD}:${PWD} -w ${PWD} dojot/docker-jmeter:latest -n -t crud.jmx -l run-crud.xml -e -o run-crud -Jserver=10.202.1.1
-
./run.sh -n -t crud.jmx -l run-crud.xml -e -o run-crud -Jserver=10.202.1.1
-
./run.sh -n -t crud.jmx -l run-crud.xml -e -o run-crud -Jloops=5 -Jserver=10.202.1.1
-
- cleanup before next run:
bash sudo rm -rf run-crud* jmeter.log
- Note: Jserver must be an IP reached by the jmeter container