Hi,
I was trying to load an XML file in scala codes to get the configurations needed to set the Scenarios.
However, no matter how i try, my Simulation class is not able to find the xml file.
I need to specific absolute path which is not what i want.
How can i specify relative path to get the xml file?
val suitesXml = XML.load(“scenario_suites.xml”)
val nodes = (suitesXml \ “suites” \ “suite”)
The path directory
target->
test-classes->
xxx.xxx.xxx packages->
MySimulationClass.scala
data->
feeders.csv
scenaro_suites.xml
pom.xml
src/test/resources/data
src/test/scala
target/gatling/results