FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Captor of body · Issue #211 · SpectoLabs/hoverfly-java · GitHub

Captor of body #211

Description

Is your feature request related to a problem? Please describe.
As developer/tester, I want to use Hoverfly, so that I can capture value of body, after simulation.
I have simulation with anyBody parameter.
notificationRule.simulate(dsl(service("http://localhost:8060").post("/api/notification/send").anyBody().willReturn(success("Ok!", "charset=utf-8"))));

And I need to take exact value of that body during verify.
See Mockito Captor.

Describe the solution you'd like
It’s possible to create a Captor interface like Mockito

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL