I am trying to read data from csv file for my patch and delete requests. I am not adding a csv file by myself, it is getting generated after the completion of my post requests in the build folder with the path resources/test/data/"****".csv . Earlier when I was using dependencies as follows, it was working fine:-
testCompile group: 'io.gatling.highcharts', name: 'gatling-charts-highcharts', version: '2.2.5'
testCompile 'org.scala-lang:scala-library:2.11.12'
compile "org.scalaj:scalaj-http_2.11:2.3.0"
compile group: 'com.github.tototoshi', name: 'scala-csv_2.11', version: '1.2.2'
But now when i updated my application as follows :-
testCompile group: 'io.gatling.highcharts', name: 'gatling-charts-highcharts', version: '3.3.1'
testCompile 'org.scala-lang:scala-library:2.12.10'
compile "org.scalaj:scalaj-http_2.11:2.4.2"
compile group: 'com.github.tototoshi', name: 'scala-csv_2.12', version: '1.3.6'
it is giving me the error as
Caused by: java.lang.IllegalArgumentException: Could not locate feeder file: Resource ******.csv not found
at io.gatling.core.feeder.FeederSupport.separatedValues(FeederSupport.scala:45)
at io.gatling.core.feeder.FeederSupport.separatedValues$(FeederSupport.scala:40)
at io.gatling.core.Predef$.separatedValues(Predef.scala:24)
at io.gatling.core.feeder.FeederSupport.csv(FeederSupport.scala:34)
at io.gatling.core.feeder.FeederSupport.csv$(FeederSupport.scala:33)
at io.gatling.core.Predef$.csv(Predef.scala:24)