Commit 6426fd8a authored by liguangyu06's avatar liguangyu06
Browse files

优化

parent 47ac3d4c
...@@ -45,7 +45,7 @@ request_body1 = commonFuc().get_business_data(module, "payload4", demand_id) ...@@ -45,7 +45,7 @@ request_body1 = commonFuc().get_business_data(module, "payload4", demand_id)
# 发送请求 # 发送请求
result1 = requests.post(url1, json=request_body1, headers=headers) result1 = requests.post(url1, json=request_body1, headers=headers)
# 获取接口响应时间 # 获取接口响应时间
api_time = result.elapsed.total_seconds() api_time = result1.elapsed.total_seconds()
result1 = json.loads(result1.content) result1 = json.loads(result1.content)
# print(result1) # print(result1)
# 获取预期结果 # 获取预期结果
......
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