Commit f8b5fb7e2a6562db0b40e57e0df0b88a97777f5f

Authored by liujiqiang
1 parent ab254d52

文件上传

report/test.log
1   -[2021-08-06 17:45:56] [INFO] : ======================================================================================
2   -[2021-08-06 17:45:56] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
3   -{'data': None, 'json': {'userName': 'sy_chen', 'password': 'b+IUentID+XPnw0ooFe8sX2D+4lMeOwz1iOVg14aMn2YJOUc7UakzW4/kzOTUh4dVf/lT42oKYqpXEnuryBCHh/2XAQx/RJC4vuPU+HD/bOt57YlHkc6Smn0klFWmUDT9ikIFU6V+Q2tw2OJkkcSP4mQXUVBtiHKmZ9rm+0YTtc='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
  1 +[2021-08-06 17:47:43] [INFO] : ======================================================================================
  2 +[2021-08-06 17:47:43] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
  3 +{'data': None, 'json': {'userName': 'sy_chen', 'password': 'nlOSkQxwrWzmePVqT3dyvOrguE30v5DlCA5nMYmVKA44kRbTqNg9YPpp+v1jpKV0stUOR7XDtVGPACdU1wKfbeqjrgFy4PKd5EUDeADP2kl2mzYdW795Lm2vab3Pf36N0rtRatXdAsI7KNT7DoKgicHrBXAsR9r9BNOuh2TcKuE='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
4 4  
5   -[2021-08-06 17:45:56] [INFO] : ======================================================================================
6   -[2021-08-06 17:45:56] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
7   -{'data': None, 'json': {'userName': 'sygangda', 'password': 'THfJANiPq6x6IYy5HFnM9Zf5Jl2z2S4Os68YA8+A7c5CxHBmrpKbMtmooPRAzjezZzt9lB24tsMiQ/0YYhQdUv8cOxXEVx3gdGImPKV2dvMp0PjyJUgPHzgoDoYexBnq9J0a/2tDgExr2JXl8l70l7GyA5QYdeFTAHOzhQaeBpg='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
  5 +[2021-08-06 17:47:43] [INFO] : ======================================================================================
  6 +[2021-08-06 17:47:43] [INFO] : http://test.uap.diligrp.com/api/authenticationApi/loginWeb
  7 +{'data': None, 'json': {'userName': 'sygangda', 'password': 'fnPe6E0qGfzHqjbIW4Jvu4Yx5WsWkLrnOANTMzNDP11uhBVRGF6SnDrFx+fE9Qe+P0gX9uInKVlmyn3cus4MAvuLU1oJN4Id4N4c/VaIa2cPSKkUfNxfujAcgRs1ieJaw9zPwFA1fRlIukdjF5BmefA+YOOcC/CeFXcUu3vvMOE='}, 'headers': {'Content-Type': 'text/plain;charset=utf-8', 'Host': 'test.uap.diligrp.com', 'Content-Length': '209', 'Expect': '100-continue'}}
8 8  
9   -[2021-08-06 17:45:56] [INFO] : ======================================================================================
10   -[2021-08-06 17:45:56] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep
  9 +[2021-08-06 17:47:43] [INFO] : ======================================================================================
  10 +[2021-08-06 17:47:43] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCarType
  11 +{"businessCode": "jmsf"}
  12 +{}
  13 +
  14 +[2021-08-06 17:47:44] [INFO] : ======================================================================================
  15 +[2021-08-06 17:47:44] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/cusCategory/getTree
  16 +{"marketId": 9, "state": 1, "keyword": "\u96ea\u83b2\u679c"}
  17 +{}
  18 +
  19 +[2021-08-06 17:47:44] [INFO] : ======================================================================================
  20 +[2021-08-06 17:47:44] [INFO] : http://test.gateway.diligrp.com:8285/dili-uap/userApi/listByExample.api
  21 +{"firmCode": "sy", "departmentId": 58, "keyword": ""}
  22 +{}
  23 +
  24 +[2021-08-06 17:47:44] [INFO] : ======================================================================================
  25 +[2021-08-06 17:47:44] [INFO] : http://test.gateway.diligrp.com:8285/assets-service/api/tradeType/query
  26 +{"pageNum": 100, "pageSize": 100, "marketId": 9}
  27 +{}
  28 +
  29 +[2021-08-06 17:47:44] [INFO] : ======================================================================================
  30 +[2021-08-06 17:47:44] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
  31 +None
  32 +{'params': {'pid': 'goods_tag'}}
  33 +
  34 +[2021-08-06 17:47:45] [INFO] : ======================================================================================
  35 +[2021-08-06 17:47:45] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/address
  36 +{"province": "C", "city": null, "area": null}
  37 +{}
  38 +
  39 +[2021-08-06 17:47:45] [INFO] : ======================================================================================
  40 +[2021-08-06 17:47:45] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/dep
  41 +None
  42 +{'params': {'keyword': ''}}
  43 +
  44 +[2021-08-06 17:47:45] [INFO] : ======================================================================================
  45 +[2021-08-06 17:47:45] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/jmsf/query/listCodeByPid
  46 +None
  47 +{'params': {'pid': 'prove_type'}}
  48 +
  49 +[2021-08-06 17:47:46] [INFO] : ======================================================================================
  50 +[2021-08-06 17:47:46] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/appCommon/duplicateToken.action
11 51 None
12   -{'params': {'keyword': '水果部'}}
  52 +{}
  53 +
  54 +[2021-08-06 17:47:46] [INFO] : ======================================================================================
  55 +[2021-08-06 17:47:46] [INFO] : http://test.gateway.diligrp.com:8285/jmsf-web/api/entrace/wholeCarWeighSave
  56 +{"carTypeCode": "003", "carTypeId": 53, "carTypeName": "\u677f\u8f66", "carTypeWeight": 333, "plate": "\u5dddB00001", "inGreeterId": 274, "inGreeterName": "\u901a\u7528\u6d4b\u8bd5", "productId": 14158, "productName": "\u96ea\u83b2\u679c", "proveTypeCode": 1621, "proveTypeName": "\u7eff\u8272\u852c\u83dc", "weighRemark": "\u5907\u6ce8", "weighmanRecord": {"grossWeight": 353, "grossWeightDate": "2021-08-06 17:47:46", "newWeight": 20, "tareWeight": 333, "tareWeightDate": null, "weighImgs": []}, "productCode": null, "trailerNumber": "\u5dddB00001", "pathAddress": "A4-BB-6D-0A-F4-13", "haveTruckWeight": false, "source": 4, "entryPlateInputType": 1, "dep": 103, "depName": "\u63a5\u8f66\u90e8", "cateId": 14158, "notice": 0, "backSkinTwo": -1, "recordOriginId": 0, "recordOriginName": null, "recordProductId": 0, "recordProductName": null, "recordWeight": null, "codeIc": null, "codeId": 0, "difference": 0, "bindRecordSign": 0, "recordDesc": null, "hasCodeItems": false, "customerId": 0, "customerName": "", "driverIc": null, "driverName": null, "totalPrice": null, "originId": 500101, "origin": "\u4e07\u5dde\u533a", "originCode": "023", "tradeType": "9002", "tradeTypeName": "\u6c88\u96332\u53f7", "weight": 2.0, "pwd": "", "type": 1, "ic": "", "boothNumber": "210728154359", "productState": "1", "accountId": 0, "passCheckId": 0, "passCheckName": null, "tradeTypeId": 71, "id": 0, "protocolId": null, "goodsTagId": 1900}
  57 +{}
  58 +
  59 +[2021-08-06 17:47:48] [INFO] : ======================================================================================
  60 +[2021-08-06 17:47:48] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/listPage.action
  61 +{'rows': '10', 'page': '1', 'sort': 'et.created', 'order': 'desc', 'metadata[created]': '{"provider": "datetimeProvider", "index": 10, "field": "created"}', 'metadata[totalPrice]': '{"provider": "moneyProvider", "index": 20, "field": "totalPrice"}', 'metadata[paymentTime]': '{"provider": "datetimeProvider", "index": 30, "field": "paymentTime"}', 'metadata[type]': '{"provider": "entranceFeeBillTypeProvider", "index": 40, "field": "type"}', 'metadata[status]': '{"provider": "entranceFeeBillStateProvider", "index": 50, "field": "status"}', 'attr': 'number', 'attrValue': '202108060900038'}
  62 +{}
  63 +
  64 +[2021-08-06 17:47:49] [INFO] : ======================================================================================
  65 +[2021-08-06 17:47:49] [INFO] : http://test.jmsf.diligrp.com:8385/entranceFeeBill/pay/3764.action
  66 +None
  67 +{}
  68 +
  69 +[2021-08-06 17:47:50] [INFO] : ======================================================================================
  70 +[2021-08-06 17:47:50] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/icCheck?ic=888810032426
  71 +None
  72 +{}
  73 +
  74 +[2021-08-06 17:47:57] [INFO] : ======================================================================================
  75 +[2021-08-06 17:47:57] [INFO] : http://test.jmsf.diligrp.com:8385/api/jmsf/ajax/city/?name=万州&query=万州
  76 +None
  77 +{}
  78 +
  79 +[2021-08-06 17:47:57] [INFO] : ======================================================================================
  80 +[2021-08-06 17:47:57] [INFO] : http://test.jmsf.diligrp.com:8385/calculate/index.action
  81 +{'protocolId': '', 'pwd': '', 'clientRedirectTag': '', 'viewType': 'pay', 'optType': '0', 'optUrl': '', 'correctInfo': '1', 'weightType': '1', 'id': 3764, 'goodsId': '3778', 'number': '202108060900038', 'modified': '2021-08-06 17:47:57', 'status': '2', 'source': '1', 'updateFeeItems': '', 'correctDiscount': '1', 'totalAmount': '', 'customerId': '0', 'fundAccount': '', 'accountId': '', 'ic': '', 'customerName': '', 'customerPhone': '', 'payway': '刷卡', 'plate': '川B00001', 'autocomplete-cartype': '003(板车)', 'carTypeName': '板车', 'carTypeCode': '003', 'carTypeId': '53', 'carTypeWeight': '333', 'storeTareWeight': '', 'proveType': '1621', 'grossWeight': '353', 'tareWeight': '333', 'weight': '20', 'goodsNum': '', 'itemWeight': '', 'productPrice': '1.00000', 'unitPrice': '100.0', 'depName': '接车部', 'calcDepId': '103', 'regionName': '', 'regionId': '0', 'productName': '雪莲果', 'productId': '14158', 'productArea': '重庆,重庆市,万州区', 'parentId': '', 'levelType': '', 'originId': 500101, 'tradeTypeId': '71', 'chargeTotalAmount': '', 'chargeTotalAmountYuan': '', 'freezeMoneySymbol': '', 'comparisonFreezeAmount': '', 'created': '2021-08-06 17:47:48', 'remark': 'false', 'goodsTagIds': '1900', 'shareRatio': '0', 'handlingTeam': '', 'handlingRatio': '', 'handActualAmount': '', 'handManageAmount': '', 'handCollectionAmount': '', 'receivableAmount': '', 'categoryName': '水果', 'categoryId': '14436', 'driverTel': '', 'grossWeightDate': '2021-08-06 17:47:47', 'tareWeightDate': '2021-08-06 17:47:47', 'grossPathName': '', 'grossPathId': '', 'tarePathId': '', 'goodsRemark': '', 'inGreeterName': '通用测试', 'inGreeterId': '274', 'outGreeterId': '', 'sumPrice': '2000', 'shipperName': '', 'shipperId': '', 'shipperPhone': '', 'feeDepName': '', 'calcFeeDepId': ''}
  82 +{}
  83 +
  84 +[2021-08-06 17:47:58] [INFO] : ======================================================================================
  85 +[2021-08-06 17:47:58] [INFO] : http://test.jmsf.diligrp.com:8385/entranceTrade/doPay.action
  86 +protocolId=&pwd=111111&clientRedirectTag=&viewType=pay&optType=0&optUrl=&correctInfo=1&weightType=1&id=3764&goodsId=3778&number=202108060900038&modified=2021-08-06%2017%3A47%3A48&status=2&source=1&updateFeeItems=&correctDiscount=1&totalAmount=800&customerId=389&fundAccount=105847&ic=888810032426&customerName=%E9%95%BF%E6%AD%8C%E4%B9%B0%E5%AE%B6%E7%9C%81%E5%86%85%E5%95%8A%E5%95%8A%E5%95%8A%E5%98%BF&customerPhone=18011501258&payway=%E5%88%B7%E5%8D%A1&plate=%E5%B7%9DB00001&autocomplete-cartype=003%28%E6%9D%BF%E8%BD%A6%29&carTypeName=%E6%9D%BF%E8%BD%A6&carTypeCode=003&carTypeId=53&carTypeWeight=333&storeTareWeight=&proveType=1621&grossWeight=353&tareWeight=333&weight=20&goodsNum=&itemWeight=&productPrice=1.00000&unitPrice=100.0&depName=%E6%8E%A5%E8%BD%A6%E9%83%A8&calcDepId=103&dep=103&regionName=A1%E5%8C%BA&regionId=72&productName=%E9%9B%AA%E8%8E%B2%E6%9E%9C&productId=14158&productArea=%E9%87%8D%E5%BA%86%2C%E9%87%8D%E5%BA%86%E5%B8%82%2C%E4%B8%87%E5%B7%9E%E5%8C%BA&parentId=&levelType=&originId=500101&tradeTypeId=71&chargeTotalAmount=800&chargeTotalAmountYuan=8&freezeMoneySymbol=13&comparisonFreezeAmount=13&created=2021-08-06%2017%3A47%3A48&remark=&goodsTagIds=1900&marketFlag=sy&totalMoney=800&receivable=1300&collectionPrice=0&discountAmount=500&handReceivableAmount=0&itemReceivableAmount=1300&shareRatio=0&handlingTeam=&handActualAmount=0&handManageAmount=0&handCollectionAmount=0&receivableAmount=1300&categoryName=%E6%B0%B4%E6%9E%9C&categoryId=53&driverTel=&grossWeightDate=2021-08-06%2017%3A47%3A47&tareWeightDate=2021-08-06%2017%3A47%3A47&grossPathName=&grossPathId=&tarePathId=&goodsRemark=&inGreeterName=&inGreeterId=0&outGreeterId=&sumPrice=2000&shipperName=&shipperId=&shipperPhone=&feeDepName=&calcFeeDepId=&feeDepId=&accountId=105847&correctDiscount=1&billItems=&billItemsDic=&billItemCheckIds=103&103=10.00&billItems=%7B%22discount%22%3A500%2C%22id%22%3A103%2C%22name%22%3A%22%E4%BA%A4%E6%98%93%E7%AE%A1%E7%90%86%E8%B4%B9%22%2C%22receivable%22%3A1000%2C%22require%22%3A1%7D&billItemDicCheckIds=105&billItemsDic=%7B%22discount%22%3A0%2C%22id%22%3A105%2C%22name%22%3A%22%E4%BC%98%E6%83%A0%E6%94%B6%E8%B4%B9%22%2C%22receivable%22%3A500%2C%22require%22%3A0%7D&billItemCheckIds=106&106=3.00&billItems=%7B%22discount%22%3A0%2C%22id%22%3A106%2C%22name%22%3A%22%E6%A3%80%E6%B5%8B%E8%B4%B9%22%2C%22receivable%22%3A300%2C%22require%22%3A1%7D
  87 +{}
13 88  
... ...
testcase/test_ZC/demo.py
... ... @@ -8,10 +8,4 @@
8 8 """
9 9  
10 10 """
11   -import json
12   -import urllib
13   -import urllib.parse
14 11  
15   -
16   -a = None
17   -print(urllib.parse.urlencode(None))
... ...
testcase/test_ZC/test_ZCBasic.py
... ... @@ -2,7 +2,7 @@
2 2  
3 3 # @Time : 2021/8/6 16:29
4 4 # @Author : Ljq
5   -# @File : test_getCarType.py
  5 +# @File : test_ZCBasic.py
6 6 # @Software: PyCharm
7 7  
8 8 """
... ... @@ -17,8 +17,8 @@ from commons.MySession import my
17 17 from commons.api import entranceFeeBillList as eFBL
18 18 import time,random
19 19  
20   -class test_getCar(unittest.TestCase):
21   - """整车-整车进门单创建"""
  20 +class test_ZCBasic(unittest.TestCase):
  21 + """整车-创建整车进门单基础信息接口测试"""
22 22 def setUp(self) -> None:
23 23 pass
24 24  
... ...
testcase/test_ZC/test_ZCCreate.py 0 → 100644
  1 +# -*- coding: utf-8 -*-
  2 +
  3 +# @Time : 2021/8/6 17:49
  4 +# @Author : Ljq
  5 +# @File : test_ZCCreate.py
  6 +# @Software: PyCharm
  7 +
  8 +"""
  9 +整车进门但创建测试
  10 +"""
  11 +
  12 +class test_ZCCreate(unittest.TestCase):
  13 + """整车-创建整车进门单基础信息接口测试"""
  14 + def setUp(self) -> None:
  15 + pass
  16 +
  17 + def tearDown(self) -> None:
  18 + pass
  19 +
  20 +
  21 + @classmethod
  22 + def setUpClass(cls) -> None:
  23 + cls.gatewayHost = rC.returnOptionsItems("host", "gatewayHost")
  24 + cls.jmsfHost = rC.returnOptionsItems("host", "jmsfHost")
  25 +
  26 + @classmethod
  27 + def tearDownClass(cls) -> None:
  28 + pass
0 29 \ No newline at end of file
... ...