testcontainers-go icon indicating copy to clipboard operation
testcontainers-go copied to clipboard

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

Open mdelapenya opened this issue 1 year ago • 2 comments

Proposal

E.g.

k6.WithTestScript("https://raw.githubusercontent.com/weesvc/workbench/main/scripts/api-compliance.js"),

mdelapenya avatar Feb 19 '24 13:02 mdelapenya

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?

bearrito avatar Mar 12 '24 21:03 bearrito

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 avatar Mar 13 '24 09:03 mdelapenya

Closing as completed

mdelapenya avatar Apr 08 '24 16:04 mdelapenya