Record/Replay Service- Recording File

3 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 08/24/2018
Posts: 14
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: 3 years 1 week ago
Joined: 01/15/2013
Posts: 94

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: 1 year 8 months ago
Joined: 08/24/2018
Posts: 14

That's exactly what I wanted. Thanks.