Jmeter为Blaze仪表记录投掷500个无效字符错误

时间:2018-06-12 10:29:13

标签: jmeter

我在Blazemeter录制中运行测试时遇到错误,下面是我收到错误的示例请求和响应。

错误讯息:"无效字符'%'在输入字符串"

Thread Name: Thread Group 1-1
Sample Start: 2018-06-12 15:46:29 IST
Load time: 1239
Connect Time: 1073
Latency: 1238
Size in bytes: 448
Sent bytes:730
Headers size in bytes: 305
Body size in bytes: 143
Sample Count: 1
Error Count: 1
Data type ("text"|"bin"|""): text
Response code: 500
Response message: Invalid character '%' in input string

要求: POST数据:

  

%7Bitems%3A%5B%70亿%3A%27AuthenticationChannel.PrepareSessionForLogin%27%2Cps%3A%5B%70亿%3A%27request%27%2CV%3A%7B%22userName%22%3A%22settele%22% 7D%7D%5D%7D%5D%7D =

[没有饼干]

请求标题: 连接:保持活力 接受:application / json 来源:https://crmtest *。*********.de x-redirect:客户端 x-request:channelrpc; version = 1.0 Content-Type:application / json 推荐人:https://********.********.de/******/****/***** 用户代理:Mozilla / 5.0(Windows NT 6.3; Win64; x64)AppleWebKit / 537.36(KHTML,类似Gecko)Chrome / 67.0.3396.79 Safari / 537.36 Accept-Language:en-US,en; q = 0.9 Accept-Encoding:gzip,deflate,br 内容长度:161 主持人:****测试*。**********。**

我缺少哪里成功运行?

谢谢&问候, 开发

1 个答案:

答案 0 :(得分:0)

好像你发布请求有一些问题。仔细检查发布请求。我已经在json验证器中检查了你的请求,它显示了它的问题。

enter image description here

我使用了解码请求。

希望它有所帮助。