Google

Oct 18, 2012

soapUI Tutorial to test Web Services

This tutorial will show you how to test web services using soapUI. SoapUI provides a robust set of capabilities to test web services not only during development, but also to test the validity of deployments. It supports multiple protocols such as SOAP, REST, HTTP, JMS, etc.

 Step 1: Download and install soapUI from http://www.soapui.org/.



Step 2: Make sure that the simpleWeb.war file is deployed to the Apache Tomcat Server and is running as covered in the JAX-WS tutorial. The URL for the WSDL file is --> http://localhost:8080/simpleWeb/userservices?wsdl

Step 3: Double click on the soapUI application to open it and then select File --> New soap UI Project. Fill in the details as shown below and click "OK"


If the web service is not up, you will get an error message.

Step 4:  When you press the "OK" button, you should see the following folder structure on the LHS pane.



You can create additional requests by right clicking on "greetUser" and then selecting "New request".

Step 5: Double click on Request1 and on the RHS pane, you can see the divided window. One for the request and the other one is for the response.



When you click on the "green" arrow that is highlighted above, you will get the response back as shown below.



So, soapUI is a handy tool for testing  SOAP or RESTful based web services.  You can create different requests with different data. It can be used for functional and load testing. It is an easy to use Web service client that does not require any programming knowledge.

Labels: ,

3 Comments:

Blogger Rock Den said...

Web Testing Services and soapUI, introduces soapUI by giving an overview of its history, features, and installation of soapUI in your computer. We will begin our journey towards learning soapUI by discussing some key characteristics of SOA,
Web services and Web services testing in general.

5:24 PM, November 19, 2012  
Blogger Samantha Jones said...

Thank you for sharing. Test as a service will improve the quality, reliability and performance of your systems while reducing your testing costs.

1:38 AM, June 27, 2013  
Blogger Innovapath said...

Excellent Post. Also visit http://whiteboxqa.com/#index.php

1:21 AM, August 07, 2013  

Post a Comment

Subscribe to Post Comments [Atom]

Links to this post:

Create a Link

<< Home