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

OpenAPI: Need a way to specify the test server URI at runtime #192

Closed
kerrykimbrough opened this issue Jun 25, 2021 · 2 comments
Closed

Comments

@kerrykimbrough
Copy link
Contributor

For the base URI, Tcases uses the first element of the servers property defined by the OpenAPI document. But it's reasonable to expect that the servers array could list different URIs for different test environments. In which case, it would be helpful to have a way to select the one to use for the generated test, using a parameter specified at runtime. It's also possible that the server needed for the generated test is not listed in the servers array. In which case, it would be helpful to have a runtime parameter to specify the server URI directly.

@kerrykimbrough
Copy link
Contributor Author

Resolved by PR #193. Documentation details TBD.

@kerrykimbrough
Copy link
Contributor Author

Now available in release 3.6.3. For details, see the release notes.

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

1 participant