Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Web Services Testing with soapUI
  • Table Of Contents Toc
Web Services Testing with soapUI

Web Services Testing with soapUI

By : Charitha Kankanamge
3.5 (19)
close
close
Web Services Testing with soapUI

Web Services Testing with soapUI

3.5 (19)
By: Charitha Kankanamge

Overview of this book

Quality is a key to success of service-oriented projects. Utilization of proper tools is important to the outcome of web service testing methodology. Being the leading open source web services testing tool, soapUI helps to build robust and flexible automated tests in a productive manner. "Web Services Testing with soapUI" guides you on adopting best web service testing mechanisms with the industry leading open source testing tool, soapUI. You will learn to use soapUI effectively in testing service-oriented solutions focusing on testing functional as well as non-functional characteristics of web services. SoapUI is capable of testing JDBC data sources, web applications, RESTful services and web services exposed over transports such as JMS. The book discusses all these features and much more, in detail, through practical and clear examples. This book is focused on learning soapUI in order to test web services in an effective manner. It starts with a general introduction to service-oriented architecture (SOA) followed by testing aspects of service-oriented solutions. This book aims to give readers a comprehensive overview of usage of soapUI in SOA and web services testing projects. Starting with an overview of SOA and web services testing, you will quickly get your hands dirty with a sample project which makes use of open source web service engine, Apache Axis2. All demonstrations and hands-on exercises are based on this sample project. The tests in a soapUI project are organized into TestSuites, TestCases and TestSteps. You will also learn how soapUI can be used for both functional and non-functional testing. The book then teaches how by using groovy scripting and integrating with Junit and maven, soapUI can easily be used in automated web services testing. By the end, you'llhave learned to test functional and non-functional aspects of web services and automate by integrating into continuous build systems using soapUI.
Table of Contents (21 chapters)
close
close
Web Services Testing with soapUI
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1
Index

JDBC test assertions


As we used various assertions with SOAP request TestStep, JDBC Request can also make use of most of those assertions. In soapUI, most of the assertions are independent from the TestSteps. Hence, the assertions such as contains and Xpath match can be used with JDBC Request TestStep as they are. By clicking on the Adds an assertion to this item icon at the top menu of JDBC Request TestStep, you can find out what assertions are supported by the TestStep. In addition to the generic assertions, you will find two JDBC Request TestStep-specific assertions there:

  • JDBC Timeout: This assertion can be used to verify whether the current SQL query is executed within the specified Query Timeout property value

  • JDBC Status: In order to check whether the SQL statement is executed successfully, we can use the JDBC Status assertion

Let's add a JDBC assertion to our sample selectGuests JDBC Request in GuestManagementServiceTestSuite:

  1. Select selectGuests JDBC Request and click on add assertion...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Web Services Testing with soapUI
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon