Hi,
This is Nivedita Rawat from Credit saison ,i am exploring the gatling open source in my real time scenario for rest assured apis. so getting one error while running the engine class.
“Caused by: java.lang.NullPointerException: Cannot invoke “java.net.URL.toURI()” because the return value of “java.lang.ClassLoader.getResource(String)” is null
at IDEPathHelper$.(IDEPathHelper.scala:5)”
I have used the scala as a programming language
First thing first, you should go with Gatling Java and not Gatling Scala, unless you’re a Scala developer.
Then:
make sure you’re using the latest Gatling version
make sure your project has the same set up as our official samples (I’m pretty sure that’s not the case as line 5 in IDEPathHelper.scala is an empty line.
Why?
You don’t seem to be a Scala developer, otherwise you would be able to troubleshoot this kind of issues yourself.
You would save lots of trouble if you were going with Java.