使用Web协议重播期间loadrunner中的错误请求(400)错误

时间:2018-05-14 09:34:03

标签: loadrunner

我的脚本中出现以下请求的400错误。尝试添加所有标题..但不起作用...任何建议请..

web_custom_request("submit", 
    "URL=" application URL", 
    "Method=POST", 
    "TargetFrame=", 
    "Resource=0", 
    "RecContentType=application/json", 
    "Snapshot=t5.inf", 
    "Mode=HTML", 
    "EncType=application/json;charset=utf-8", 
    "Body={\"loan\":{\"borrow\":10000,\"reason\":\"09\"},\"identity\":{\"firstName\":\"Deseriee\",\"lastName\":\"Argue\",LAST);

1 个答案:

答案 0 :(得分:0)

添加标签" EncType = application / json"