Record/Replay Service- Recording File

3 posts / 0 new
Last post
Offline
Last seen: 18 hours 51 min ago
Joined: 08/24/2018
Posts: 10
Record/Replay Service- Recording File

Is there a way to set the recording file (and location) using command line arguments?

The only method I have seen invovles editing the XML configuration file, then passing that as a configuration argument.

Offline
Last seen: 2 weeks 3 hours ago
Joined: 01/15/2013
Posts: 91

Hi,

Yes, there are no specific command-line arguments. The only way is to use an environment variable reference in the XML (e.g. $(FILE_NAME) ). This variable can then be passed to the application in two ways:
a) by adding it to the user's current environment variables;
b) use the -D command-line option (e.g. -DFILE_NAME=my_file_name.dat) to set the values in the call to the application.

Offline
Last seen: 18 hours 51 min ago
Joined: 08/24/2018
Posts: 10

That's exactly what I wanted. Thanks.