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

[Enhancement] [k6]: Retrieve test script from a URL #2246

Closed
mdelapenya opened this issue Feb 19, 2024 · 3 comments
Closed

[Enhancement] [k6]: Retrieve test script from a URL #2246

mdelapenya opened this issue Feb 19, 2024 · 3 comments
Labels
enhancement New feature or request good first issue Want to contribute to testcontainers? Start from here

Comments

@mdelapenya
Copy link
Member

Proposal

E.g.

k6.WithTestScript("https://raw.githubusercontent.com/weesvc/workbench/main/scripts/api-compliance.js"),
@mdelapenya mdelapenya added good first issue Want to contribute to testcontainers? Start from here enhancement New feature or request labels Feb 19, 2024
@bearrito
Copy link
Contributor

I can grab this as well. Is the main change here that we are retrieving a remote resource rather than using a local test file?

@mdelapenya
Copy link
Member Author

Yes, this is the exact use case. I'd add support for allowing basic auth in case users want to fetch a resource from a private repository

@mdelapenya
Copy link
Member Author

Closing as completed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Want to contribute to testcontainers? Start from here
Projects
None yet
Development

No branches or pull requests

2 participants