Forum Discussion
abers29
16 years agoOccasional Contributor
Hi,
I didnt know how docroot file could be configured.
By going on SOAPUI forum, I found following information :
the folder specified will be used as a root folder for returning files from the file-system, so if you put a file in the c:\SoapUIResponses folder named "test.html" and then call your mockservice with a GET request to http://localhost://test.html it should return the test.html file.
Then, I changed url MOCK response in : http://172.25.185.50:8089/SoapUIResponses/test.html
Before that, I created C:\SoapUIResponses/test.html...
In MOCK response step configuration, I configured path as /SoapUIResponses/test.html too.....
but when I run, test.html file is not enhanced.....
May be I forgot somethings ?
Aber29
I didnt know how docroot file could be configured.
By going on SOAPUI forum, I found following information :
the folder specified will be used as a root folder for returning files from the file-system, so if you put a file in the c:\SoapUIResponses folder named "test.html" and then call your mockservice with a GET request to http://localhost://test.html it should return the test.html file.
Then, I changed url MOCK response in : http://172.25.185.50:8089/SoapUIResponses/test.html
Before that, I created C:\SoapUIResponses/test.html...
In MOCK response step configuration, I configured path as /SoapUIResponses/test.html too.....
but when I run, test.html file is not enhanced.....
May be I forgot somethings ?
Aber29