Commit 9e956257725a4748d3c4b058eacb901fc67375d9
1 parent
0ec0c86f
1
Showing
1 changed file
with
3 additions
and
3 deletions
testcase/hg/createBatch/test_createBatch.py
@@ -26,9 +26,9 @@ print("请求参数={} 请求次数={}".format(d,t)) | @@ -26,9 +26,9 @@ print("请求参数={} 请求次数={}".format(d,t)) | ||
26 | if d!=None : | 26 | if d!=None : |
27 | for i in range(t): | 27 | for i in range(t): |
28 | body = d | 28 | body = d |
29 | - print("创建订单,第{}次请求,请求body={}".format(i+1,body)) | ||
30 | - print("请求url={},请求header={},请求body={}".format(create.url,create.header,body)) | 29 | + print("创建进门单,第{}次请求,请求body={}".format(i+1,body)) |
30 | + print("请求url={},\n\n 请求header={},\n\n 请求body={}\n\n".format(create.url,create.header,body)) | ||
31 | re = hg.post(url = create.url, headers = create.header, json = body) | 31 | re = hg.post(url = create.url, headers = create.header, json = body) |
32 | - print(re.json()) | 32 | + print("请求结果",re.json()) |
33 | 33 | ||
34 | 34 |