I'm looking for a code which let me save rest service Element View response in some txt file.
WRITE TO FILE
You typically use the "Write File" tool to write files. However, if you are needing to pass an XML element value from one test case to another then you should use an XML Data Bank instead. The XML Data Bank lets you configure extractions which can then be referenced in subsequent tests.