I ran into a situation where Im trying to build one job on jenkins and in that job Gatling will write some IDs to a .csv file and that file Im going to use to be passed as a feeder file into the downstream job.
e.g Job 1 : gatling will write to a csv file xyz.csv
job 2: will have that xyz.csv file copied to the workspace on job 2 and then copy it to the resource path,
in this we can see the JOB 2’s resource path has the xyz.csv file copied however while compiling that it throws below error:
10:31:13.675 [ERROR] i.g.a.Gatling$ - Run crashed java.lang.IllegalArgumentException: Could not locate feeder file: Resource src/test/resources/data/reportIDsFeeder.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) at com.Delete_Report.(Delete_Report.scala:13) … 10 common frames omitted
what could possible go wrong here?
Thanks in advance.