Reputation: 81
I am using SOAPUI and for one of my requests I set a dump file location. This works and a file is generated there.
The issue comes when I try to open the file. I have tried saving it as .txt
, .pdf
, and .png
just for good measure.
If I save it as a .txt
, when I open it all I see is gibberish.
When I save it as .pdf
(.png does the same thing), I get an error when I try to open it saying it's either damaged or not the correct format.
Here is my dumpfile path C:/logfiles/log.pdf
What do I need to do to open this file and see the contents correctly?
Upvotes: 2
Views: 3045
Reputation: 21389
If you are using SOAP Request
type, the response would in xml format. So, you can have the file extension as .xml
as shown below in the image.
On the extreme right side of the image, what you see is not gebbrish
, may be you got that feeling because of <
, >
. Those are just <
, >
respectively.
REST Request
type, the response can be either in .xml
or .json
. So, use the appropriate file extension accordingly.Hope this is helpful.
Upvotes: 2