Skip to content

Instantly share code, notes, and snippets.

@olensmar
Created February 12, 2013 13:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
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