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

Need a way to pass parameters to the load tests #2

Open
rocketraman opened this issue Jan 19, 2024 · 0 comments
Open

Need a way to pass parameters to the load tests #2

rocketraman opened this issue Jan 19, 2024 · 0 comments

Comments

@rocketraman
Copy link

My test class starts up my application server for the load test. However, it starts up on a random port. I need a way to send this port to my k6 tests so that it can connect to the app.

It seems like environment variables would be the way to go here, and the TestContainers withEnv function would work great, but it doesn't seem to be exposed in the DSL.

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