O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mastering SoapUI

Book Description

Master the art of testing and automating your SOA using SoapUI

About This Book

  • Design real-time test automation frameworks for Enterprise applications using SoapUI
  • Learn how to solve test automation issues for complex systems
  • A complete guide to understanding SOA automation from quality assurance to business assurance

Who This Book Is For

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.

What You Will Learn

  • Familiarize yourself with Test Web services from functional, nonfunctional, and security aspects
  • Learn to test real-time service orchestrations
  • Design test automation solutions for SOA-based Enterprise applications
  • Learn multilayer test automation
  • Selenium plus SoapUI under a single umbrella
  • Integrate your SoapUI framework with Jenkins

In Detail

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.

Style and approach

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.

Table of Contents

  1. Mastering SoapUI
    1. Table of Contents
    2. Mastering SoapUI
    3. Credits
    4. About the Author
    5. Acknowledgments
    6. About the Reviewer
    7. www.PacktPub.com
      1. eBooks, discount offers, and more
        1. Why subscribe?
    8. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    9. 1. Introduction to SOA Testing
      1. SoapUI architecture
      2. Test architecture in detail
      3. Test approaches in SOA testing
        1. Functional testing
          1. Let's see how to configure a SOAP service in SoapUI for functional testing
        2. Performance testing
        3. Security testing
      4. Summary
    10. 2. Functional Testing In Detail
      1. Service orchestration
        1. A new user install in a telecom application
        2. Key features of SoapUI to test service orchestration
        3. Dynamic data generation
        4. Groovy Script for random number generation
      2. Property transfer
      3. Assertions
      4. Configuring SoapUI for JMS services using Hermes JMS
      5. Groovy script
      6. End-to-end demonstration of testing an orchestrated flow
      7. Summary
    11. 3. Performance Testing of SOA Applications in Detail
      1. Performance testing in the SOA world
      2. Performance test planning
        1. Types of tests
        2. Test execution phase
        3. Quality gates
      3. Performance testing using SoapUI
        1. Assertions in performance testing
      4. Analysis
      5. SoapUI and LoadUI Integration
        1. Pre-requisites
      6. Summary
    12. 4. Security Testing in Detail
      1. Security testing in SOA world
      2. A real time example of security testing in web services
      3. Configuring boundary scan types
      4. Summary
    13. 5. Test Automation in SOA World
      1. Test automation ROI
      2. Test automation using SoapUI
        1. Types of test automation framework
          1. Scripting types
        2. Utilities for a test automation framework
          1. Groovy script for reading data from an Excel sheet
          2. Summary of the script
          3. Database connection – why is it required?
          4. Test automation report
        3. Dynamic environment configuration
        4. Assertions or validation
      3. Summary
    14. 6. Multilayer Test Automation Using SoapUI and Selenium
      1. UI test automation tools
      2. SoapUI and Selenium integration
      3. Automation in Google Chrome
      4. Working with the IE browser
      5. Implementing a real world test case using SoapUI and Selenium together
      6. Locator identification
      7. Summary
    15. 7. SoapUI Integration with Jenkins and HP QC
      1. DevOps
      2. Jenkins
        1. Installing Jenkins on Windows
        2. Integrating Jenkins with SoapUI
          1. Integrating the test tools
          2. Post execution steps
        3. Integrating with test management tools
        4. QC Integration with SoapUI
      3. Summary
    16. 8. End-to-End Test Automation
      1. Integrating everything together
      2. Summary
    17. 9. Service Mocking
      1. Creating mock services in SoapUI
      2. Dispatch methods
        1. Sequence
        2. Random
        3. XQuery Match
        4. XPath Match
        5. Script
      3. Deploying mock services to an external server
      4. Summary
    18. 10. Best Practices in SOA Test Automation
      1. Why do we need best practices?
        1. Choose the right tool
        2. Get involved early in the lifecycle
          1. Virtualization/mock services support
        3. Get the right resources
        4. Candidate for test automation
        5. Dedicated and locked test environment
        6. Encapsulated test automation framework
          1. Benefits from TAF encapsulation
        7. Dynamic assertions or validations
        8. Performing non-functional tests
        9. Correct onshore, nearshore and offshore ratios
        10. Utilizing a unit test with test automation
        11. Building good manual test cases
      2. Summary
    19. Index