API Validation Virtual Hash Map for SOAP REST Testing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing API testing and validation methods are inefficient, requiring manual traversal of large responses to find actual values for assertions, leading to increased regression cycle time and processor overhead, and lack automation for parallel execution across different protocols.

Innovation Solution

A dynamic and configurable API Testing and Validation System that receives executable code requests, processes payload responses, and maps key-value pairs to generate a virtual hash map for comparison, enabling automated testing and validation of SOAP and REST web services with reduced script modifications and parallel execution capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual traversal of large responses is used to find actual values for assertions, then testing accuracy can be maintained, but regression cycle time increases and processor overhead increases

Engineering Contradiction:
Improvetesting accuracyVSAvoidregression cycle time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent replaces manual mechanical traversal of response data with an automated hashing system. The Comparator component automatically generates hashes of actual response values and compares them against expected hash values, substituting the manual mechanical process of finding and verifying values with an automated computational hashing mechanism. This maintains testing accuracy while dramatically reducing regression cycle time.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Measurement precision

If manual traversal of large responses is used to find actual values for assertions, then testing accuracy can be maintained, but processor overhead increases

Engineering Contradiction:
Improvetesting accuracyVSAvoidprocessor overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent substitutes the computationally intensive manual traversal process with a more efficient hashing mechanism. The Comparator component generates hashes of actual response values and performs hash comparisons, which are computationally less intensive than full-value comparisons and traversals. This reduces processor overhead while maintaining testing accuracy through the deterministic nature of hash functions.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Productivity

If automated testing is implemented across different protocols, then testing efficiency improves, but device complexity increases

Engineering Contradiction:
Improvetesting efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent implements a universal testing system where the Comparator component can handle multiple protocols (SOAP, REST, and other web service protocols) through a single unified interface. The system accepts executable code requests for different protocol types and processes them through the same hashing and comparison mechanism, achieving multi-protocol support without requiring separate testing systems for each protocol, thus improving testing efficiency while managing system complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12010182B2System and methods for application programming interface validation and testing
Publication Date: 2024.06.11 ALLSTATE INSURANCE COMPANY
  • US12010182B2 patent drawing
  • US12010182B2 patent drawing
  • US12010182B2 patent drawing

AI summary

Aspects of the disclosure relate to methods, computer-readable media, systems, and apparatuses for receiving data. An electronic computer implemented method of API testing and validation is provided. In the method, via a computer-based network, includes receiving a plurality of executable code requests for a first plurality of uniform resource network nodes associated with a first network protocol and a second plurality of uniform resource network nodes associated with a second network protocol. In the method each of the executable code requests are associated with a baseline attribute data value. Further, the method includes electronically receiving a plurality of payload response attribute data values associated with each executable request and electronically parsing the payload response attribute values with Parser component. The method includes electronically processing the parsed payload response attribute values with Comparator component and mapping to each of the code requests associated with the baseline attribute value to generate a virtual hash map of key pairs.