From 1be9d9c391a107a3de3664f1ee58b45f52e28e4d Mon Sep 17 00:00:00 2001 From: Pactortester <1456470136@qq.com> Date: Mon, 13 Jul 2020 14:59:42 +0800 Subject: [PATCH] Update get_swagger.py --- swaggerjmx/get_swagger.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/swaggerjmx/get_swagger.py b/swaggerjmx/get_swagger.py index 60b841e..5dc6145 100644 --- a/swaggerjmx/get_swagger.py +++ b/swaggerjmx/get_swagger.py @@ -9,11 +9,7 @@ import json - - def get_test_plan(swagger_url=None, swagger_url_json_path=None): - - global data if swagger_url is None: try: @@ -60,4 +56,3 @@ def get_test_plan(swagger_url=None, swagger_url_json_path=None): "sampler_comments": sample_value.get("description")}) return thread_groups -get_test_plan(swagger_url='http://10.231.132.81:6003/v2/api-docs') \ No newline at end of file