Skip to content

Instantly share code, notes, and snippets.

@jurgob
Last active June 19, 2018 13:27
Show Gist options
  • Save jurgob/a10bac34d29831d8c910dac2269fe0e5 to your computer and use it in GitHub Desktop.
Save jurgob/a10bac34d29831d8c910dac2269fe0e5 to your computer and use it in GitHub Desktop.
sudo -iu qatests
#move Pipfile in the root
pushd ~/rtc-performance
pipenv install
#if NPE
export PYTHONPATH=$PYTHONPATH:$PWD
pipenv run python ./vapi/call_proxy/run_tests.py --rate_initial 2 --rate_max 10 --rate_increment 1 --total 100 --duration 45 --email False --wiki False 2>&1 | tee stress.txt
#if STAGING
pipenv run python ./vapi/call_proxy/run_tests.py --rate_initial 24 --rate_max 50 --rate_increment 2 --total 1000 --duration 45 --email False --wiki False 2>&1 | tee stress.txt
#pipenv run python ./vapi/call_proxy/run_tests.py --rate_initial 24 --rate_max 50 --rate_increment 2 --total 1000 --duration 45 --email False --wiki False 2>&1 | tee stress.txt
popd
#update PipFile with python-jose[pycrypto]
#pipenv shell
#pipenv install
#pipenv uninstall python-jose
#pipenv uninstall pycryptodome
#pipenv install python-jose[pycrypto]
#pipenv install requests
#pipenv --python "$PYTHONPATH:~/rtc-performance" run python ./vapi/call_proxy/run_tests.py --rate_initial 24 --rate_max 50 --rate_increment 2 --total 1000 --duration 45 --email False --wiki False 2>&1 | tee stress.txt
#pipenv run python ./vapi/call_proxy/run_tests.py --rate_initial 24 --rate_max 50 --rate_increment 2 --total 1000 --duration 45 --email False --wiki False 2>&1 | tee stress.txt
#export PYTHONPATH=$PYTHONPATH:~/rtc-performance
#python ~/rtc-performance/vapi/call_proxy/run_tests.py --rate_initial 24 --rate_max 50 --rate_increment 2 --total 1000 --duration 45 --email False --wiki False 2>&1 | tee stress.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment