Thanks Ben for the quick response.Let me clarify my question -
We are interfacing an Odata Service. Since most of the threat protection policies cannot be applied since they would fail for Odata, we decided to use the Validate OData Request assertion available among the Threat protection assertions.
The Odata policy is failing if there is an $expand parameter. Ex - $expand=CustomerName&$format=json.
The error we are seeing is -
20160512 20:38:52.823 | WARNING | | 10601 | Could not parse OData resource path: Could not find property with name: 'CustomerName'. |
But the metadata is correct & has defined the CustomerName. The context variables are not getting populated when the assertion fails.
Thanks,
Abhishek