We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Since upgrading to artillery 2.0.20, we are unable to set the target to be '{{ $env.TARGET_ENDPOINT }}' when running with fargate.
We always get the error No target specified and no environment chosen
No target specified and no environment chosen
Version info:
artillery 2.0.20
Running this command:
artillery run-fargate --region us-east-1 --cluster artillery --launch-type ecs:fargate --environment staging --output report.json artillery_admin_api.yaml --launch-config { "environment": [ {"name": "TARGET_ENDPOINT", "value": "https://hello.com"} ], "cpu": "1024", "memory": "2048" } --count 1
I expected to see this happen:
Artillery should take the env from launch config to set the target and then run the load testing in a fargate artillery cluster as expected
Instead, this happened:
Files being used:
config: target: '{{ $env.TARGET_ENDPOINT }}' environments: staging: phases: # load/change or increase number of workers as per expected traffic - duration: 100 arrivalRate: 2 rampTo: 5 production: phases: - duration: 300 arrivalRate: 2 rampTo: 15 scenarios: ....
Workaround: Either need to set TARGET_ENDPOINT env var or use -t option in the command to get the fargate runner to work
The text was updated successfully, but these errors were encountered:
Thanks for the bug report @emmaLP, I'll try to reproduce!
Sorry, something went wrong.
No branches or pull requests
Since upgrading to artillery 2.0.20, we are unable to set the target to be '{{ $env.TARGET_ENDPOINT }}' when running with fargate.
We always get the error
No target specified and no environment chosen
Version info:
Running this command:
I expected to see this happen:
Artillery should take the env from launch config to set the target and then run the load testing in a fargate artillery cluster as expected
Instead, this happened:
Files being used:
Workaround:
Either need to set TARGET_ENDPOINT env var or use -t option in the command to get the fargate runner to work
The text was updated successfully, but these errors were encountered: