提交 6fb1c0d9 编写于 作者: J jiafeng

clean log

上级 fa77327d
[ERROR 2021-08-24 10:48:43]This is error
[ERROR 2021-08-24 14:59:58]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:03:28]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:06:54]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:07:46]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:07:46]发送邮件失败
[ERROR 2021-08-24 15:08:24]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:14:06]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:14:06]发送邮件失败
[ERROR 2021-08-24 15:14:45]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:16:57]邮件发送失败,请检查邮件配置
[ERROR 2021-08-24 15:16:57]发送邮件失败
[ERROR 2021-08-26 13:19:48]邮件发送失败,请检查邮件配置
[ERROR 2021-08-26 13:19:48]发送邮件失败
[ERROR 2021-08-26 13:27:56]邮件发送失败,请检查邮件配置
[ERROR 2021-08-26 13:27:56]发送邮件失败
[ERROR 2021-08-26 13:28:34]邮件发送失败,请检查邮件配置
[ERROR 2021-08-26 13:28:34]发送邮件失败
[ERROR 2021-08-26 13:34:42]邮件发送失败,请检查邮件配置
[ERROR 2021-08-26 13:34:42]发送邮件失败
[ERROR 2021-08-26 13:38:09]邮件发送失败,请检查邮件配置
[ERROR 2021-08-26 13:38:09]发送邮件失败
[ERROR 2021-08-27 13:38:44]邮件发送失败,请检查邮件配置
[ERROR 2021-08-27 13:38:44]发送邮件失败
[ERROR 2021-08-27 13:39:29]邮件发送失败,请检查邮件配置
[ERROR 2021-08-27 13:42:14]邮件发送失败,请检查邮件配置
[ERROR 2021-08-28 11:19:04]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:20:50]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:20:54]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:21:03]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:21:07]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:21:21]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:21:36]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:22:02]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:23:07]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:28:50]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-08-28 11:30:00]StatusCode error expect_code is 201 StatusCode is 200
[ERROR 2021-09-04 11:42:11]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-04 15:41:46]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-04 15:43:31]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-14 23:46:35]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-14 23:50:58]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-15 13:30:23]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-16 19:30:32]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-19 11:22:14]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-19 11:30:07]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-19 11:49:17]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-19 16:13:54]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-19 17:29:14]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-20 11:41:23]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-20 19:25:19]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-20 19:40:21]StatusCode error expect_code is 200 StatusCode is 400
[ERROR 2021-09-20 19:40:49]StatusCode error expect_code is 200 StatusCode is 400
此差异已折叠。
......@@ -382,4 +382,55 @@ can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can arrange shipment
INFO root:Log.py:74 [INFO 2021-09-21 12:15:04]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/Basic.yml
INFO root:Log.py:74 [INFO 2021-09-21 12:15:04]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/ApiInfo.yml
INFO root:Log.py:74 [INFO 2021-09-21 12:15:04]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/HeaderInfo.yml
INFO root:Log.py:74 [INFO 2021-09-21 13:32:51]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/Basic.yml
INFO root:Log.py:74 [INFO 2021-09-21 13:32:51]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/ApiInfo.yml
INFO root:Log.py:74 [INFO 2021-09-21 13:32:51]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/HeaderInfo.yml
DEBUG urllib3.connectionpool:connectionpool.py:227 Starting new HTTP connection (1): c-api-sellerbasicservice.staging.shopeemobile.com:80
DEBUG urllib3.connectionpool:connectionpool.py:452 http://c-api-sellerbasicservice.staging.shopeemobile.com:80 "POST /api/fulfillment/openapi/v1/shipment/init_order HTTP/1.1" 200 70
\ No newline at end of file
{'code': 200, 'body': {'code': 0, 'data': {'list': [{'job_id': 'SG_321239_605810b44b3dbd2f5cd9abb22aa766d8_g', 'job_name': 'Air Waybill.SpeedPost - LPS (buyer)*1.pdf', 'job_status': 0, 'job_type': 1}]}, 'message': 'success', 'user_message': 'success'}, 'text': '{"code":0,"data":{"list":[{"job_id":"SG_321239_605810b44b3dbd2f5cd9abb22aa766d8_g","job_name":"Air Waybill.SpeedPost - LPS (buyer)*1.pdf","job_status":0,"job_type":1}]},"message":"success","user_message":"success"}', 'time_consuming': 457.643, 'time_total': 0.457643}
{'code': 200, 'body': {'code': 0, 'data': {'list': [{'job_id': 'SG_321239_f0db30585e330877f60aa219f4076a48_g', 'job_name': 'Air Waybill.SpeedPost - LPS (buyer)*1.pdf', 'job_status': 0, 'job_type': 1}]}, 'message': 'success', 'user_message': 'success'}, 'text': '{"code":0,"data":{"list":[{"job_id":"SG_321239_f0db30585e330877f60aa219f4076a48_g","job_name":"Air Waybill.SpeedPost - LPS (buyer)*1.pdf","job_status":0,"job_type":1}]},"message":"success","user_message":"success"}', 'time_consuming': 815.137, 'time_total': 1.815137}
Expecting value: line 1 column 1 (char 0)
"Epic","Feature","Story","FAILED","BROKEN","PASSED","SKIPPED","UNKNOWN"
"","10012渠道打印面单","发货","0","0","1","0","0"
"","10012渠道打印面单","创建订单","0","0","1","0","0"
"","10012渠道打印面单","打印面单","0","0","1","0","0"
"","10012渠道打印面单","创建订单","0","0","1","0","0"
"","10012渠道打印面单","发货","0","0","1","0","0"
......@@ -6,13 +6,13 @@
"name" : "创建订单",
"children" : [ {
"name" : "test_create_order_10012",
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"parentUid" : "b383e4410545fb3ce82f7374bab356ff",
"status" : "passed",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"flaky" : false,
"newFailed" : false,
......@@ -23,13 +23,13 @@
"name" : "发货",
"children" : [ {
"name" : "test_arrange_shipment_10012",
"uid" : "1df85abf46c6de22",
"uid" : "84b2a052afb0265d",
"parentUid" : "5aca5dd60a470ac6dd2d6ee9429aca6b",
"status" : "passed",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"flaky" : false,
"newFailed" : false,
......@@ -40,13 +40,13 @@
"name" : "打印面单",
"children" : [ {
"name" : "test_print_AWB",
"uid" : "c443bfe4ae285cdd",
"uid" : "6c3bad70afa8e145",
"parentUid" : "c2235189148223361f22bc38736caa94",
"status" : "passed",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"flaky" : false,
"newFailed" : false,
......
......@@ -4,39 +4,39 @@
"name" : "TestCase.SG.test_sample_10012",
"children" : [ {
"name" : "test_create_order_10012",
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"parentUid" : "2cd6ea4cedd04f882072c8f51d994c3f",
"status" : "passed",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ ]
}, {
"name" : "test_arrange_shipment_10012",
"uid" : "1df85abf46c6de22",
"uid" : "84b2a052afb0265d",
"parentUid" : "2cd6ea4cedd04f882072c8f51d994c3f",
"status" : "passed",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ ]
}, {
"name" : "test_print_AWB",
"uid" : "c443bfe4ae285cdd",
"uid" : "6c3bad70afa8e145",
"parentUid" : "2cd6ea4cedd04f882072c8f51d994c3f",
"status" : "passed",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"flaky" : false,
"newFailed" : false,
......
"Status","Start Time","Stop Time","Duration in ms","Parent Suite","Suite","Sub Suite","Test Class","Test Method","Name","Description"
"passed","Tue Sep 21 12:15:04 CST 2021","Tue Sep 21 12:15:07 CST 2021","2222","TestCase.SG","test_sample_10012","Test_Sample_10012","","","test_arrange_shipment_10012",""
"passed","Tue Sep 21 12:12:51 CST 2021","Tue Sep 21 12:15:04 CST 2021","133608","TestCase.SG","test_sample_10012","Test_Sample_10012","","","test_create_order_10012",""
"passed","Tue Sep 21 12:15:07 CST 2021","Tue Sep 21 12:15:19 CST 2021","12744","TestCase.SG","test_sample_10012","Test_Sample_10012","","","test_print_AWB",""
"passed","Tue Sep 21 13:32:52 CST 2021","Tue Sep 21 13:33:08 CST 2021","15602","TestCase.SG","test_sample_10012","Test_Sample_10012","","","test_print_AWB",""
"passed","Tue Sep 21 13:30:18 CST 2021","Tue Sep 21 13:32:51 CST 2021","152630","TestCase.SG","test_sample_10012","Test_Sample_10012","","","test_create_order_10012",""
"passed","Tue Sep 21 13:32:51 CST 2021","Tue Sep 21 13:32:52 CST 2021","1534","TestCase.SG","test_sample_10012","Test_Sample_10012","","","test_arrange_shipment_10012",""
......@@ -8,39 +8,39 @@
"name" : "Test_Sample_10012",
"children" : [ {
"name" : "test_create_order_10012",
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"parentUid" : "48b0e4c968545d49f1bce7f600f2b9ef",
"status" : "passed",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ ]
}, {
"name" : "test_arrange_shipment_10012",
"uid" : "1df85abf46c6de22",
"uid" : "84b2a052afb0265d",
"parentUid" : "48b0e4c968545d49f1bce7f600f2b9ef",
"status" : "passed",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ ]
}, {
"name" : "test_print_AWB",
"uid" : "c443bfe4ae285cdd",
"uid" : "6c3bad70afa8e145",
"parentUid" : "48b0e4c968545d49f1bce7f600f2b9ef",
"status" : "passed",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"flaky" : false,
"newFailed" : false,
......
{
"uid" : "c443bfe4ae285cdd",
"uid" : "6c3bad70afa8e145",
"name" : "test_print_AWB",
"fullName" : "TestCase.SG.test_sample_10012.Test_Sample_10012#test_print_AWB",
"historyId" : "7d80ed4f98f0f0d93add05f153d8da93",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"status" : "passed",
"flaky" : false,
......@@ -16,34 +16,34 @@
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "673b367d4be1cd89",
"uid" : "eef9a7bf29c24686",
"name" : "log",
"source" : "673b367d4be1cd89.txt",
"source" : "eef9a7bf29c24686.txt",
"type" : "text/plain",
"size" : 26256
"size" : 23802
}, {
"uid" : "aec555f9ac84ea30",
"uid" : "69bb548e206bb569",
"name" : "stdout",
"source" : "aec555f9ac84ea30.txt",
"source" : "69bb548e206bb569.txt",
"type" : "text/plain",
"size" : 572
} ],
"parameters" : [ ],
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true
},
"afterStages" : [ ],
"labels" : [ {
"name" : "severity",
"value" : "normal"
}, {
"name" : "story",
"value" : "打印面单"
}, {
"name" : "feature",
"value" : "10012渠道打印面单"
}, {
"name" : "story",
"value" : "打印面单"
}, {
"name" : "parentSuite",
"value" : "TestCase.SG"
......@@ -58,7 +58,7 @@
"value" : "C02D37B2MD6T"
}, {
"name" : "thread",
"value" : "3529-MainThread"
"value" : "4253-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
......@@ -82,6 +82,6 @@
"categories" : [ ],
"tags" : [ ]
},
"source" : "c443bfe4ae285cdd.json",
"source" : "6c3bad70afa8e145.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "1df85abf46c6de22",
"uid" : "84b2a052afb0265d",
"name" : "test_arrange_shipment_10012",
"fullName" : "TestCase.SG.test_sample_10012.Test_Sample_10012#test_arrange_shipment_10012",
"historyId" : "52b7475cd8e4ef12e6ffe7a76e8a9e8a",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"status" : "passed",
"flaky" : false,
......@@ -16,34 +16,34 @@
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "ea0ef0ae31e4acd0",
"uid" : "448ed360fabb5e44",
"name" : "log",
"source" : "ea0ef0ae31e4acd0.txt",
"source" : "448ed360fabb5e44.txt",
"type" : "text/plain",
"size" : 800
}, {
"uid" : "1ee5aa13948b046",
"uid" : "29e51d6b142e2736",
"name" : "stdout",
"source" : "1ee5aa13948b046.txt",
"source" : "29e51d6b142e2736.txt",
"type" : "text/plain",
"size" : 27
} ],
"parameters" : [ ],
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true
},
"afterStages" : [ ],
"labels" : [ {
"name" : "story",
"value" : "发货"
}, {
"name" : "severity",
"value" : "normal"
}, {
"name" : "feature",
"value" : "10012渠道打印面单"
}, {
"name" : "story",
"value" : "发货"
}, {
"name" : "parentSuite",
"value" : "TestCase.SG"
......@@ -58,7 +58,7 @@
"value" : "C02D37B2MD6T"
}, {
"name" : "thread",
"value" : "3529-MainThread"
"value" : "4253-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
......@@ -82,6 +82,6 @@
"categories" : [ ],
"tags" : [ ]
},
"source" : "1df85abf46c6de22.json",
"source" : "84b2a052afb0265d.json",
"parameterValues" : [ ]
}
\ No newline at end of file
{
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"name" : "test_create_order_10012",
"fullName" : "TestCase.SG.test_sample_10012.Test_Sample_10012#test_create_order_10012",
"historyId" : "abdbd17f3cf2c89da9194a19bf93a151",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"status" : "passed",
"flaky" : false,
......@@ -16,34 +16,34 @@
"status" : "passed",
"steps" : [ ],
"attachments" : [ {
"uid" : "9702391f7f452b52",
"uid" : "17dbf8d5b88dba30",
"name" : "log",
"source" : "9702391f7f452b52.txt",
"source" : "17dbf8d5b88dba30.txt",
"type" : "text/plain",
"size" : 315270
"size" : 356937
}, {
"uid" : "7ced0c6d19b3dae7",
"uid" : "3f1cda538a3b586d",
"name" : "stdout",
"source" : "7ced0c6d19b3dae7.txt",
"source" : "3f1cda538a3b586d.txt",
"type" : "text/plain",
"size" : 9621
"size" : 10896
} ],
"parameters" : [ ],
"shouldDisplayMessage" : false,
"stepsCount" : 0,
"attachmentsCount" : 2,
"shouldDisplayMessage" : false,
"hasContent" : true
},
"afterStages" : [ ],
"labels" : [ {
"name" : "story",
"value" : "创建订单"
}, {
"name" : "severity",
"value" : "normal"
}, {
"name" : "feature",
"value" : "10012渠道打印面单"
}, {
"name" : "story",
"value" : "创建订单"
}, {
"name" : "parentSuite",
"value" : "TestCase.SG"
......@@ -58,7 +58,7 @@
"value" : "C02D37B2MD6T"
}, {
"name" : "thread",
"value" : "3529-MainThread"
"value" : "4253-MainThread"
}, {
"name" : "framework",
"value" : "pytest"
......@@ -82,6 +82,6 @@
"categories" : [ ],
"tags" : [ ]
},
"source" : "96d549d50a2e5db.json",
"source" : "dd0d9a11fa6ad00c.json",
"parameterValues" : [ ]
}
\ No newline at end of file
......@@ -3,48 +3,48 @@
"children" : [ {
"name" : "C02D37B2MD6T",
"children" : [ {
"name" : "3529-MainThread",
"name" : "4253-MainThread",
"children" : [ {
"name" : "test_print_AWB",
"uid" : "c443bfe4ae285cdd",
"parentUid" : "afcf55c973ce0636de46e92d6db4ac0b",
"uid" : "6c3bad70afa8e145",
"parentUid" : "e3ae92cc475fb328ac9dcdabbc31933a",
"status" : "passed",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ ]
}, {
"name" : "test_create_order_10012",
"uid" : "96d549d50a2e5db",
"parentUid" : "afcf55c973ce0636de46e92d6db4ac0b",
"name" : "test_arrange_shipment_10012",
"uid" : "84b2a052afb0265d",
"parentUid" : "e3ae92cc475fb328ac9dcdabbc31933a",
"status" : "passed",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ ]
}, {
"name" : "test_arrange_shipment_10012",
"uid" : "1df85abf46c6de22",
"parentUid" : "afcf55c973ce0636de46e92d6db4ac0b",
"name" : "test_create_order_10012",
"uid" : "dd0d9a11fa6ad00c",
"parentUid" : "e3ae92cc475fb328ac9dcdabbc31933a",
"status" : "passed",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"flaky" : false,
"newFailed" : false,
"parameters" : [ ]
} ],
"uid" : "afcf55c973ce0636de46e92d6db4ac0b"
"uid" : "e3ae92cc475fb328ac9dcdabbc31933a"
} ],
"uid" : "eafb0b9de9899df48c2953b62bd53506"
} ],
......
launch_status failed=0 1632197721000000000
launch_status broken=0 1632197721000000000
launch_status passed=3 1632197721000000000
launch_status skipped=0 1632197721000000000
launch_status unknown=0 1632197721000000000
launch_time duration=148582 1632197721000000000
launch_time min_duration=2222 1632197721000000000
launch_time max_duration=133608 1632197721000000000
launch_time sum_duration=148574 1632197721000000000
launch_retries retries=0 1632197721000000000
launch_retries run=3 1632197721000000000
launch_status failed=0 1632202389000000000
launch_status broken=0 1632202389000000000
launch_status passed=3 1632202389000000000
launch_status skipped=0 1632202389000000000
launch_status unknown=0 1632202389000000000
launch_time duration=169774 1632202389000000000
launch_time min_duration=1534 1632202389000000000
launch_time max_duration=152630 1632202389000000000
launch_time sum_duration=169766 1632202389000000000
launch_retries retries=0 1632202389000000000
launch_retries run=3 1632202389000000000
......@@ -3,9 +3,9 @@ launch_status_broken 0
launch_status_passed 3
launch_status_skipped 0
launch_status_unknown 0
launch_time_duration 148582
launch_time_min_duration 2222
launch_time_max_duration 133608
launch_time_sum_duration 148574
launch_time_duration 169774
launch_time_min_duration 1534
launch_time_max_duration 152630
launch_time_sum_duration 169766
launch_retries_retries 0
launch_retries_run 3
[ {
"data" : {
"duration" : 148582
"duration" : 169774
}
} ]
\ No newline at end of file
......@@ -9,12 +9,12 @@
"total" : 1
},
"items" : [ {
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"status" : "passed",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
}
} ]
},
......@@ -28,12 +28,12 @@
"total" : 1
},
"items" : [ {
"uid" : "c443bfe4ae285cdd",
"uid" : "6c3bad70afa8e145",
"status" : "passed",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
}
} ]
},
......@@ -47,12 +47,12 @@
"total" : 1
},
"items" : [ {
"uid" : "1df85abf46c6de22",
"uid" : "84b2a052afb0265d",
"status" : "passed",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
}
} ]
}
......
[ {
"data" : {
"duration" : 148582
"duration" : 169774
}
} ]
\ No newline at end of file
[ {
"uid" : "1df85abf46c6de22",
"name" : "test_arrange_shipment_10012",
"uid" : "6c3bad70afa8e145",
"name" : "test_print_AWB",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"name" : "test_create_order_10012",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "c443bfe4ae285cdd",
"name" : "test_print_AWB",
"uid" : "84b2a052afb0265d",
"name" : "test_arrange_shipment_10012",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"status" : "passed",
"severity" : "normal"
......
[ {
"uid" : "1df85abf46c6de22",
"name" : "test_arrange_shipment_10012",
"uid" : "6c3bad70afa8e145",
"name" : "test_print_AWB",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "c443bfe4ae285cdd",
"name" : "test_print_AWB",
"uid" : "84b2a052afb0265d",
"name" : "test_arrange_shipment_10012",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"name" : "test_create_order_10012",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"status" : "passed",
"severity" : "normal"
......
[ {
"uid" : "1df85abf46c6de22",
"name" : "test_arrange_shipment_10012",
"uid" : "6c3bad70afa8e145",
"name" : "test_print_AWB",
"time" : {
"start" : 1632197704893,
"stop" : 1632197707115,
"duration" : 2222
"start" : 1632202372760,
"stop" : 1632202388362,
"duration" : 15602
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "96d549d50a2e5db",
"uid" : "dd0d9a11fa6ad00c",
"name" : "test_create_order_10012",
"time" : {
"start" : 1632197571280,
"stop" : 1632197704888,
"duration" : 133608
"start" : 1632202218588,
"stop" : 1632202371218,
"duration" : 152630
},
"status" : "passed",
"severity" : "normal"
}, {
"uid" : "c443bfe4ae285cdd",
"name" : "test_print_AWB",
"uid" : "84b2a052afb0265d",
"name" : "test_arrange_shipment_10012",
"time" : {
"start" : 1632197707118,
"stop" : 1632197719862,
"duration" : 12744
"start" : 1632202371223,
"stop" : 1632202372757,
"duration" : 1534
},
"status" : "passed",
"severity" : "normal"
......
......@@ -10,11 +10,11 @@
"total" : 3
},
"time" : {
"start" : 1632197571280,
"stop" : 1632197719862,
"duration" : 148582,
"minDuration" : 2222,
"maxDuration" : 133608,
"sumDuration" : 148574
"start" : 1632202218588,
"stop" : 1632202388362,
"duration" : 169774,
"minDuration" : 1534,
"maxDuration" : 152630,
"sumDuration" : 169766
}
}
\ No newline at end of file
......@@ -382,4 +382,55 @@ can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can not arrange shipment
can arrange shipment
{"name": "test_arrange_shipment_10012", "status": "passed", "attachments": [{"name": "log", "source": "f21b2d3a-7b54-47d3-b103-dbf05601ac7c-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "ee2880aa-c2bc-44eb-8224-1fc56acf5f63-attachment.txt", "type": "text/plain"}], "start": 1632197704893, "stop": 1632197707115, "uuid": "8a55c6f2-8a6c-4416-8436-0fc012a697bb", "historyId": "52b7475cd8e4ef12e6ffe7a76e8a9e8a", "testCaseId": "819d1815b0eaf3b21f9dc0184c77e043", "fullName": "TestCase.SG.test_sample_10012.Test_Sample_10012#test_arrange_shipment_10012", "labels": [{"name": "story", "value": "发货"}, {"name": "severity", "value": "normal"}, {"name": "feature", "value": "10012渠道打印面单"}, {"name": "parentSuite", "value": "TestCase.SG"}, {"name": "suite", "value": "test_sample_10012"}, {"name": "subSuite", "value": "Test_Sample_10012"}, {"name": "host", "value": "C02D37B2MD6T"}, {"name": "thread", "value": "3529-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "TestCase.SG.test_sample_10012"}]}
\ No newline at end of file
{"name": "test_arrange_shipment_10012", "status": "passed", "attachments": [{"name": "log", "source": "92f0cbfe-1832-4713-9692-5b06c962c1d3-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "efab97ff-bd4c-4f3d-b2f5-9818ea0bdcb1-attachment.txt", "type": "text/plain"}], "start": 1632202371223, "stop": 1632202372757, "uuid": "38ac8382-88c6-4c69-a6a9-c27ded3d077d", "historyId": "52b7475cd8e4ef12e6ffe7a76e8a9e8a", "testCaseId": "819d1815b0eaf3b21f9dc0184c77e043", "fullName": "TestCase.SG.test_sample_10012.Test_Sample_10012#test_arrange_shipment_10012", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "10012渠道打印面单"}, {"name": "story", "value": "发货"}, {"name": "parentSuite", "value": "TestCase.SG"}, {"name": "suite", "value": "test_sample_10012"}, {"name": "subSuite", "value": "Test_Sample_10012"}, {"name": "host", "value": "C02D37B2MD6T"}, {"name": "thread", "value": "4253-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "TestCase.SG.test_sample_10012"}]}
\ No newline at end of file
{"name": "test_create_order_10012", "status": "passed", "attachments": [{"name": "log", "source": "56e8ee6e-cf24-4885-8daf-799edfae4754-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "dc05a888-809c-40df-83f5-d6a154df94cc-attachment.txt", "type": "text/plain"}], "start": 1632197571280, "stop": 1632197704888, "uuid": "2fc34764-a03d-4020-96fd-278ccb55e346", "historyId": "abdbd17f3cf2c89da9194a19bf93a151", "testCaseId": "40ffa3b2555acc359ca536e81d429b0e", "fullName": "TestCase.SG.test_sample_10012.Test_Sample_10012#test_create_order_10012", "labels": [{"name": "story", "value": "创建订单"}, {"name": "severity", "value": "normal"}, {"name": "feature", "value": "10012渠道打印面单"}, {"name": "parentSuite", "value": "TestCase.SG"}, {"name": "suite", "value": "test_sample_10012"}, {"name": "subSuite", "value": "Test_Sample_10012"}, {"name": "host", "value": "C02D37B2MD6T"}, {"name": "thread", "value": "3529-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "TestCase.SG.test_sample_10012"}]}
\ No newline at end of file
{"name": "test_create_order_10012", "status": "passed", "attachments": [{"name": "log", "source": "95b53169-12b2-4e38-b7ea-8459f2a689f2-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "11773a81-5fd1-41be-8e7c-47205f126ba9-attachment.txt", "type": "text/plain"}], "start": 1632202218588, "stop": 1632202371218, "uuid": "4eaedc26-d094-451a-9492-21db6969c559", "historyId": "abdbd17f3cf2c89da9194a19bf93a151", "testCaseId": "40ffa3b2555acc359ca536e81d429b0e", "fullName": "TestCase.SG.test_sample_10012.Test_Sample_10012#test_create_order_10012", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "10012渠道打印面单"}, {"name": "story", "value": "创建订单"}, {"name": "parentSuite", "value": "TestCase.SG"}, {"name": "suite", "value": "test_sample_10012"}, {"name": "subSuite", "value": "Test_Sample_10012"}, {"name": "host", "value": "C02D37B2MD6T"}, {"name": "thread", "value": "4253-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "TestCase.SG.test_sample_10012"}]}
\ No newline at end of file
{'code': 200, 'body': {'code': 0, 'data': {'list': [{'job_id': 'SG_321239_605810b44b3dbd2f5cd9abb22aa766d8_g', 'job_name': 'Air Waybill.SpeedPost - LPS (buyer)*1.pdf', 'job_status': 0, 'job_type': 1}]}, 'message': 'success', 'user_message': 'success'}, 'text': '{"code":0,"data":{"list":[{"job_id":"SG_321239_605810b44b3dbd2f5cd9abb22aa766d8_g","job_name":"Air Waybill.SpeedPost - LPS (buyer)*1.pdf","job_status":0,"job_type":1}]},"message":"success","user_message":"success"}', 'time_consuming': 457.643, 'time_total': 0.457643}
{'code': 200, 'body': {'code': 0, 'data': {'list': [{'job_id': 'SG_321239_f0db30585e330877f60aa219f4076a48_g', 'job_name': 'Air Waybill.SpeedPost - LPS (buyer)*1.pdf', 'job_status': 0, 'job_type': 1}]}, 'message': 'success', 'user_message': 'success'}, 'text': '{"code":0,"data":{"list":[{"job_id":"SG_321239_f0db30585e330877f60aa219f4076a48_g","job_name":"Air Waybill.SpeedPost - LPS (buyer)*1.pdf","job_status":0,"job_type":1}]},"message":"success","user_message":"success"}', 'time_consuming': 815.137, 'time_total': 1.815137}
Expecting value: line 1 column 1 (char 0)
INFO root:Log.py:74 [INFO 2021-09-21 12:15:04]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/Basic.yml
INFO root:Log.py:74 [INFO 2021-09-21 12:15:04]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/ApiInfo.yml
INFO root:Log.py:74 [INFO 2021-09-21 12:15:04]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/HeaderInfo.yml
INFO root:Log.py:74 [INFO 2021-09-21 13:32:51]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/Basic.yml
INFO root:Log.py:74 [INFO 2021-09-21 13:32:51]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/ApiInfo.yml
INFO root:Log.py:74 [INFO 2021-09-21 13:32:51]解析yaml, Path:/Users/jiafeng.li/Desktop/工作记录文件/code/shipment-python/Params/Param/HeaderInfo.yml
DEBUG urllib3.connectionpool:connectionpool.py:227 Starting new HTTP connection (1): c-api-sellerbasicservice.staging.shopeemobile.com:80
DEBUG urllib3.connectionpool:connectionpool.py:452 http://c-api-sellerbasicservice.staging.shopeemobile.com:80 "POST /api/fulfillment/openapi/v1/shipment/init_order HTTP/1.1" 200 70
\ No newline at end of file
{"name": "test_print_AWB", "status": "passed", "attachments": [{"name": "log", "source": "042d3dca-2f4a-4d8b-a8b4-8d9932837ec6-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "76f57789-1dd6-41e0-b103-8d352cdab1e6-attachment.txt", "type": "text/plain"}], "start": 1632197707118, "stop": 1632197719862, "uuid": "11d0b305-8987-4f26-a51d-2f4356f73f5d", "historyId": "7d80ed4f98f0f0d93add05f153d8da93", "testCaseId": "58cac72535376e9bcd8f05a559ee886c", "fullName": "TestCase.SG.test_sample_10012.Test_Sample_10012#test_print_AWB", "labels": [{"name": "severity", "value": "normal"}, {"name": "story", "value": "打印面单"}, {"name": "feature", "value": "10012渠道打印面单"}, {"name": "parentSuite", "value": "TestCase.SG"}, {"name": "suite", "value": "test_sample_10012"}, {"name": "subSuite", "value": "Test_Sample_10012"}, {"name": "host", "value": "C02D37B2MD6T"}, {"name": "thread", "value": "3529-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "TestCase.SG.test_sample_10012"}]}
\ No newline at end of file
{"name": "test_print_AWB", "status": "passed", "attachments": [{"name": "log", "source": "b5523c67-1fe3-4fef-92dc-b0de1e925c0c-attachment.txt", "type": "text/plain"}, {"name": "stdout", "source": "857555c0-8d8a-4389-b77e-9b623cd3543a-attachment.txt", "type": "text/plain"}], "start": 1632202372760, "stop": 1632202388362, "uuid": "0bd1661c-be3e-4a39-a520-cd4f30be8e7a", "historyId": "7d80ed4f98f0f0d93add05f153d8da93", "testCaseId": "58cac72535376e9bcd8f05a559ee886c", "fullName": "TestCase.SG.test_sample_10012.Test_Sample_10012#test_print_AWB", "labels": [{"name": "severity", "value": "normal"}, {"name": "feature", "value": "10012渠道打印面单"}, {"name": "story", "value": "打印面单"}, {"name": "parentSuite", "value": "TestCase.SG"}, {"name": "suite", "value": "test_sample_10012"}, {"name": "subSuite", "value": "Test_Sample_10012"}, {"name": "host", "value": "C02D37B2MD6T"}, {"name": "thread", "value": "4253-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "TestCase.SG.test_sample_10012"}]}
\ No newline at end of file
......@@ -13,6 +13,12 @@ if __name__ == '__main__':
clean_cmd = 'rm -rf ./Report/*'
shell.invoke(clean_cmd)
#清除log日志
clean_err_log = 'echo ''> ./Log/err.log'
shell.invoke(clean_err_log)
clean_info_log = 'echo ''> ./Log/log.log'
shell.invoke(clean_info_log)
# 定义测试集
result_path = config.result_path
report_path = config.report_path
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册