29,99 €
Master the art of testing and automating your SOA using SoapUI
The book is intended for test architects, SOA test specialists, automation testers, test managers, and software developers who have a good understanding of SOA, web services, Groovy Scripting, and the SOAP UI tool.
SoapUI is an open-source cross-platform testing application that provides complete test coverage and supports all the standard protocols and technologies. This book includes real-time examples of implementing SoapUI to achieve quality and business assurance.
Starting with the features and functionalities of SoapUI, the book will then focus on functional testing, load testing, and security testing of web services. Furthermore, you will learn how to automate your services and then design data-driven, keyword-driven, and hybrid-driven frameworks in SoapUI. Then the book will show you how to test UIs and services using SoapUI with the help of Selenium. You will also learn how to integrate SoapUI with Jenkins for CI and SoapUI test with QC with backward- and forward-compatibility. The final part of the book will show you how to virtualize a service response in SoapUI using Service Mocking.
You will finish the journey by discovering the best practices for SoapUI test automation and preparing yourself for the online certification of SoapUI.
Filled with real-time examples, this book will help readers take their knowledge to the next level. This book is a comprehensive guide that will cover the end-to-end life cycle of implementing SoapUI in various phases of software testing and the software development life cycle.
Sie lesen das E-Book in den Legimi-Apps auf:
Seitenzahl: 165
Veröffentlichungsjahr: 2016
Copyright © 2016 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: August 2016
Production reference: 1260816
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78398-080-2
www.packtpub.com
Author
Pranai Nandan
Reviewer
Dennis Knol
Acquisition Editor
Prachi Bisht
Content Development Editor
Trusha Shriyan
Technical Editor
Nirant Carvalho
Copy Editors
Safis Editing
Madhusudan Uchil
Project Coordinator
Kinjal Bari
Proofreader
Safis Editing
Indexer
Pratik Shirodkar
Graphics
Kirk D'Penha
Production Coordinator
Shantanu N. Zagade
Cover Work
Shantanu N. Zagade
Pranai Nandan is a "Tester by Choice and Developer by birth" born in the small city of U.P Bareilly India he has come a long way in his life, he started his journey of his studies with Hartman college and temporarily ended it with a BTECH in Computer Science from Invertis university. Over the course of his professional careers he has worked in several geographies across the world including UK and Europe with different companies like QA Infotech, Hitachi Consulting, TIBCO Software's. Currently he works with Cognizant as a Senior Associate in Amsterdam Netherlands. His work in the Testing field has resulted in multiple Test Automation frameworks for different vertical including Retail, Telecom, Media and BFSI. Pranai Nandan is someone who is intrigued by test automation and implementing complex solutions for enterprise business applications to help them achieve their desired ROI.
Apart from SoapUI he also has expertise on other SOA test Automation and Virtualization tools including Ready API, IBM RIT, ITKO LISA, HP Service Virtualization. His technical expertise also includes tools like Selenium web driver, JMeter, Microsoft, VSTS, HP Load Runner and Jenkins.
His hobbies are writing poems, playing cricket, knowing about history of different culture& travelling.
I have been helped by several people in my life and those learnings and experiences have made me what I am today I would first like to thank my Mother "Kusum Lata" who herself is the biggest source of inspiration to me she is someone who has loved me the most and laid down the principles of values and rite in me. A big thanks to my father, most gentle man I have ever known "Devki Nandan" for his wonderful guidance and support in my life.
I would also like to thank my two beautiful elder sisters who have loved me taught me the meaning of right and wrong "Preeti Srivastava" & "Jyoti Srivastava" and last but not the least I would like to thank my would be wife and my friend from a long time "Sneha Singh" who has been the best of friend to me for long time she is someone who has motivated me on my rough days and celebrated my victorious moments.
Winners Don't Do different Things they Do Things Differently
Dennis Knol has worked for more than 10 years as a test engineer at various companies and on various projects. Due to his background as a developer, he started with automated testing. As it became more fun and interesting, he decided to continue with it. Over the course of several years, he has gathered a lot of experience with a broad selection of tools, such as Selenium, Rational Robot, HP Quick Test Pro, and TTWorkbench, and worked with several programming languages, such as Java, .NET, Visual Basic, and TTCN-3.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.
Mastering SoapUI as the name suggests is book which is all about Soap UI. The book provides the in-depth knowledge of functional, security, and performance testing on service-oriented architecture by using SoapUI. This book also explains you industry standard test automation framework based on SoapUI which are capable of invoking UI, database, and Web services. Through this book, readers would also come to know how we can leverage SoapUI for functional test automation and would learn to integrate SoapUI with tools like Jenkins, HP QC, and Selenium. We will also learn to create various reusable utilities for test automation. This book provides it readers with real time examples.
Chapter 1, Introduction to SOA Testing, introduces you to the key features of SoapUI, and by the end of this chapter, the readers will be familiar with SOA and SOA Testing. They will have a basic understanding of functional, load, and security testing in SOA using SoapUI.
Chapter 2, Functional Testing in Detail, explains the readers how to functionally test a web service using SoapUI. By the end of the chapter, they will be able to test web services and service orchestration functionality and will also know how to use the features such as XPath, Assertions, HermesJMS.
Chapter 3, Performance Testing of SOA Applications in Detail, discusses about performance testing of SOA using SoapUI and various load patterns. In this chapter, we would also see the integration of SoapUI with LoadUI.
Chapter 4, Security Testing in Detail, In this chapter, we will learn to configure security tests and validate the results .We will see how to configure the test types and add additional test criteria for each scan type using SoapUI.
Chapter 5, Test Automation in SOA World, will discuss test automation in detail and teach to create test automation frameworks and reusable assets for your automation framework, and designing an automation framework.
Chapter 6, Multilayer Test Automation Using SoapUI and Selenium, will teach Multilayer testing, Integration of selenium and SoapUI, Locator Identification for UI, and Automating Multilayers together using SoapUI and Selenium.
Chapter 7, SoapUI Integration with Jenkins and HP QC, will discuss about DevOps and the way we can achieve it by integrating SoapUI with Jenkins. You will also learn to integrate SoapUI with test management tools such as QC.
Chapter 8, End-to-End Test Automation, will explain how to create end-to-end test automation frameworks by integrating different tools and utilities together. This will provide a real-time view of end-to-end automation.
Chapter 9, Service Mocking, will discuss how to create mock services and deploy them. We will also learn to implement different dispatch type of the service as per our business needs.
Chapter 10, Best Practices in SOA Test Automation, will teach you about the best practices and guidelines for SOA test automation.
Chapter 11, Crack the Certification, can be found at https://www.packtpub.com/sites/default/files/downloads/2113OS_Chapter_11_Crack_the_Certification.pdf.
For this book, you would need the following software:
The book is intended for test architects, SOA test specialists, automation testers, test managers, and software developers who have a good understanding of SOA, web services, Groovy Scripting, and the SoapUI tool.
Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.
To send us general feedback, simply e-mail <[email protected]>, and mention the book's title in the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.
Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.
You can download the example code files for this book from your account at http://www.packtpub.com. If you purchased this book elsewhere, you can visit http://www.packtpub.com/support and register to have the files e-mailed directly to you.
You can download the code files by following these steps:
You can also download the code files by clicking on the Code Files button on the book's webpage at the Packt Publishing website. This page can be accessed by entering the book's name in the Search box. Please note that you need to be logged in to your Packt account.
Once the file is downloaded, please make sure that you unzip or extract the folder using the latest version of:
The code bundle for the book is also hosted on GitHub at https://github.com/PacktPublishing/Mastering-SoapUI. We also have other code bundles from our rich catalog of books and videos available at https://github.com/PacktPublishing/. Check them out!
Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.
To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.
Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.
Please contact us at <[email protected]> with a link to the suspected pirated material.
We appreciate your help in protecting our authors and our ability to bring you valuable content.
If you have a problem with any aspect of this book, you can contact us at <[email protected]>, and we will do our best to address the problem.
With the increase in implementation of service-oriented architecture (SOA), architecture across applications leads to various technological and business advantages to the organizations implementing it.
But as it's said; There are two sides to every coin, with SOA architecture came advantages such as the following:
But there are also disadvantages:
In this chapter we will study the following topics:
Well, let's talk about a few of the advantages of SOA architecture:
But the most widely used and open source tool in the SOA testing arena is SoapUI. Following is a comparative analysis of the most famous tools in the Web service testing & test automation arena.
Comparative Analysis:
S.No
Factors
SoapUI
SaopUI PRO
ITKO LISA
SOA Parasoft
1
Cost
Open source
400 $/License
Highly Costly
Highly Costly
2
Multilayer testing
Yes
Yes
Yes
Yes
3
Scripting support
Yes
Yes
Yes
Yes
4
Protocol support
Yes
Yes
Yes
Yes
5
CI support
Yes
Yes
Yes
Yes
6
Ease of use
8/10
9/10
9/10
9/10
7
Learning curve
8/10
8/10
6/10
6/10
As we can see by the preceding comparison metrics, Ease of use, Learning curve, and Cost play a major role in selection of a tool for any project. So to learn ITKO LISA or SOA Parasoft, there is very limited, or no, material available on the Internet. To get resources trained you need to go to the owners of these tools and pay extra and then pay more if you need the training a second time.
This gives additional advantages to SoapUI and SoapUI Pro to be the first choice for Test Architects and Test Managers for their projects.
Now let's talk about the closely related brothers in this subset; SoapUI & SoapUI Pro are from the same family, Eviware, which is now SmartBear. However, SoapUI Pro has an enriched functionality and GUI which have additional functionalities to help reduce the time for testing, justifying its cost as compared to SoapUI open source.
Here is a quick comparison:
Criteria
SoapUI
SoapUI Pro
Reporting
Very limited, no rich reporting
Reports are available in different formats
XPath Builder
Not Available
Available
Data source
Not Available
Multiple options for data sources available
Data sink
Not Available
Available
XQuery Builder
Not Available
Available
