-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathlocustfile.py
More file actions
23 lines (20 loc) · 817 Bytes
/
locustfile.py
File metadata and controls
23 lines (20 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from locusts.key_value import KeyValueLocust
from locusts.transit import TransitLocust
from locusts.pki import PkiLocust
from locusts.dyn_mongodb import MongoDbLocust
from locusts.dyn_mysql import MysqlLocust
from locusts.totp import TotpLocust
from locusts.auth_userpass import UserPassAuthLocust
from locusts.auth_approle import AppRoleLocust
__static__ = [KeyValueLocust, TransitLocust, PkiLocust]
__dynamic__ = [MysqlLocust, MongoDbLocust, TotpLocust]
__auth__ = [UserPassAuthLocust, AppRoleLocust]
__all__ = __static__ + __dynamic__ + __auth__
# import logging
# logging.getLogger().setLevel(logging.DEBUG)
# requests_log = logging.getLogger("requests.packages.urllib3")
# requests_log.setLevel(logging.DEBUG)
# requests_log.propagate = True
#
# import http.client
# http.client.HTTPConnection.debuglevel = 1