Created
February 12, 2013 13:28
-
-
Save olensmar/4769898 to your computer and use it in GitHub Desktop.
Sample Groovy Console Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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