Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with bodyRegexRule #100

Open
gokcekoyun opened this issue Aug 17, 2018 · 0 comments
Open

Issue with bodyRegexRule #100

gokcekoyun opened this issue Aug 17, 2018 · 0 comments
Labels

Comments

@gokcekoyun
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants