mneiferbag
9 years agoContributor
Can I use relative path in SoapUI NG data source test step?
Hi, with the data source test step in SoapUI NG, is there any way to specifiy a filename relative to the directory of the project file? Ideally I would like to write something like ${ProjectDirectory}/myExcel.xlsx to avoid using absolute paths.
I'm using Ready! API 1.5.0.
Thanks in advance.
Select your project from the navigator pane, and in 'Project Properties', set the Resource Root to ${projectDir} and that should do the trick. I don't even think you need to pass the variable, you could just do myExcel.xlsx
I should clarify, I believe this sets the 'root' to the directory where your project is saved.