Forum Discussion

AndersLevin's avatar
AndersLevin
New Contributor
16 years ago

Can SoapUI / LoadUI alter requests depending on response?

Hello all.

I am in dire need of a loadtesting-tool for webservices, that can change the requests after each response, depending on the response.

The response will always contains a specific element (with a changeable number of sub-elements). This entire chunk MUST be present in the next request made.

I have not been able to find this feature in SoapUI (I have not yet looked at LoadUI). Is this something that could be implemented in the future?

Regards
/Anders

2 Replies

  • Hi Anders,

    this can definitely be done in soapUI; create a TestCase with the two SOAP Requests and insert a property-transfer teststep between them that transfers the desired xml from the first TestSteps response message to the request message of the second TestStep.. read more about property-transfers at http://www.soapui.org/Functional-Testin ... alues.html

    Then use either soapUI for simple Loadtesting or loadUI for more advanced (and fun!) setups and distribution.

    Hope this helps!

    regards,

    /Ole
    eviware.com
  • Thank you Ole!

    This was truly good news! Now the only problematic step is to convince my boss that we can use SoapUI.

    /Anders