ACT009_actual_repeat2_testcases.yml
787 字节
config:
name: ACT009-订单唯一性校验:只有发货单号不一致,可以新增成功
base_url: ${ENV(base_manager_url)}
variables:
partnerID: 1047
commissionProportion: 5
orderNum1: 100
univalence: 15
partnerRatio: 10
orderNum2: 200
orderId: '实发订单号${get_stringcode(5)}'
# shipmentsId: '实发订单发货单号${get_stringcode(5)}'
productName: 产品名称${get_stringcode(5)}
# univalence2: 15
# partnerRatio2: 20
teststeps:
- name: 新增实际订单
testcase: testcases/common/COM001_actual_add_testcases.yml
- name: 新增实发订单
api: api/m_api/actual/m_add_order_actual_api.yml
validate:
- eq:
- content.msg
- ok