Creating automatic folder and files in soapui
问题 I wrote a groovy script in soapui to create files in certain location in my pc. How can I make it dynamic and enable the user to write the location the files are saved to by write the location in configuration file imported at test suite level. if(context.expand('${#Project#ProduceReports}') == 'true') { def resultDir = new File("D:\\Reports"); if(!resultDir.exists()) { resultDir.mkdirs(); } def resultsFile = new File(resultDir, "CSVReport.csv"); } 回答1: If you want to get the path from a