ACT005_actual_delivery_repeat_testcases.yml
750 字节
config:
name: ACT005-订单唯一性校验:新增发货单号重复的实际订单,可以新增成功
base_url: ${ENV(base_manager_url)}
variables:
partnerID: ${ENV(partnerId)}
commissionProportion: 5
orderNum1: 100
univalence: 15
partnerRatio: 10
orderNum2: 200
shipmentsId: '实发订单发货单号${get_stringcode(5)}'
# univalence2: 15
# partnerRatio2: 20
teststeps:
- name: 新增实际订单
testcase: testcases/common/COM001_actual_add_testcases.yml
- name: 新增实发订单
variables:
saleDate: ${get_today()}
api: api/m_api/actual/m_add_order_actual_api.yml
validate:
- eq:
- content.msg
- ok