Forum Discussion

TMaiuri's avatar
TMaiuri
New Contributor
14 years ago

Property Transfer - Global

I am trying to transfer values from one WSDL response to be used in another WSDL request. These are two different WSDLs. Can SoapUI do this? Does it require scripting? Does anyone have an example? What are the steps? Please help.
I tried to get help from the "support", but they told me to use "Global" after I had already told them I was trying to do that ( not helpful).
Any pointers or advice is greatly appreciated.
Thank you.

3 Replies

  • Hi,

    I'm very sorry for this misunderstanding.
    To transfer property value form one soap response to another soap request you have to use Property Transfer Test Step
    You need to add one Global property for example named globalProperty, than

    1. create Property Transfer Test Step
    2. add property name
    3. choose the source -your test step and choose property Response and click on icon far right to choose the exact value you want to transfer
    4 choose the Target Global and globalProperty
    5. in your request in another wsdl use right click and in popup menu choose Get Data - > Global -> globalProperty
    this is it.

    Please let us know if this helps.

    regards
    nebojsa
    SmartBear Software
  • TMaiuri's avatar
    TMaiuri
    New Contributor
    Thank you for your help. I almost understand what I need to do.
    I have one last part I still need help with.
    How do I send the request to the second WSDL when the Global Properties change (if it can not be part of the first WSDL TestCase TestSteps)? How does the second TestCase know to fire of a request? We are trying to automate some performance testing.

    Thanks again.
  • Hi,

    You can only run one TestCase as a LoadTest in soapUI - maybe you can add the requests for both your WSDLs to the same TestCase and add some kind of branching logic via groovy?

    regards,

    /Ole
    SmartBear Software