jmeter 参数中包含多个参数

 
carLoanInfo
                            
                                { 
int CarLoanType 车贷类型 //子代车贷 = 8,个人车贷 = 9
string CompanyName 申请公司 (个人车贷可以传空)
string LegalName 法人、联系人
List CarInfo 车辆信息
}
CarInfo
                            
                                { 
string CarName 车名
string CarType 车类型
decimal UnitPrice 单价
string Supplier 提供商 }
返回
  • status
    //Int 类型,1为成功;其他为失败
返回样例
{ status = 1, data = 申请单号} 
 
传参:list 添加[]括号
{"CarLoanType":"9",%20"CompanyName":"携程",%20"LegalName":"周周",%20"IDNumber":"511002197103093912",%20"LegalMobile":"13745625412",%20"LocalPhone":"073145254152",%20"Term":"6",%20"CeditNO":"1234567890",%20"CompanyAddress":"上海浦东新区",%20"CarInfo":[{"CarName":"上海大众",%20"CarType":"suv",%20"UnitPrice":"15000.00",%20"PurchaseTax":"2000.00",%20"Insurance":"5000.00",%20"OtherFee":"123.41",%20"Quantity":"2",%20"Supplier":"大富豪"}]}
posted @ 2017-12-11 17:33  Ching-Ching  阅读(922)  评论(0编辑  收藏  举报