Testing Service-Oriented Architectures: A Primer for the Real World

Along with the benefits of an interconnected system come spiraling costs if the system runs out of control. When undertaking SOA, testing is a necessary form of risk-management — and Matt Heusser describes how to do it well.

By Matthew Heusser

PAGE 2

The overall SOA effort should include requirements for how our systems interoperate; each of these becomes a use case for messaging.

We'll also want to do volume testing, soap opera testing, attribute testing (more about those later) and exploratory testing. Exploratory testing is just what it sounds like: learning about the product as you test, with the results from one action helping guide your strategy. To do that, you'll need to watch the messages that are sent to different systems, if not simulate them by hand.

But How?

Fundamentally, we are talking about testing a messaging system — making sure that the messages that go across the wire for every transaction are correct. If something does go wrong, was the problem at the sender or the receiver? It can be hard to tell. If there is a central "hub," it may have incoming and outgoing log messages to check. If your company is just integrating commercial, off-the-shelf software, you may be able to test using a tool like Empirix or TKO's Lisa.

If your technical staff is creating its own Web services, they should be able to create tools to send and monitor messages on the service bus. Once these tools are in place, you can record what messages go across the wire and the results, and use some kind of driver to "play them back"—a form of test automation. With such a test suite in place, adding a new service is relatively easy. Run all the old tests, record and run new tests, and see success. These tools will be especially valuable for attribute testing, which I discuss next.

Attribute Testing

The software may function, but how quickly does it perform each call? How how quickly is fast enough? And what happens at the end of the month, when the systems run billing in batch? If a customer orders a part, how fast does that order need to appear on a website? Minutes? Hours? We call these "ities" (scalability, security, reliability) attributes; thus the term "attribute testing."

Security, redundancy, failover, perfomance, load and volume—we should consider the risks of each, consult with management, and put these tests into our test plan.

Soap Opera Testing

If you've gotten this far, you probably realize that comprehensive testing is impossible. What we strive to do is the best possible testing with the time we are given, or, as Bill Hetzel put it so well "The only truly exhaustive testing is when the tester is exhausted." Our goal is not "perfect software," but instead software that is fit for use, or responsible testing.


Loading...
Applications MarketSpace
An Open Framework for Business Intelligence
Architecting Business Intelligence Applications for Change Learn more »
Adobe for Business Process Automation
Companies must be able to react to customer demands, competitive threats, and compliance requirements. Learn more »
Increase Customer Satisfaction and Lower TCO
With Adobe® LiveCycle® Enterprise Suite (ES2) software, organizations can easily deploy intuitive user experiences. Learn more »
Practical Approaches for Securing Web Applications
Enterprises understand the importance of securing web applications to protect critical corporate and customer data. What many don't understand, is how to implement a robust process for integrating security and risk management throughout the web application software development lifecycle. Learn more »
An Executive's Guide to Web Application Security
Since so many Web sites contain vulnerabilities, hackers can leverage a relatively simple exploit to gain access to a wealth of sensitive information, such as credit card data, social security numbers and health records. It's more important than ever to examine your Web application security, assess your vulnerability and take action to protect your business. Learn more »
Web Application Vulnerabilities
Security managers may work for midsize or large organizations; they may operate from anywhere on the globe. But inevitably, they share a common goal: to better manage the risks associated with their business infrastructure. Increasingly, Web application security plays a significant role in achieving that goal. Learn more »
Using ERP To Gain Competitive Advantage in a Tough Economy
For midsize enterprises, now is the perfect time to invest in a significant IT expansion - despite the economic climate. Learn more »
 
SPONSORED LINKS
 

CRM Built for IT: The Executive Guide to Selecting CRM that Meets IT Needs

ROI of Application Delivery Controllers

White Paper: 4 Customer Service Myths

White Paper: Improve Agility with Operational Responsiveness

Removing the Barriers to IT Governance: How On-Demand Software Changes the Game

Cloud Computing--Latest Buzzword or a Glimpse of the Future?

A Balanced Approach to an Application Development Platform

Adobe® LiveCycle®solutions for intuitive user experience

10 Ways Excel Drives More Value from Your SAP Investment

What's New in SOA Suite 11g?

Unleash the Power of Java with Oracle JRockit Real Time

SOA Best Practices and Design Patterns

Application Grid: Ideal Platform for IT Consolidation

Ready to virtualize tier one applications? Check your virtualization maturity.

Learn how to provide complete Business Service Management.

Increase ROI of Your Application Portfolio

Return on Information: Google Enterprise Search pays you back. Get the facts.

VMware. The source for Business Infrastructure Virtualization.

ShoreTel tells businesses to untangle from competitors' complexity and turn to its brilliantly simple UC solution

See how AT&T can help protect your network.

Streamline IT Costs. Boost Performance with WAN Optimization.

Build your 1st app FREE with Force.com

TDWI checklist helps define data readiness for analytics. Download report.

eZine: A Roadmap to Reducing IT Complexity

Reduce risk, gain agility. See how Progress can help your business.

What's Next for Enterprise Resource Planning?

Gartner Magic Quadrant, Application Delivery Controllers 2009

White Paper: Managed Security for a Not-So-Secure World

SharePoint - Unchecked growth of content is unsustainable.

Focus Under Pressure: Why IT Governance Becomes Mission-Critical in a Down Economy

Should Your Email Live In The Cloud? A Comparative Cost Analysis

Adobe® LiveCycle® solutions for business process automation

Architecting Business Intelligence Applications for Change: The Open Solution

Increase UPS efficiency without sacrificing protection.

Unlocking the Mainframe: Modernizing Legacy System to SOA

State of the Data Integration Market

Enhance Customer Loyalty through Higher Responsiveness

Achieving Business Agility with Application Grid

Seven Ways ITIL Can Help You in an Economic Downturn

Four steps to populate your CMDB.

"Enterprise-Proven" is the Prerequisite for Enterprise SaaS Portal Solutions

AT&T Synaptic Storage as a Service. Expand on demand

Trend Micro ranked #1 against real-world malware. Read more.

Webinar: Jump-start your in-house e-discovery with Ringtail QuickCull from FTI Technology

Top Five CIO Challenges

Read the RSA report: Security for Business Innovation

64-page prescriptive guide to security, compliance, and IT operations.

A Clear View Toward Virtualization

Virtualization Technology as a Business Solution

The rules of infrastructure management just changed.

 
 
RESOURCE CENTER