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

Use Java system properties to retrieve baseUrl value in src/test/java/karate-config.js #1

Open
riyadshauk opened this issue Feb 19, 2021 · 0 comments

Comments

@riyadshauk
Copy link

It would be nice if you would show an example of using Java system properties (maybe from application.properties or application-test.properties?) to retrieve the value of baseUrl in src/test/java/karate-config.js, so that it could possibly be retrieved based on set environment variables during a CI/CD pipeline stage when running tests.

I saw https://github.com/intuit/karate#dynamic-port-numbers but it wasn't immediately obvious why that didn't work on a first attempt for me.

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