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

Support listing registered stubs #33

Closed
pun-ky opened this issue Jun 26, 2020 · 1 comment
Closed

Support listing registered stubs #33

pun-ky opened this issue Jun 26, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@pun-ky
Copy link
Collaborator

pun-ky commented Jun 26, 2020

consider

@pun-ky pun-ky added the enhancement New feature or request label Jun 26, 2020
@pun-ky pun-ky changed the title Supporting listing registered stubs Suppor listing registered stubs Jun 26, 2020
@pun-ky pun-ky changed the title Suppor listing registered stubs Support listing registered stubs Jun 26, 2020
@marcinkp
Copy link
Collaborator

marcinkp commented Nov 5, 2020

under /stubs/__admin/mappings all mappings defined are returned

NOTE
If dynamic templating is used like

    stubFor(get(urlPathEqualTo("/templated-dynamic"))
            .willReturn(aResponse()
                    .withBody("{{parameters.date}}")
                    .withTransformerParameter("date", {new Date()})))

then functionality is not available

@marcinkp marcinkp closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants