Bala_1980
6 years agoOccasional Contributor
Save REST response in soapui iteself i.e not to the external file
Hi, I want to save the REST repose/s in the SOAPUI itself and not to the external file. Because I am creating project/suite/TC etc., whenver i want i have to refer the responses. Is it possible?, Thanks in Advance
You can try this way :-
-
Select the request you want to store responses from.
In the "Request Properties" panel window scroll down to the property "Dump File", and enter a path for "Dump File". - And later on you can leverage property expansion to make path dynamic.
This is the only way you can save it. Though it also save the file to your local folder only but it will be dynamic.
And another way is to use the external file to load it using file handle :-
File file = new File("C:\\Users\\avidCoder\\Desktop\\response.txt"); BufferedReader br = new BufferedReader(new FileReader(file));
-