Skip to content

Forward callbacks in capture mode #1161

@hertznsk

Description

@hertznsk

Thanks for the wonderful tool!

Is your feature request related to a problem? Please describe.

We lack the ability to forward callbacks in capture mode.

In our scenario, our application sends requests to a remote service by passing a callback url. After a while, the service sends a callback request, which should be sent to our application.

It would be convenient if we could capture this request to have sample responses for further implementation of postServeAction.

Describe the solution you'd like

Add the option -forward <source url> <target_url>.

Record requests and responses in a data structure similar to pairs.

Describe alternatives you've considered

Currently, we have to implement logging in the application or on an external reverse proxy, or study the documentation of an external service, which makes the preparation of the mock somewhat longer.

Additional context
No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions