Commit 47ac3d4c authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 08dc74cb
...@@ -43,7 +43,7 @@ request_body = commonFuc().get_business_data(module, "payload301") ...@@ -43,7 +43,7 @@ request_body = commonFuc().get_business_data(module, "payload301")
# 发送请求 # 发送请求
result = requests.post(url, json=request_body, headers=headers) result = requests.post(url, json=request_body, headers=headers)
# 获取接口响应时间 # 获取接口响应时间
api_time = result1.elapsed.total_seconds() api_time = result.elapsed.total_seconds()
result = json.loads(result.content) result = json.loads(result.content)
# 获取预期结果 # 获取预期结果
check_dict = commonFuc().get_business_data(module, "checkDict300") check_dict = commonFuc().get_business_data(module, "checkDict300")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment