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

[Bug]: Unable to run gatling tests using gradlePlugin within pod #121

Open
1 task done
andrzejmikolajczakds opened this issue Jun 18, 2024 · 3 comments
Open
1 task done
Labels
bug Something isn't working

Comments

@andrzejmikolajczakds
Copy link
Contributor

Pre-requisites

  • I'd like to contribute the fix myself

What happened/what you expected to happen?

Created pod can not run task gatlingRun-MY_CLASS_NAME.
It is because of wrong placeholder here.
According to documentation it should be:
gradle gatlingRun --simulation MY_CLASS_NAME

Relevant log output

No response

@andrzejmikolajczakds andrzejmikolajczakds added the bug Something isn't working label Jun 18, 2024
@kane8n
Copy link
Contributor

kane8n commented Jun 18, 2024

@andrzejmikolajczakds
Thank you for creating the issue!
This is similar to the following PullRequest.

The current implementation works with gatling 3.10, but not with 3.11 as you mentioned.
The standard ---simulation CLASS_NAME option is enforced in gatling 3.11.

Until 3.10, it was gatlingRun-MY_CLASS_NAME.

There are plans to make gatling-operator compatible with gatling 3.11, but the timing is not yet determined.

@andrzejmikolajczakds
Copy link
Contributor Author

So maybe we could update doc: https://github.com/st-tech/gatling-operator/blob/main/docs/user-guide.md#create-custom-gatling-image-with-gradle-gatling-plugin . There is a link to sample repo, which uses gatling 3.11

@kane8n
Copy link
Contributor

kane8n commented Jun 19, 2024

@andrzejmikolajczakds
Please submit a PullRequest for document updates and we will review it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants