Hi All, I am using JMeter 5.3 and in my case while I am trying to fetch some value using JSON Extractor am able to get the proper value but in JMeter logs am getting below error. "2020-08-27 08:07:21,432 ERROR o.a.j.e.j.j.JSONPostProcessor: Error processing JSON content in topic_taskId, message: net.minidev.json.parser.ParseException: Unexpected End Of File position 8192: null" Can you guys please have a look.
Hello, Can you provide a sample JMX showing the problem ? Or at least provide: - the response in text format on which JSON Path is applied - The JSON Path expression and the configuration of extractor - The jmeter.log Thank you
Created attachment 37408 [details] JSON Extractor
the response in text format on which JSON Path is applied ===========================================================[ { "data": { "data": { "taskId": "123456", "direction": "gjhgjgvhjghjghvjgvhj" }, "sent_by": 23239869, "hdjshakd": { }, "dsacs": "asde", "dscssdcs": "ghjgjhggk" }, "cdscdscdsc": "778788hjghhghkhkj87878778" } ] The JSON Path expression and the configuration of extractor =========================================================== snap attached The jmeter.log ============== 2020-08-27 21:42:30,592 ERROR o.a.j.e.j.j.JSONPostProcessor: Error processing JSON content in taskId, message: net.minidev.json.parser.ParseException: Unexpected End Of File position 8192: null
Created attachment 37409 [details] Minimal test case (that doesn't show the behaviour) I can't reproduce the error, you got and I think you have other data on which you try to extract the taskId from. I guess that the data you are extracting from is exactly 8192 bytes long and ends before the JSON structure is finished. Please use a view results tree listener and have a look at the complete data on the sampler, that is not working (well, the extractor, that clings on to the sampler).
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5393