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 "WireMock Scenarios" feature #2

Open
otrosien opened this issue May 23, 2016 · 1 comment
Open

Support "WireMock Scenarios" feature #2

otrosien opened this issue May 23, 2016 · 1 comment

Comments

@otrosien
Copy link
Contributor

At the moment it is possible to generate wiremock snippets that both document error scenarios and success scenarios for the same URL path. Later on the client the behaviour is non-deterministic on which of these snippets are getting used.

We need a way (like tagging the wiremock snippets) that let's the client specify which of these snippets to use as part of the fixture setup. If that is not possible, either reject or warn when user wants to generate two wiremock snippets of the same URL path.

@otrosien
Copy link
Contributor Author

otrosien commented Jul 1, 2016

Note to self: At the moment we solve this using the spring-boot-starter. On test method level, you can read in a subset of json snippets that you need for your tests.

We should nevertheless look into the "scenarios" feature of wiremock.

@otrosien otrosien changed the title Solve ambiguous snippets for the same urlPath Support "WireMock Scenarios" feature Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants