Hi, gatling community!
I have the next question.
Why are the classes I linked to the project in the gatling module not available when adding a dependency to the gradle?
For example, gradle build file is:
plugins {
id 'java'
id 'io.gatling.gradle' version '3.7.6.2'
}
repositories {
mavenCentral()
}
gatling {
logLevel = 'WARN'
logHttp = 'NONE'
}
I wanna add to my project library Gson to work with JSON (read, write, create new files and pass them as a raw payload file). So I add to build file dependencies block like this one:
dependencies {
implementation "com.google.code.gson:gson:2.9.0"
}
After I’m going to my module and I can’t to use this functionality:
my-gatling-performance-test-project--
|--load-test-module
--|--src
----|--gatling
------|-- // I can't use gson library here
----|--main
------|-- // I can use gson library (but when I try use these classes from gatling module above - links doesn't works. System says that classes not found)
----|--test
------|-- // I can use gson library (but when I try use these classes from gatling module above - links doesn't works. System says that classes not found)
How to use dependent libraries inside gatling module?
Thanks!