SOAP UI Tutorial

WSDL stands for Web Services Description Language.WSDL is used to describe web services. WSDL files are central to testing SOAP-based services. SOAP UI uses WSDL files to generate test requests, assertions and mock services.


How to get Request and Response using WSDL :

1.In SoapUI, click  or select File > New SOAP Project


2.In the dialog box, specify the following URL in the Initial WSDL field:


3.Leave the default settings and click OK

SoapUI will load the specified WSDL and parse its contents into the following object model:



SoapUI Assertions :


1.In SoapUI, click  or select File > New Test Suite> Add steps > SOAP Request



2.In Assertions> Add Assertions >Xpath match >Add >Declare

3.Enter //m:sName >Select from current> Rupees is Displayed




4.Compliance,Status and Standards >Invalid HTTP Status Codes> Add



5.Give Codes 401,500 > ok




6.Add Not soap Fault and Valid HTTP Status Codes

7.SLA > Add Response SLA > 200




8.Response Failed as time taken is 434 m



SOAP UI Mock Services


9.Right-click any SOAP interface and select Generate SOAP Mock Service.





10.Double-click it to open the response editor.>Replace the ? with 100>Click



11.Run the Request. observe the result




The End

7 views0 comments

Recent Posts

See All

Headless Browser in Python

What is a headless browser? A headless browser can access any website but unlike normal browsers (which you currently use) nothing will appear on the screen. Everything is done on the backend side inv