DataSink to different files when switching between Environment
Is it possible to export data via DataSink to different files when switching between Environment?
For example:
Environment
Environment 1
Environment 2
Environment 3
TestCase
Soap Request
DataSink
dataEnvironment1.txt->when executing in Environment 1
dataEnvironment2.txt->when executing in Environment 2
dataEnvironment3.txt->when executing in Environment 3
etc.
Thanks!
You can add a Project Level custom property to your project, and then this property can be set per environment via the Environments editor.
Then in your DataSink test step you can refer to the project property via a property expansion. The easiest way to do this is to right click in the "File" text box in the DataSink test step and use the "Get Data" menu option to select your newly created project property.