Skip to content
This repository has been archived by the owner on Mar 22, 2022. It is now read-only.

Gatling 3.4 compatibility #28

Open
arthur25000 opened this issue Jan 11, 2021 · 4 comments
Open

Gatling 3.4 compatibility #28

arthur25000 opened this issue Jan 11, 2021 · 4 comments

Comments

@arthur25000
Copy link

arthur25000 commented Jan 11, 2021

Hello.

Not sure if this project is still maintain but if anyone needs it, here is a patch for Gatling 3.4.2 compatibility :
support_for_gatling_3_4.patch.txt

I'd have created a PR but I'm not allowed to create a branch.

These modifications are NOT tested thoroughly, I've just made modification so that the project compile against Gatling 3.4.2 and tested that sending a message to a kafka queue is working (check the BaseSimulation example)

In case anyone needs the sources, I've forked this repository and push the modification to a branch named gatling-3.4 : https://github.com/arthur25000/gatling-kafka/tree/gatling-3.4

@dekideian
Copy link

dekideian commented Feb 6, 2021

Hey Arthur, thx for this message and your work. Built the project you changed, however the jar does not get generated. any clues ?

@arthur25000
Copy link
Author

Hi.
What command did you run ?

You have to run "package" phase to build the jar, not just the compile phase : "sbt compile package"

@dekideian
Copy link

Hey Arthur,

Thanks for the response, I finally got it running by using the exact version you suggested (3.4.2) of gatling.
When the jar was not generated I had scala 2.13 installed.
With scala 2.12 the jar was generated(with sbt assembly) and by using gatling 3.4.2 messages reached Kafka. Thank you very much Arthur! :) It's a shame you can't open a branch here on mnogu for this change..

Best regards 👍

@testworksau
Copy link

It's a shame you can't open a branch here on mnogu for this change..

@arthur25000 you'll have to create a fork of this repo, make your change in a new branch in your fork, and then raise a PR back to this repository. This workflow is quite common in open source repos.

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

No branches or pull requests

3 participants