Search code examples
soapsoapuisoap-clientksoap2

How can we transfer property values through two Separate projects in SOAP UI?


I have two separate SOAP UI projects for two SOAP calls. A property value from the SOAP response of first project is a dependency of the SOAP request of second project. So I'm try to pass that value from first project to second. But all the time it doesn't show transfer value and said error about missing properties. Does anyone know a way to avoid this error and pass property value among two projects in SoapUI?

I'm using SoapUI 5.2 in windows environment.


Solution

  • You can use Groovy Script for transfer properties in between projects as follows.

    // set properties 
    testRunner.testCase.setPropertyValue("property_name","property_value");
    
    // set properties 
    def property_name = testRunner.testCase.getPropertyValue("property_name");
    

    For further reference, Please read following answer.
    How to transfer properties between different projects in SoapUI