ContributionsMost RecentMost LikesSolutionsRe: Can we pass assertions of soap test step to another step in different project in soapui hello msiadak, thanks for your promptness. Yes, we need to re-use dynamically the same assertions in another test step(which will be present in another project). dynamically here is - when we run the testStep1 in project1, the assertions available in testStep2 in project2 should run in testStep1(in project1) Can we pass assertions of soap test step to another step in different project in soapui Hello Friends, i have a requirement to pass the assertions of a soap test step to another soap test step in different project in soapui. can this be done using project properties ? Please help. Re: An error occurred [Cannot invoke method getProjectByName() on null object] Hello Rao, Thanks for your promptness. this is groovy script i have: import com.eviware.soapui.*; // Identify test step def workspace = testRunner.testCase.testSuite.project.workspace def testCase = workspace.getProjectByName("project2").testSuites["test suite2"].testCases["test case2"] def testStep = testCase.testSteps["test step2"] // Run test step context.x="5"; testStep.run( testRunner, context) i have the above groovy script in project1 and i am launching testrunner on test suite1(present in project1) An error occurred [Cannot invoke method getProjectByName() on null object] Hello Friends, I am new to groovy scripting. i have requirement to run a testStep in test_suiteB from test_suiteA. i am facing below error while runnig "Launch TestRunner An error occurred [Cannot invoke method getProjectByName() on null object]". am i supposed to create any workspace here? any help would be appreciated. Re: using groovy script submit (test) soap request which is in another project in soapui yes Lucian. both my issues are fixed. thanks for the prompt response. Re: using groovy script submit (test) soap request which is in another project in soapui I was able to execute. thanks. Re: using groovy script submit (test) soap request which is in another project in soapui Thanks a ton Lucian for your help. Its working :-) Could you please help here again. is there any possibility to send input value for SOAP request from groovy script ? I am using below code snippet. but, facing errors. testStep.run( testRunner, context.x="5") // i would need to send value 5 to soap request in soap request, using like this to ${x} in the request message. using groovy script submit (test) soap request which is in another project in soapui Hello friends, Need groovy script (in test_suiteA)to execute(submit) a soap request which is in another test suite(test_suiteB) in soapui. could you please help with the groovy script? Solved