Your SlideShare is downloading. ×
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Decoupled System Interface Testing at FedEx
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Decoupled System Interface Testing at FedEx

149

Published on

If you work in a large-scale environment, you know how difficult it is to have all the systems “code complete” and ready for testing at the same time. In order to fully test end-to-end scenarios, you …

If you work in a large-scale environment, you know how difficult it is to have all the systems “code complete” and ready for testing at the same time. In order to fully test end-to-end scenarios, you must be able to validate results in numerous systems. But what if all those systems are not available for you to begin testing? Chris Reites describes “decoupled testing,” an enterprise-level solution for managing interface data for capture, injection, simulation, and comparison all along your testing paths. Decoupled testing provides the ability to validate and independently test systems without having to rely on end-to-end testing. This is accomplished by capturing intermediate interface transactions at pre-determined, critical points during processing and comparing them against previously captured or generated expected results. Chris shares a case study on how this approach has benefited FedEx on critical customer-facing systems.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
149
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. T20 Concurrent Class 10/3/2013 3:00:00 PM "Decoupled System Interface Testing at FedEx" Presented by: Chris Reites FedEx Brought to you by: 340 Corporate Way, Suite 300, Orange Park, FL 32073 888-268-8770 ∙ 904-278-0524 ∙ sqeinfo@sqe.com ∙ www.sqe.com
  • 2. Chris Reites FedEx Services As a Technical Principal in software quality assurance for FedEx Services, Chris Reites has experience providing cutting edge, best-practice processes for the development and testing of large-scale, complex, global software systems. Chris has been working for FedEx in IT for fifteen years. Prior to joining the software testing organization within FedEx, Chris was a software developer for several key applications within the FedEx billing system.
  • 3. 9/19/2013 Decoupled Testing Overview Chris Reites Technical Principal – FedEx Services STARWEST Conference 10/03/2013 FedEx Testing – What We’re Dealing With • Application Testing and Certification • Responsible for Test Planning, Design, Execution, and Validation • Key Shipping Products (Desktop devices, www.fedex.com, etc…) • Backend Rating, Revenue, Tracking, and Invoicing Systems • Major releases annually, as well as weekly exception and emergency loads • Hundreds of applications involved. 2 1
  • 4. 9/19/2013 Types of Testing We Do Quality Assurance Approaches Functional Testing End-to-End Testing Performance Testing Vulnerability Testing Regional Testing Production Checkout Definition: Evaluates the compliance of a system or component with specified functional requirements. Includes New Features, Regression, Integration and System tests. Coordinate with Revenue Testing for impacted products. Definition: Functional tests designed to validate specific outcomes within Revenue systems. Starts with entering shipments (via INET, WSVC, CAFE, FXRS, etc.) and addition of selected scans, flows through servers and intermediate systems, and concludes with validation of results on invoices and in accounts receivables. Definition: Evaluation of a system’s or component’s compliance with specified performance requirements. Includes Volume testing, Load / Stress testing, Failover / Recovery Testing and Disaster Recovery. Definition: Utilizing security scanning tools and educated vulnerability testing through manual human intervention techniques, providing scanning and penetration testing for supported applications during regular releases. Definition: Includes functional testing performed on behalf of the Regions by SQA Testing groups and Language Translation Testing performed by Marketing or User groups within the Regions. Definition: Validates core software functionality in production after regularly scheduled software loads and regularly scheduled data updates. Supports Corporate Loads, Dotcom Loads, Exceptions Loads & some Emergency loads. Certification Services CSP Certification Label Certification (ensures operational excellence) Definition: Consulting with third-party software providers to integrate FedEx technology into their applications and validate that their applications meet FedEx requirements from a brand, revenue and operational perspective. Definition: Validation of Express labels submitted by automation clients, CSP providers, WebServices customers and FXRS customers who modify labels in production. Automation clients submit all labels for certification. 3 Potential Hazards in Large System Testing • Dependency to have all code ready at the same time • Interfaces were critical…yet not well documented or understood • Interface changes coming late into Code/Test phases • Interface issues caused “Ripple Effect” throughout system Impacts our Speed To Market and causes a lack of flexibility in testing 4 2
  • 5. 9/19/2013 Decoupled Testing Concepts and Potential Concept • Provides the ability to test target systems independently by removing dependencies on other external systems. • Divide and conquer • Reduce defect fix/validation cycle time • Mitigate Risk when introducing software changes – comprehensive regression test • Reduce validation dependency on End-toEnd cycles Adoption in Automation Systems • Reduced dependency on revenue test cycles • Mini Revenue cycles within automation systems using Decoupled Test Tool • Pilot mini Decoupled Testing cycle in one shipping device – FY12 Q1 • Mini Decoupled Testing cycles in multiple shipping devices for Jan12 corporate load. Corp. Load End to End Testing Automation Devices Front End Process Revenue Back End Process Edit & Rating Invoicing Settlement Corp. Load End to End Testing enhanced by Decoupled Test Automation Devices Front End Process Revenue Back End Process Edit & Rating Invoicing Settlement 5 What Makes Up Decoupled Testing? Decoupled Testing provides the ability to test target systems independently by removing dependencies on other external systems. 4 Core Functions: • Interface Data Capture: supports the collection and storage of interface data • Interface Data Compare: supports on-demand, field-level comparisons of interface data • Interface Data Injection: supports the ability to ‘replay’ previously captured interface data into the target system • Interface Simulation: supports the virtualization of responses from backend system interfaces that are synchronous in nature 6 3
  • 6. 9/19/2013 Coupled Testing Inputs GL Entries Corp App Outputs End to End Corporate Load Testing Shipment Sys Regions Apps Freight Rev Rating Invoice eCommerce Revenue Back End Ground Rev Rating A/R Express Rev Rating FCIS Sys Accounting Order Cash Input Output Testing Researcher Expected Jump 7 Coupled Testing GL Entries Corp App Outputs Inputs Shipment Sys Regions Apps Freight Rev Rating Invoice eCommerce Ground Rev Rating Revenue Back End A/R Express Rev Rating FCIS Sys Accounting Order Cash Input Output Testing Researcher Expected Jump 8 4
  • 7. 9/19/2013 Decoupled Testing End to End Testing Cluster Cluster Cluster Cluster Cluster GL Entries Revenue Back End Cluster Cluster Outputs Freight Rev Rating Shipment Sys Cluster Cluster Invoice A/R eCommerce Back End Order Express Rev Rating Accounting FCIS Sys Cash Input Output Testing Researcher Expected evolve evolve evolve evolve 9 Decoupled Testing Testing Researcher Actual Before Actual After S A Expected Ouputs eCommerce Front End Inputs Inputs Corp App eCommerce Front End A Express Rev Rating B Revenue Back End C B 10 5
  • 8. 9/19/2013 11 Revenue Systems Example: From Serial to Parallel Processing Common Test Data Design Positive Effects: • New test data created for both system entry points and downstream injection points simultaneously • • Regression test data injected with previously captured results • • Shipping Input • Automation Test Data Revenue Input Reduce idle time (waiting for successful endto-end execution) Increase the test coverage utilizing data comparison analysis Early detection of issues Quicker validation of fixes Revenue •Compare outputs against previous results •Inject data directly into backend system •Compare outputs against previous results 12 6
  • 9. 9/19/2013 Interface Simulation • Interface Simulation is the ability to virtualize responses from backend systems. •Simulated Interfaces remove backend complexity from testing environments and provide stable, predictable behavior to make system testing easier and more available. • Response times of virtual interfaces can be varied to simulate latency or systems under load 13 Test Strategy Objectives Reduce Defect Resolution Time • From weeks to days or hours Reduce Validation Time • By providing data analysis solutions • By automating validation processes Improve Code Quality coming into Integration Testing • By discovering and resolving defects earlier • By more quickly fixing and revalidating defects Increase Quality Assurance Capacity • By providing environments on demand • By providing a self service set of test solutions 14 7
  • 10. 9/19/2013 Common Goals And Success Metrics Normal Dev/Test Phase # of Defects Defect Removal Cost Reduction The measure of identifying and fixing defects earlier in the testing process. DTT Dev/Test Phase Agility and Time-to-Market The measure of time required to launch a project/feature through newly enabled testing processes. Support Resource Cost Reduction / Reallocation The measure of resource reduction due to functionality being delivered. 15 Defect Removal - Reduction in Cost # of Defects The measure of identifying defects earlier in the testing process. Metrics above reveal the following: • A definite shift in time in the number of defects found and closed in earlier cycles of testing 16 8
  • 11. 9/19/2013 Decoupled Testing – Speed to Market Testing Process for Certification of a Key Customer Shipping Platform Duration of Testing Relative To Traditional Method* 1.2 100.00% 1 0.8 67.00% 0.6 38.00% 0.4 0.2 0 Traditional Decoupled Testing v1 Decoupled Testing v2 * Duration includes shipping/execution and validation Testing Method 17 Decoupled Testing – Resource Cost Reduction Duration of Testing Relative To Traditional Method* Validated 100.0% 8.5% Traditional Baseline 100.0% 100.0% 147.0% 147.0% Decoupled v1 Decoupled v2 Testing Method % Of Test Cases Tested Per Day Relative to Traditional Method # Test Cases Shipped and Validated Relative to Traditional Method Testing Process for Certification of a Key Customer Shipping Platform 1750% 100% Traditional Decoupled Decoupled v1 v2 Testing Method 100.00% 67.00% 38.00% • • Traditional 3268% Decoupled Testing v1 For each test case: field level validation on two transactions Around 200 field comparisons per test case Decoupled Testing v2 Testing Method 18 9
  • 12. 9/19/2013 Case Study: FedEx Delivery Manager 19 FedEx Delivery Manager – Decoupled Testing Business Challenge Parallel development and simultaneous delivery of multiple FedEx applications impacted by the project prevented integration testing prior to Integration Testing. Goals Provide development teams access to key backend systems during Unit Testing in order to identify defects early, and have the ability to inject transactions into various parts of the system to break dependency of needing all systems ready at same time. 20 10
  • 13. 9/19/2013 Results Utilizing DTT, FedEx Delivery Manager early discovered 75% of defects and validated 68% of test cases for the Back-End Systems Delivery Manager Portal started having success • Utilizing injection for Back-End testing, FedEx identified: • 11% of total defects during shakeout • 73% of total revenue defects • 82% of total credit card defects • 63% of total Shipment Event Processing defects 21 Why All Companies Should Be Thinking About Decoupled Testing • As applications and systems become larger and more complex, traditional “end to end” testing becomes un-scalable. • With the increase in 3rd party service providers and service oriented architectures, the ability to decouple those dependencies for testing is critical. • The longer you wait to begin decoupling the testing of your systems, the harder it is to do. • There is probably a LOT of low hanging fruit available to start with. 22 11
  • 14. 9/19/2013 Where to Begin • Involvement and buy-in of internal business counterparts is critical • Identify testing dependencies that cause the most issues (unavailability, late delivery, high associated costs, etc…) • Find the quick wins to build confidence and momentum • Partner with application developers and find ways to share the decoupled testing tools 23 What’s Next? • • • • • • • • User-driven, integrated data management system Minimal development on interface rollout High-level reliability & instrumentation • Failure tolerant (re-connect) • Standard FedEx logging (monitor) • Unattended operation Scalable without incurring major licensing cost Large Capacity Service Oriented Architecture for Integration with other Systems Rules-driven business logic Synergistic Test Management System 24 12
  • 15. 9/19/2013 QUESTIONS? 25 13

×