diff --git a/httprunner/__about__.py b/httprunner/__about__.py index 11a468d0..82a265d0 100644 --- a/httprunner/__about__.py +++ b/httprunner/__about__.py @@ -1,7 +1,7 @@ __title__ = 'HttpRunner' __description__ = 'One-stop solution for HTTP(S) testing.' __url__ = 'https://github.com/HttpRunner/HttpRunner' -__version__ = '1.5.13' +__version__ = '1.5.14' __author__ = 'debugtalk' __author_email__ = 'mail@debugtalk.com' __license__ = 'MIT' diff --git a/httprunner/__init__.py b/httprunner/__init__.py index 0e26081e..48724cf5 100644 --- a/httprunner/__init__.py +++ b/httprunner/__init__.py @@ -1,3 +1,9 @@ # encoding: utf-8 +try: + # monkey patch at beginning to avoid RecursionError when running locust. + from gevent import monkey; monkey.patch_all() +except ImportError: + pass + from httprunner.api import HttpRunner, LocustRunner diff --git a/tests/httpbin/basic.yml b/tests/httpbin/basic.yml index 2c64f175..f8eacca2 100644 --- a/tests/httpbin/basic.yml +++ b/tests/httpbin/basic.yml @@ -1,7 +1,7 @@ - config: name: basic test with httpbin request: - base_url: http://httpbin.org/ + base_url: https://httpbin.org/ - test: name: index @@ -98,6 +98,3 @@ - len_eq: ["content", 9] - len_eq: ["json", 9] - len_eq: ["text", 9] - - -