作者 dengyuting

fix1

name: 实际订单新增
base_url: ${ENV(base_manager_url)}
variables:
shipmentsId: '实发订单发货单号${get_nowtime()}'
orderId: '实发订单号${get_nowtime()}'
partnerID: 1047
commissionProportion: 5
orderNum1: 100
... ... @@ -19,8 +17,8 @@ request:
User-Agent: okhttp/3.12.3
Authorization: Bearer ${get_m_accesstoken()}
json:
orderId: $orderId
shipmentsId: $shipmentsId
orderId: '实发订单号${get_nowtime()}'
shipmentsId: '实发订单发货单号${get_nowtime()}'
partnerID: $partnerID
buyer: '客户名称${get_stringcode(5)}'
orderDist: '订单区域${get_stringcode(5)}'
... ...
... ... @@ -2,7 +2,6 @@ config:
name: COM001-新增实际订单
base_url: ${ENV(base_manager_url)}
variables:
shipmentsId: '实发订单发货单号${get_nowtime()}'
partnerID: 1047
commissionProportion: 5
orderNum1: 100
... ... @@ -35,9 +34,12 @@ teststeps:
extract:
- actual_id: content.data.gridResult.lists.0.id
validate:
# - eq:
# - content.data.gridResult.lists.0.shipmentsId
# - $shipmentsId
- eq:
- content.data.gridResult.lists.0.shipmentsId
- $shipmentsId
- content.msg
- ok
- name: 查看实际订单详情
variables:
... ...
... ... @@ -2,8 +2,6 @@ config:
name: ACT001-实际订单-各个值计算正确
base_url: ${ENV(base_manager_url)}
variables:
shipmentsId: '实发订单发货单号${get_nowtime()}'
orderId: '实发订单号${get_nowtime()}'
partnerID: 1047
commissionProportion: 5
orderNum1: 100
... ... @@ -31,9 +29,12 @@ teststeps:
extract:
- actual_id: content.data.gridResult.lists.0.id
validate:
# - eq:
# - content.data.gridResult.lists.0.shipmentsId
# - $shipmentsId
- eq:
- content.data.gridResult.lists.0.shipmentsId
- $shipmentsId
- content.msg
- ok
- name: 查看实际订单详情
variables:
... ...