Solved
Forum Discussion
3 Replies
- avidCoderSuper Contributor
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));
- Bala_1980Occasional Contributor
Thanks for the solution. The first one will help to solve the issue.
So, the SOAPUI tool does not have an option to store the response. Every time we need to run the test case and check the response.
Thanks.
-
- nmraoCommunity HeroYou may use Events feature to save the response
SubmitListener.afterSubmit() and add the code save the file. This way, you have better control where to save the responses dynamically in each run. Use /append timestamp for response file to be unique each time.