TestPlan SaveRequest
Document

SaveRequest

by Group Public on Wednesday June 02 2010 @ 16:04:18 (1/1 Points)

API ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It

Can be used to store the content of a request into a file. This will execute the request and store the result into the file.

SaveRequest %Request% myfile.bin

The path of the resulting file will be set in Return:Path. Refer to the note about filenames.

Saving a File

This is an example of how to store a file which results from a click on a particular link. This stores it in a temporary file.

set %Request% as getClickRequest link:Export
SaveRequest %Request% %Codes:TEMPFILE%
Notice File in %Return:Path%
© 2008-2010 edA-qa mort-ora-y
Using Persephone and TestPlan
Tag: