Service Test Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I change the results file filename from a run?

Highlighted
spartacus01
Acclaimed Contributor

How do I change the results file filename from a run?

I am testing a RESTful web feature service (WFS), using REST/API service test. When executing the script, the results are placed in a folder, but the names of the xml and txt files that are saved in the folder are not names that are easily identifiable for the tester, so I want to update the names of the ResponseBody, HTTPRawRequest, and the RequestBody files.  I want the names to be similar to what the system saves them as, but I want to append other characters to the filename.

 

For Example (response body): RESTActivityV29_ResponseBody_34640832_23240461,1,3429838_30868550.xml (the filename given by UFT)

 

I would like for filename to be something like: RESTActivityV29_ResponseBody_Test001.xml

 

 

//Add this to "OnDomLoad" event