Forum Discussion

Nextpoint_Headq's avatar
Nextpoint_Headq
New Contributor
16 years ago

Re: Does soapUI API support dynamic request creation from input?

Hi,

I need to prepare SOAP Request using soapUI API (from java code). I created a soapUI project that gave me a project XML which contains TestCases that I can fill with value (populating map in Java) and send the request. In scenarios where we have tags in SOAP request that may contain multiple values (i.e. repetitive tags), is there any support in soapUI API which facilitates us to provide multiple values (in Map or so) and it dynamically generate Request XML based on the input?

Any help in providing exact solution or providing Tutorials regarding usage of soapUI API is appreciated.

Thanks in advance.

3 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi,

    sorry, there are no supporting classes for this kind of manipulation currently, you will have to manipulate the xml string manually.

    regards!

    /Ole
    eviware.com
  • Thanks for the reply.

    Do we have any Tutorial/Userguide, apart from the API link, available which explains how to use SOAP API for creating SOAP Requests?
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello,

    There are some snippets available on soapui.org, for instance this
    and a few tutorials in Ole's blog. Other than that I don't really know of anything.

    Regards,
    Dain
    eviware support