Forum Discussion

easyfish's avatar
easyfish
Contributor
9 years ago

Need function in data source to write properties to a file

Hi,   Under Soapui datasink,  there are functions that we can write properties to a file or import properties from a file. Under data source, there is only function to import from a file. I would l...
  • NataliaB's avatar
    NataliaB
    9 years ago

    you can try to add a property transfer and dataSink steps. The idea is that you will transter data between you dataSource and DataSinc, and save them to a specific file.

     

    Alternatively, if you are comfortable with scripting, you can do a select from groovy (instead of using dataSource step), and save results to the file in the same script using a code example I gave you before.