ERROR o.a.j.e.j.j.JSONPostProcessor: net.minidev.json.parser.ParseException: Malicious payload, having non natural depths

Volodymyr Martynenko 25 Reputation points
2023-05-25T14:53:58.91+00:00

Hi,

since yesterday evening I've started seeing the following exception

ERROR o.a.j.e.j.j.JSONPostProcessor: net.minidev.json.parser.ParseException: Malicious payload, having non natural depths

when running my Azure Load Tests. It only occurs for big responses, especially the ones including JSONs with multiple nesting levels.
Previously everything was working fine and when I run my test locally this exception doesn’t occur.
I've found an article - https://github.com/karatelabs/karate/issues/2277 saying that there were some limitations introduced to the library net.minidev.json which is used by this extractor. Also it is described in https://libraries.io/maven/net.minidev:json-smart

Please, kindly assist in resolving the issue.

Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
40 questions
{count} votes