ContributionsMost RecentMost LikesSolutionsRe: Command line testRunner.testCase.getTestStepByName( "Request 1" ); does not workSomehow my classpath was referring to soapui2.0.2 instead of 2.5. With 2.5 it works fine. ThanksCommand line testRunner.testCase.getTestStepByName( "Request 1" ); does not workHi I am running below statement in my groovy script and "request" variable is always null. It works when I execute in UI but not in commandline. I am using 2.5.1 version. Both the groovy step and HTTP request step are in same testsuite and testcase. Please let me know if there is anything missing. def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context) def request = testRunner.testCase.getTestStepByName( "HTTP_Test_Request" ); log.info("*********request values::::"+request) def property = request.getProperty("request"); def records = new groovy.util.XmlParser(false,false).parseText(property.value); Thanks ShivaRe: JSON RPC interchange format sample ProjectRPC call over TCP/IP instead of HTTP. Basically hooking to some stubs which are generated using based on IDL. Could be java stubs. Thanks ShivaRe: JSON RPC interchange format sample ProjectI am able to send and recieve over HTTP. Is there a way to send and recieve on TCP/IP.JSON RPC interchange format sample ProjectHi Ole, I see that 2.5 pro support JSON data interchange format. I am trying to use SOAPUI tool to test a service with JSON RPC. I would like to add tests that send JSON format data and recieve in my soapui project. I am able to recieve data in a REST response and then viewed in XML/JSON formats. How do I send JSON data in a REST request. I am not getting good example for this. Thanks ShivaRe: Change binding and Endpoint (Refactoring)Hi Ole, Thank you for the suggestion. I was able to update the endpoint and binding. Thanks ShivaRe: Change binding and Endpoint (Refactoring)Hi Ole, Here is what we are doing.. In the Existing scenario we have, Binding1 contains operation-1 and operation-2 from WSDL-1 Binding2 contains operation-3 and operation-4 from WSDL-2 We are merging all operations into one WSDL and into one binding For ex., Binding contains all operations 1-4 in a new WSDL. I have soapui project with test cases based on the first setup with multiple WSDL's. Now I want use the same set of tests but with updated binding(one WSDL) and also endpoint URL(points to one URL instead of multiple). As I mentioned there is no change in the operation names here except that it refers to new WSDL binding. Is there a simple way to re-use the old SOAPUI project and just update the binding, endpoint URL in all of the test steps. Thanks ShivaRe: Change binding and Endpoint (Refactoring)Hi Ole, Operations and messages remain same but bindings and endpoints differ. Is there a way to add new WSDL and its bindings into the existing project? Thanks ShivaChange binding and Endpoint (Refactoring)Hi Ole, My current project has one base WSDL and imports other module wsdls. Now we are merging all wsdl operations and bindings into one one binding and into one WSDL. We had soapui test cases in a soapui project based on earlier setup. Now we want to use the same project but updated to the new endpoint and binding. Is there a way to incorporate these changes easily in SOAPUI tool. Thanks ShivaRe: unable to load datasource steps using WsdlProjectHi Ole I load project from a directory and then create wsdleproject. I get testsuite names from the project and create wsdlsuite object. Using it I get test case names and then try to execute each test case using testrunner. Here is the entire code snippet. I am not using any IDE to execute my project. I have set groovy classpath to run my groovy script. I have copied all the SOAPUI jars into the groovy classpath folder. I will check if there is clash in loading DOM libraries. def pathToSettingsFile='C:/soapui-pro-2.0.2/bin/soapui-settings.xml' SoapUI.setSoapUICore( new SoapUIPro.SoapUIProCore( true, pathToSettingsFile )); SoapUIProTestCaseRunner proTestcaseRunner= new SoapUIProTestCaseRunner() proTestcaseRunner.setProjectFile("C:/testsuite/soapuiE2Eprojects/"+soapTestProj) proTestcaseRunner.setHost('host:8080') proTestcaseRunner.setJUnitReport(true) proTestcaseRunner.setPrintReport(true) proTestcaseRunner.setExportAll(true) proTestcaseRunner.setOutputFolder("C:/testsuite/build/soupui_reports/"+soapTestProj) println" File :"+ soapTestProj; WsdlProject project = new WsdlProject("C:/testsuite/soapuiE2Eprojects/"+soapTestProj); println("wsdlprojct created") //Get testsuite names Map testSuiteMap = project.getTestSuites(); Iterator x = testSuiteMap.keySet().iterator(); while( x.hasNext()) { String testsuiteName = (String) x.next() println("testsuite is::"+testsuiteName) //Create Testsuite WsdlTestSuite wsdlTestSuite= project.getTestSuiteByName(testsuiteName); //Get All testcases in the Testsuite Map testCaseMap=wsdlTestSuite.getTestCases(); Iterator tcase = testCaseMap.keySet().iterator(); //Iterate through testcases and execute one by one. while(tcase.hasNext()) { String testCase=(String) tcase.next() //############## Run only the Testcase ########## println("Executing:"+testCase); proTestcaseRunner.setTestCase(testCase); boolean result=proTestcaseRunner.runRunner() } }