I am working on a project in which we access several web services for the working of our application.
However for manual testing and looking at the responses of web services we use SOAPUI.
Now in QTP I have to automate a script in which, web service responses are used. I am unable to solve the problem that how can I use the Web Service responses in my QTP script.
Re: How to use Web Service responses in QTP script
you require a web service testing plugin to do it more efficiently it will provide you a UI wizard work with
Otherwise you need to use vbscript and MSXML2.XMLHTTP witch will call WSDL url, passess parameter and sync for response.
but it is quite painfull.
there are free utility wich can be used
# Using Microsoft SOAP Toolkit 2.0
[ QUOTE ]
'Create an object of Soap Client
Set oSOAP = CreateObject("MSSOAP.SoapClient")
oSOAP.ClientProperty("ServerHTTPRequest") = True
'Initaialize the Web Service
'Invoke the Web Service