Gartner Research

How to Test Services in an Agile Application Architecture

Published: 30 July 2019

ID: G00365721

Analyst(s): Kevin Matheny, Sean Kenefick

Summary

The move toward applications using service-based architectures has directly influenced test tooling and processes. Application technical professionals responsible for developing and delivering software — including architects, developers and testers — must adapt to a new testing paradigm.

Table Of Contents

Problem Statement

The Gartner Approach

The Guidance Framework

  • Prework
    • An Introduction to Modern Application Architecture
  • A Guidance Framework for Ensuring the Quality of Service Applications
  • Step 1. Test Your Service’s Functionality
    • Test Using Isolation-Integration Patterns
    • Test the Domain Resources and Enforce Interface Contracts
    • Test the Service Persistence Layer
    • Automate Everything, but Continue to Explore
  • Step 2. Test Your Service Levels
    • A Lack of Parity
    • Estimating Performance Changes Through Correlation
    • Test for Availability
    • Enforce Authentication
    • Ensure Entitlements
  • Step 3. Test Your Deployment Mechanisms and Processes
    • Release Processes
    • Service Packaging With Containers
  • Step 4. Test Your Platform
  • Step 5. Test Your Business Processes
    • Verify Expected User Workflows
    • Use Shadow Testing Practices

Risks and Pitfalls

  • Your Development Teams Are Forced to Use Waterfall Processes and Monolithic Services
  • Production Systems May Expose Issues That Weren’t Possible to Find in Earlier Environments
  • Production Data and Traffic Patterns Are Necessary to Adequately Test Your Application
  • Teams That You Have Never Met Will Use Your Service in Ways That You Didn’t Expect

Gartner Recommended Reading

©2020 Gartner, Inc. and/or its affiliates. All rights reserved. Gartner is a registered trademark of Gartner, Inc. and its affiliates. This publication may not be reproduced or distributed in any form without Gartner’s prior written permission. It consists of the opinions of Gartner’s research organization, which should not be construed as statements of fact. While the information contained in this publication has been obtained from sources believed to be reliable, Gartner disclaims all warranties as to the accuracy, completeness or adequacy of such information. Although Gartner research may address legal and financial issues, Gartner does not provide legal or investment advice and its research should not be construed or used as such. Your access and use of this publication are governed by Gartner’s Usage Policy. Gartner prides itself on its reputation for independence and objectivity. Its research is produced independently by its research organization without input or influence from any third party. For further information, see Guiding Principles on Independence and Objectivity.

Already have a Gartner Account?

Become a client

Learn how to access this content as a Gartner client.