Commit 6004e5b82c6a23930eb9f50d94065418d3a6aa62
1 parent
9e956257
1
Showing
1 changed file
with
3 additions
and
3 deletions
testcase/hg/createBatch/test_createBatch.py
... | ... | @@ -19,16 +19,16 @@ print("\n开始运行订单创建脚本...\n") |
19 | 19 | |
20 | 20 | |
21 | 21 | #打印第三方请求json市场和请求次数 |
22 | -print("请求参数={} 请求次数={}".format(d,t)) | |
22 | +# print("请求参数={} 请求次数={}".format(d,t)) | |
23 | 23 | |
24 | 24 | |
25 | 25 | #根据用户参数进行请求 |
26 | 26 | if d!=None : |
27 | 27 | for i in range(t): |
28 | 28 | body = d |
29 | - print("创建进门单,第{}次请求,请求body={}".format(i+1,body)) | |
29 | + print("创建进门单,第{}次请求,请求body={}\n\n".format(i+1,body)) | |
30 | 30 | print("请求url={},\n\n 请求header={},\n\n 请求body={}\n\n".format(create.url,create.header,body)) |
31 | 31 | re = hg.post(url = create.url, headers = create.header, json = body) |
32 | - print("请求结果",re.json()) | |
32 | + print("创建进门单,第{}次请求,请求结果body={}".format(i+1,re.json())) | |
33 | 33 | |
34 | 34 | ... | ... |