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
Mastering SoapUI

You're reading from   Mastering SoapUI Experience SOA Test and Test Automation from an expert view

Arrow left icon
Product type Paperback
Published in Aug 2016
Publisher Packt
ISBN-13 9781783980802
Length 240 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction to SOA Testing FREE CHAPTER 2. Functional Testing In Detail 3. Performance Testing of SOA Applications in Detail 4. Security Testing in Detail 5. Test Automation in SOA World 6. Multilayer Test Automation Using SoapUI and Selenium 7. SoapUI Integration with Jenkins and HP QC 8. End-to-End Test Automation 9. Service Mocking 10. Best Practices in SOA Test Automation Index

Chapter 1. Introduction to SOA Testing

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:

  • Reusability
  • Better scalability
  • Platform independency
  • Business agility
  • Enhanced security

But there are also disadvantages:

  • Increased response time
  • Service management effort is high
  • Implementation cost is high

In this chapter we will study the following topics:

  • Introduction to SOA
  • SoapUI architecture
  • Test levels in SOA testing
  • SOA testing approach
  • Introduction to functional, performance and security testing using SoapUI
  • Is SOA really advantageous?

Well, let's talk about a few of the advantages of SOA architecture:

  • Reusability: If we want to reuse the same piece of functionality exposed via a web service we should be absolutely sure that the functionality of the service is working as expected; security of the service is reliable and has no performance bottlenecks.
  • Business Agility: With more functional changes being easily adopted in a web service, we make the web service prone to functional bugs.
  • Enhanced Security: Web services are usually wrapped around systems that are being protected by several layers of security like SSL and usage of security tokens. Use of the business layer to protect the technical services to be directly exposed is usually handled by these layers. If the security of these layers is removed, the web service is highly vulnerable. Also the use of XML as a communication protocol opens the service to XML based attacks. So to mitigate risks we have SOA testing, and to help you test SOA architecture we have multiple testing tools on the market for example; SoapUI, SoapUI Pro, HP Service Test, ITKO LISA and SOA Parasoft.

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

The additional functionality that is available in SoapUI Pro can be achieved by SoapUI using Groovy script. To sum up everything that is given as UI functionality in SoapUI PRO is achievable with little effort in SoapUI which finally makes SoapUI open source the preferred choice for tool pickers.

You have been reading a chapter from
Mastering SoapUI
Published in: Aug 2016
Publisher: Packt
ISBN-13: 9781783980802
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