Commit 434c22a6c2c2841815e307fd7206b0be8aea83cd
1 parent
6004e5b8
1
Showing
1 changed file
with
2 additions
and
2 deletions
testcase/hg/createBatch/test_createBatch.py
@@ -26,9 +26,9 @@ print("\n开始运行订单创建脚本...\n") | @@ -26,9 +26,9 @@ print("\n开始运行订单创建脚本...\n") | ||
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={}\n\n".format(i+1,body)) | 29 | + print("创建进门单,第{}次请求,\n\n 请求body={}\n\n".format(i+1,body)) |
30 | print("请求url={},\n\n 请求header={},\n\n 请求body={}\n\n".format(create.url,create.header,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("创建进门单,第{}次请求,请求结果body={}".format(i+1,re.json())) | 32 | + print("请求结果body={}".format(re.json())) |
33 | 33 | ||
34 | 34 |