diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2016-03-29 12:10:05 -0300 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2016-03-29 12:10:22 -0300 |
commit | 646f3647f131570b15c70e59ee70633545ef4f73 (patch) | |
tree | 6d3d55442cfd92f581ac250f562ba4183e122710 /service/test/load | |
parent | 187b2b36f678f99c3112bed5128bea560e120e66 (diff) |
Removes ssl warnnings from log.
Diffstat (limited to 'service/test/load')
-rw-r--r-- | service/test/load/locustfile.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/service/test/load/locustfile.py b/service/test/load/locustfile.py index 0995315c..2969a218 100644 --- a/service/test/load/locustfile.py +++ b/service/test/load/locustfile.py @@ -7,6 +7,10 @@ from leap.exceptions import SRPAuthenticationError from locust import HttpLocust, TaskSet, task from pixelated.resources.login_resource import LoginResource +import requests +from requests.packages.urllib3.exceptions import InsecureRequestWarning +requests.packages.urllib3.disable_warnings(InsecureRequestWarning) + LEAP_PROVIDER = os.environ.get('LEAP_PROVIDER', 'dev.pixelated-project.org') LEAP_SERVER_HOST = os.environ.get( 'LEAP_SERVER_HOST', @@ -14,7 +18,7 @@ LEAP_SERVER_HOST = os.environ.get( LEAP_VERIFY_CERTIFICATE = os.environ.get( 'LEAP_VERIFY_CERTIFICATE', '~/.leap/ca.crt') -MAX_NUMBER_USER = os.environ.get('MAX_NUMBER_USER', 100) +MAX_NUMBER_USER = os.environ.get('MAX_NUMBER_USER', 80) INVITES_FILENAME = os.environ.get('INVITES_FILENAME', '/tmp/invite_codes.txt') INVITES_ENABLED = os.environ.get('INVITES_ENABLED', 'true') == 'true' |