Created
June 20, 2017 13:38
-
-
Save rajendrapenumalli/479c64fbdb69a507f2dbcf572ee0df42 to your computer and use it in GitHub Desktop.
Revisions
-
rajendrapenumalli created this gist
Jun 20, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ import static com.eviware.soapui.impl.wsdl.teststeps.registry.HttpRequestStepFactory.HTTPREQUEST_TYPE //Provide the http request endpoint in the below def endpoint = 'http://google.com' //Valid http method GET | PUT | POST | DELETE etc def method = 'DELETE' def stepName = 'httpRequestStep7' def tc=testRunner.testCase //Adds http request step to given test case assumes tc is valid object of TestCase tc.addTestStep(HTTPREQUEST_TYPE , stepName, endpoint, method)