Closed alshenetsky closed 4 years ago
It's not possible at the moment, but it will once Matcher Chaining is implemented; https://github.com/SpectoLabs/hoverfly/issues/761
What is the status of this issue? I have the same need.
As I understand, now it's only a matter of the RequestMatcherBuilder. I've tested in the hoverfly rest api and multiple matchers are supported. It address that by an "and" operator between them.
Thanks!
@jhigueras good for pointing that out. It's different from the matcher chaining one where it takes the result from the previous matcher and do further matching.
we already support multiple matchers so I can update the DSL this week.
done, it's supported in 0.13.1-SNAPSHOT
Is there any possibility to match by multiple rules? Like
to match both
.body( )
conditions