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

Read scenario config during execution #4600

Open
ihsaddamhussain opened this issue Mar 3, 2025 · 0 comments
Open

Read scenario config during execution #4600

ihsaddamhussain opened this issue Mar 3, 2025 · 0 comments
Assignees
Labels

Comments

@ihsaddamhussain
Copy link

I am passing scenarios via config file and run the test as

k6 run ./scripts/myScript.js  -c ./scenario/ramping-rate.json

How do I read the values of scenario during run time. I don't get anything under options.scenarios in Init or default function
Is there a way that k6 allow to read the config file ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants