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.

27 lines
847 B

name: 销售上传代卖预约信息
variables:
code: 200
message: successful
token: ${ENV(LDAPTOKEN)}
millDeliveryOrderId: "12345678910"
millSupplierId: 498227745344589800
scrapeOrderId: 501102486468300800
buyerReservationDate: "2020-09-10"
unitSurcharge: 0.01
base_url: ${ENV(BURL)}
request:
url: /recycle-service/admin/proxy-sell/update/reservation
method: POST
headers:
Content-Type: "application/json;charset=UTF-8"
X-APP-ID: "1"
Authorization: $token
json:
millDeliveryOrderId: $millDeliveryOrderId
millSupplierId: $millSupplierId
scrapeOrderId: $scrapeOrderId
buyerReservationDate: $buyerReservationDate
unitSurcharge: $unitSurcharge
validate:
- eq: ["status_code", $code]
- {"check": "content.message", "comparator": "contains", "expect": $message}