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

Allow QuarkusTest to override base URL of REST client #114

Closed
snowdrop-bot opened this issue Jun 23, 2020 · 0 comments
Closed

Allow QuarkusTest to override base URL of REST client #114

snowdrop-bot opened this issue Jun 23, 2020 · 0 comments

Comments

@snowdrop-bot
Copy link
Collaborator

As discussed on Zulip it could be useful if a test could override the base URL of a given REST client.

One use case (as discussed on Zulip) would be for a PACT consumer test, where the test invokes some method on a REST client (directly or indirectly through some service in the application under test), which in turn should direct its request to some PACT mock server, which records the request and returns a canned response.

As a workaround the test currently has to create a REST client manually using RestClientBuilder.


quarkusio#10126


$upstream:10126$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants