Commit 0ec0c86f142f271c7fadfb814b03347c9e1292e5

Authored by lixi
1 parent cd4326ff

1

testcase/hg/createBatch/test_createBatch.py
@@ -27,8 +27,8 @@ if d!=None : @@ -27,8 +27,8 @@ 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)) 29 print("创建订单,第{}次请求,请求body={}".format(i+1,body))
30 - print("请求url={},请求header={},请求body={}".format(create.url,create.header,create.body))  
31 - re = hg.post(url = create.url, headers = create.header, json = create.body) 30 + print("请求url={},请求header={},请求body={}".format(create.url,create.header,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