What is SOAPUI ?
SOAPUI is a tool which is used to test the webservices.
Applications send the request to webservices and get the response respective to the REQ
The scope of testing is to validate the response from the webservice.
Webservices dont have a UI and its the challenge of testing it and here comes the SOAP UI which will serve as an UI for webservices.
So tester use the SOAP UI tool to send request to the webservice and response is also received by the SOAPUI and which can be easily validated
Prerequisites for Testing Webservices using SOAPUI?
SOAPUI Toll installed in the machine
WSDL File of the Webservice need to be tested
What is WSDL File?
The main structure of a WSDL document looks like this:
<definitions>
<types>
data type definitions........
</types>
<message>
definition of the data being communicated....
</message>
<portType>
set of operations......
</portType>
<binding>
protocol and data format specification....
</binding>
</definitions>
WSDL Example
This is a simplified fraction of a WSDL document:
<message name="getTermRequest">
<part name="term" type="xs:string"/>
</message>
<message name="getTermResponse">
<part name="value" type="xs:string"/>
</message>
<portType name="glossaryTerms">
<operation name="getTerm">
<input message="getTermRequest"/>
<output message="getTermResponse"/>
</operation>
</portType>