Forum Discussion
SmartBear_Suppo
Alumni
15 years agoHi Mike,
The problem is that nothing is saved to the DataSink until the DataSink step itself it executed. When the last script sets the datasink attributes, the datasink is never again executed, since the loop has ended. You can manually run the DataSink TestStep again, outside the loop, to save these values. Try adding the following line to your groovy End Time script (after setting th dataSink properties):
Regards,
Dain
eviware.com
The problem is that nothing is saved to the DataSink until the DataSink step itself it executed. When the last script sets the datasink attributes, the datasink is never again executed, since the loop has ended. You can manually run the DataSink TestStep again, outside the loop, to save these values. Try adding the following line to your groovy End Time script (after setting th dataSink properties):
testRunner.runTestStepByName('DataSink')
Regards,
Dain
eviware.com