bmgriner
15 years agoFrequent Contributor
Loading Property Files Remotely
I have loaded a SoapUI project by using the "Import Remote Project" feature. When I tried to run it the first problem I am noticing is an error trying to load a property file.
Failed to load properties from [${projectDir}/SOME_PROPERTY_FILE.properties]; java.io.IOException: Server returned HTTP response code: 401 for URL: http://SOME_HOST/SOME_PATH/trunk/src/test/soapui\SOME_PROPERTY_FILE.properties
The path to the file in my project is ${projectDir}/SOME_PROPERTY_FILE.properties and this is what I have in the property file step. I have also set up the resources directory for the project to be ${projectDir}.
The problem is as simple as the backward slash '\' needs to be a forward slash '/' to match the url layout. I'm guessing that this would have worked if all the files were stored locally on my box because the os might accept either, but urls are not so flexible.
I'm going to go look in the settings file and see if I can find any way to change the default.
By the way. I am running this on Windows 7 with SoapUI 4.0.0.
Failed to load properties from [${projectDir}/SOME_PROPERTY_FILE.properties]; java.io.IOException: Server returned HTTP response code: 401 for URL: http://SOME_HOST/SOME_PATH/trunk/src/test/soapui\SOME_PROPERTY_FILE.properties
The path to the file in my project is ${projectDir}/SOME_PROPERTY_FILE.properties and this is what I have in the property file step. I have also set up the resources directory for the project to be ${projectDir}.
The problem is as simple as the backward slash '\' needs to be a forward slash '/' to match the url layout. I'm guessing that this would have worked if all the files were stored locally on my box because the os might accept either, but urls are not so flexible.
I'm going to go look in the settings file and see if I can find any way to change the default.
By the way. I am running this on Windows 7 with SoapUI 4.0.0.