You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

102 lines
3.0 KiB

config:
name: 代卖流程
teststeps:
-
name: app用户密码登录获取token
api: api/login/app_login_password.yml
extract:
- apptoken: content.data.token
-
name: 销售登录后台获取token
api: api/login/ldap_login_password.yml
extract:
- token: headers.Authorization
-
name: app用户获取纸厂id
api: api/consignment_process/app_get_papermillpapercategorypricelist.yml
variables:
apptoken: QNT $apptoken
extract:
paperMillId: content.data.records.1.paperMillId
-
name: app用户获取纸厂品类id
api: api/consignment_process/app_get_papercategory.yml
variables:
apptoken: QNT $apptoken
paperMillId: $paperMillId
extract:
paperCategoryId: content.data.1.id
-
name: app用户创建代卖订单,获取订单id,销售收到钉钉
api: api/consignment_process/app_proxysell_create_order.yml
variables:
apptoken: QNT $apptoken
paperCategoryId: $paperCategoryId
extract:
orderId: content.data.orderId
-
name: app用户拒绝预约代卖订单,销售收到钉钉
api: api/consignment_process/app_proxysell_cancel_reservation.yml
variables:
apptoken: QNT $apptoken
orderId: $orderId
-
name: 销售获取后台纸厂供应商id
api: api/consignment_process/admin_paperMill_get_papermilldetails.yml
variables:
token: $token
paperMillId: $paperMillId
extract:
millSupplierId: content.data.millSupplierNameList.1.merchantAccountId
-
name: 销售上传代卖预约信息
api: api/consignment_process/admin_proxysell_update_reservation.yml
variables:
token: $token
millSupplierId: $millSupplierId
scrapeOrderId: $orderId
-
name: 销售查看订单详情获取订单项id
api: api/consignment_process/admin_proxysell_get_proxyorder.yml
variables:
token: $token
orderId: $orderId
extract:
orderItemId: content.data.orderItems.0.id
-
name: 销售上传代卖磅单信息
api: api/consignment_process/admin_proxysell_save_weightnote.yml
variables:
token: $token
orderItemId: $orderItemId
-
name: 销售查看订单详情获取磅单id
api: api/consignment_process/admin_proxysell_get_proxyorder.yml
variables:
token: $token
orderId: $orderId
extract:
weightNoteId: content.data.orderItems.0.weightnoteInfo.id
-
name: 销售提交榜单审核,运营收到钉钉
api: api/consignment_process/admin_proxysell_audit_weightnote.yml
variables:
token: $token
weightNoteId: $weightNoteId
-
name: 运营获取审核列表
api: api/consignment_process/admin_operation_get_papermillorderreceiptaudit.yml
variables:
token: $token
extract:
auditRequestId: content.data.records.0.auditRequestId
-
name: 运营审核,审核不通过销售收到钉钉
api: api/consignment_process/admin_operation_audit.yml
variables:
token: $token
isPass: 2
auditRequestId: $auditRequestId