Forum Discussion
- nmraoChampion Level 3Once the property is set, you should be able to access it.
Instead you may have directly use groovy script avoiding property transfer as well.
Following link may help you.
http://www.soapui.org/Scripting-Propert ... ricks.html
Accessing response from groovy script.
http://groovyinsoapui.wordpress.com/tag ... eexchange/ - RazisOccasional ContributorThank you for you reply. Unfortunately first link does not help a lot cause there is no info about setting Property Transfer step. Second link covers totally different topic.
- RazisOccasional ContributorOK, I found it on http://www.soapui.org/apidocs/com/eviwa ... nsfer.html
def transfer = testRunner.testCase.addTestStep('transfer', 'My Transfer between flows')
def valueTransfer = transfer.addTransfer('valueTransferName')
valueTransfer.setSourceStepName(otherTestStep.getName())
valueTransfer.setSourcePropertyName('Response')
valueTransfer.setSourcePath('/sourcepath/something')
valueTransfer.setTargetPath('/destination/@ID')
valueTransfer.setTargetPropertyName('Request')
valueTransfer.setTransferToAll(true)
Thanks a lot to everyone! :-) - nmraoChampion Level 3Glad to know you got it working and sharing the solution.
Related Content
- 10 months ago
- 5 years ago
- 6 years ago
- 2 years ago
- 9 years ago
Recent Discussions
- 15 years ago