k3nsou
15 years agoOccasional Contributor
using relative path in soapui
Hello everyone, I'm encountering a problem concerning the way I write my directory path.
Actually, I'm using soapui Api to launch my test using Junit. The problem is that I'm trying to use a file which is in the workspace of my project.
the xml file of the SOAPUI project is in the following directory : src/ressources/soapui-project/soapui-project.xml
In my soapui project I'm trying to use a file which is located in src/ressources/data
So using soapui ui I've specified the path of the file I want to use with the following description : ../../data/myfile.
I don't know if I explained that correctly but the point is that I can't write relative path like ./src/.. in soapui and I'm obliged to write an absolute one (d:/workspace/myproject...) which is not what I want.
So I want to know if it's possible to write a relative path in soapui ?
Actually, I'm using soapui Api to launch my test using Junit. The problem is that I'm trying to use a file which is in the workspace of my project.
the xml file of the SOAPUI project is in the following directory : src/ressources/soapui-project/soapui-project.xml
In my soapui project I'm trying to use a file which is located in src/ressources/data
So using soapui ui I've specified the path of the file I want to use with the following description : ../../data/myfile.
I don't know if I explained that correctly but the point is that I can't write relative path like ./src/.. in soapui and I'm obliged to write an absolute one (d:/workspace/myproject...) which is not what I want.
So I want to know if it's possible to write a relative path in soapui ?