Book Image

Mastering SoapUI

Book Image

Mastering SoapUI

Overview of this book

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.
Table of Contents (18 chapters)
Mastering SoapUI
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
7
SoapUI Integration with Jenkins and HP QC
Index

Configuring SoapUI for JMS services using Hermes JMS


Web services use multiple protocols for transport, for example, HTTP or JMS. Communication can also be different, for example, Soap or JSON. So let's go configure JMS for different middleware like Tibco,Oracle SOA, IBM WebSphere.

To configure JMS in SoapUI we have a utility called Hermes JMS to help us configure JMS in our test.

Following are the steps to configure Hermes JMS in SoapUI:

  1. Open HermesJMS from the Tools option on the top and select HermesJMS:

  2. Verify that HermesJMS will open on your desktop:

  3. Configuring a session: Select a New Session:

  4. Configuring a New session: On selection of a new session, verify that the Preferences window comes up:

  5. On the Preferences window select the Providers tab.

  6. On selection of a New Group add the Jars based on the middleware used, for example, for Tibco, use the following JARS:

    • Tibemsd.JAR

    • Tibjms.jar

    • Tibjmsadmin.jar

  7. For Active MQ use the following:

    • com.ibm.mq.pcf-6.1.jar

    • com.ibm.mq.jar

    • com.ibm.mqjms...