Commit f5abec2cb73f018df222d7be24169dbeec1f5b56
1 parent
1ffc1da7
更新
Showing
1 changed file
with
3 additions
and
3 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("====================创建进门单,第{}次请求=================\n\n 请求body={}\n\n".format(i+1,body)) | ||
30 | - print("请求url={},\n 请求header={},\n 请求body={}\n".format(create.url,create.header,body)) | 29 | + print("===================创建进门单,第{}次请求=================\n\n".format(i+1)) |
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={}\n\n".format(re.json())) | 32 | + print("请求结果body=={}\n\n".format(re.json())) |
33 | 33 | ||
34 | 34 |