Forum Discussion
Hello htereshchenko
What seems to be the problem? Do you get some error message that states you could not dump a response file? What is your dump file and where did you specify it?
There are a few locations on a response for a "dump" file... Right clicking in the "JSON" tab of the response allows you to "Save as..." Is that what you consider a dump file? Right clicking in the "http log" along the bottom of the generally available tabs yields an "Export to File" menu item. Is that what you consider a dump file? We can advise with a little more help from you on where you specified the dump file at.
Running your test from a command line will produce a file of request/response for every RESTfull request in the test that is run. You could consider those a dump file.
Those are the locations for dump files that I can think of. Whenever I need a dump file, I choose to write a groovy script that takes the response (or raw response) and write it to a file...
def response = context.expand( '${HTTP Request Step#Response}' );
log.info "response=>" + response.toString() + "<";
{write response string to file}
Regards,
Todd
Thank you for the quick turnaround on my request, Todd.
My dump file is "ValuationResponse.txt" located at H:\Downloads and I specified it in the In the "Request Properties" panel window scroll down to the property "Dump File" property of the he "Request Properties" panel. So, my expectation is that upon executing the test cases comprising the Rest request where "Dump File" property is specifies, the full response (being displayed in the Raw view on the Response panel) will be saved to the file "ValuationResponse.txt".
But it's not the case and the file "ValuationResponse.txt remains empty.
See attachment,
Regards,
Hennadiy