Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Sample Groovy Console Script
import com.eviware.soapui.support.UISupport
project = workspace.createProject( "My Project", null )
testSuite = project.addNewTestSuite( "TestSuite" )
testCase = testSuite.addNewTestCase( "TestCase" )
testCase.addTestStep( "httprequest", "HTTP Request" )
UISupport.showDesktopPanel( testCase )
testRunner = testCase.run( null, false )
UISupport.showInfoMessage( "TestCase finished with status $testRunner.status" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment