I have a response body like this:
{
"user" : [
{
"data" : {
"address" : {
"street" : "GIR",
"postcode" : "WC1"
},
"timeStamp" : "2016-12-03T12:56:30"
}
}
]
}
As part of "matchingRules" I'd like to add a bodyRegexRule which looks like this:
bodyRegexRule("user[].data.timeStamp", "")
But this fails to verify.
Whereas, if I have a bodyTypeRule like the following, it's fine:
bodyTypeRule("user[*].data.timeStamp")
I have a response body like this: { "user" : [ { "data" : { "address" : { "street" : "GIR", "postcode" : "WC1" }, "timeStamp" : "2016-12-03T12:56:30" } } ] } As part of "matchingRules" I'd like to add a bodyRegexRule which looks like this: bodyRegexRule("user[].data.timeStamp", "")
But this fails to verify.
Whereas, if I have a bodyTypeRule like the following, it's fine: bodyTypeRule("user[*].data.timeStamp")
The headerRegexRule seems to be working fine.