Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

How to retrieve response of Test Step from one TestCase to another TestCase with groovy script ?

$
0
0

 

response transfer test step.JPG

 

    Here  I want to retrieve "mul" Teststep response  from "MulipleTestCase" and  want to use this response in " Divide TestCase".

 

   def groovyUtils= new com.eviware.soapui.support.GroovyUtils(context)
  def teststep=context.testCase.testSuite.getTestCaseAt(1).getTestStepByName("mul")

   def response=groovyUtils.getXmlHolder("mul#Response")

 

 But I got an exception error "Unexpected Element:CDATA.." 

 

 

 

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles