Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Web Services Testing with soapUI

You're reading from   Web Services Testing with soapUI Starting with an overview of SOA and web services testing, this guide take you through a number of hands-on exercises and projects to get you familiar with soapUI. A sure way to raise the quality of your web services.

Arrow left icon
Product type Paperback
Published in Oct 2012
Publisher Packt
ISBN-13 9781849515665
Length 332 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Charitha Kankanamge Charitha Kankanamge
Author Profile Icon Charitha Kankanamge
Charitha Kankanamge
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Web Services Testing with soapUI
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Web Services Testing and soapUI FREE CHAPTER 2. The Sample Project 3. First Steps with soapUI and Projects 4. Working with Your First TestSuite 5. Load and Performance Testing with soapUI 6. Web Service Simulation with soapUI 7. Advanced Functional Testing with soapUI 8. Getting Started with REST Testing 9. Testing Databases with soapUI 10. JMS Testing with soapUI 11. Extending soapUI with Scripting 12. Automated Testing with soapUI 13. Miscellaneous Topics Index

soapUI ModelItems


ModelItems are the preliminary building blocks of a soapUI project. The elements such as projects, test suites, test cases, test steps, mock services, mock responses, and assertions are all implemented as ModelItems. The com.eviware.soapui.model.ModelItem interface (http://www.soapui.org/apidocs/com/eviware/soapui/model/ModelItem.html) is the super interface which defines the general behavior of all soapUI model items.

When you get hold of a ModelItem in your script, you can use the corresponding getters to retrieve values such as id, name, and description of a ModelItem.

getRoomDetailsTestCase.name

Also, ModelItems provide us with various methods to access parent and child entities.

Let's look at some methods in TestCase ModelItem that are frequently used to retrieve TestSteps in a TestCase:

  • getTestStepByName (String stepName): To retrieve a specific test step inside a TestCase

  • getTestStepCount (): To get the TestStep count of a TestCase

  • getTestStepList(): To get list of TestSteps...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime