Forum Discussion

irene_smile's avatar
irene_smile
Occasional Contributor
16 years ago

Using values from response across projects

Hello!

I am trying to use an id that was in a reponse of ProjectA as part of a request in ProjectB.  Like in

Project A (uses WSDL-A)
-- Testcase1
---- Request to create customer
---- Response contains Customer ID

Project B (uses WSDL-B)
-- Testcase1
--- Request to create an invoice for a customer - this must use the customer id created in Project A's reponse.

How can I do this in SOAPUI?

Thanks!

1 Reply

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    Consider putting both WSDL's in same project, but if that is not possible you could "share" the property by defining a global property (in the Preferences Dialog) to which you would write in your first project (via a property-transfer) and read from in your second project (property-transfer or groovy script)

    Hope this helps!

    regards,

    /Ole
    eviware.com