Forum Discussion

New_SoapUI_Guy's avatar
New_SoapUI_Guy
New Contributor
17 years ago

WebInject to SoapUI

I used webinject so far for my web services testing. Need to switch to SoapUI but not successful so far.

I have test cases in xml file and I used those xml in webinject as request files. If I try to use the same in SoapUI then it's giving me bad request error message.

I have attached sample webinject xml request (MakePaymentCard_Valid_Req_43_001.xml) and it's equivalent SoapUI request file screenshot from SoapUI. (soapui.jpg)

Not sure why it's saying rad request. Can someone please help me run my first xml request using SoapUI?

3 Replies

  • Hi!

    I'm not that familiar with webinject, but i suspect you need to surround the request message with   ... , ie

    <IFX>.... </IFX>

    Does that help?

    regards,

    /Ole
    eviware.com
  • Wow it worked. Thanks a lot Ole for your help. Where I can find more details about this? I was not aware of this change to make it working. Is there any good doc that I can go through to make myself more familiar with SoapUI?

    Thanks again.
  • Hi,

    well it just seemed to me that the SOAP message you were sending was "packaging" an XML message inside it.. the webinject file doesn't really give any hints though.. it seems to use just a HTTP Post, I couldn't see any SOAP-related config in there..

    Regarding documentation, the user-guide (http://www.soapui.org/userguide/index.html) is a good place to start I guess..

    Good Luck!

    regards,

    /Ole
    eviware.com