Contributions
Re: create a folder and insert xml file in the folder at runtime
My codes and it works: def path = new com.eviware.soapui.support.GroovyUtils( context) // Getting relative path def bkpath = (path.projectPath + "\\yourFolder\\") //log.info(bkpath) def folderName = ("XXXX" + variable) def RMDir = new File("$bkpath/$folderName") // Path of folder to create //log.info(RMDir) RMDir.mkdir() //Writing external file def xxxx = context.expand('${Export_xxxxx#Response}') new File("${RMDir}/" + "xxxx.xml").write( xxxx )1.7KViews1like0Commentsdisable test steps based on environment
Hello, i have an issue with soapui pro. I have a soapui project in a composed mode, in which i have defined several environment at project level. For one specific environment, 2 test cases must not be executed but must be executed for the rest of other define environments. The test cases highlighted in yellow should not be executed for a specific environment. I can send you screenshots of my project. Can you please advised how i can do that via codes? Note that those scripts are executed automatically via cmd files which are created using soapui itself.903Views0likes0Comments