Service testing framework
AssigneeAmazon Technologies, Inc.
InventorZachary Mohamed Shalla
Life of this patent
Estimating the term…
Abstract
Disclosed are various embodiments for a service testing application. A service testing application executes test operations for services in a service-oriented architecture. If a test is failed, services that are dependent upon a failing service are reconfigured to instead call a corresponding service in a different installation of the service-oriented architecture. A dependency model of the service-oriented architecture may be searched to determine which service dependencies to reconfigure.
Claims20
A non-transitory computer-readable medium embodying a program executable in at least one computing device, wherein the program, when executed, causes the at least one computing device to at least:
- execute, according to a dependency model, a plurality of test operations corresponding to a plurality of services in a first installation of a service-oriented architecture;
- determine a first failing one of the plurality of services as a function of the plurality of test operations, the first failing one of the plurality of services being independent of a second failing one of the plurality of services;
- modify a reference of one of the plurality of services dependent on the first failing one of the plurality of services to be directed to a distinct instance of the first failing one of the plurality of services executed in a second installation of the service-oriented architecture;
- determine a first subset of the plurality of services to share a same installation as the first failing one of the plurality of services;
- individual ones of a second subset of the plurality of services having a respective URL (Uniform Resource Locator) reference directed to a respective one of the first subset of the plurality of services to be directed to a distinct instance of the respective one of the first subset of the plurality of services executed in the second installation of the service-oriented architecture;
- wherein the first installation of the service-oriented architecture is executed in a first data center region and the second installation of the service-oriented architecture is executed in a second data center region distinct from the first data center region.
A system, comprising:
- at least one computing device configured to at least:
- execute a plurality of test operations associated with an operation of a plurality of services of a first installation of a service-oriented architecture;
- modify, responsive to a first one of the plurality of services corresponding to a failed one of the plurality of test operations, a configuration of a second one of the plurality of services calling the first one of the plurality of services to call a distinct instance of the first one of the plurality of services executed in a second installation of the service-oriented architecture;
- determine a first subset of the plurality of services to share a same installation as the first one of the plurality of services;
- and
- modify individual ones of a second subset of the plurality of services configured to call a respective one of the first subset of the plurality of services to call a distinct instance of the respective one of the first subset of the plurality of services executed in the second installation of the service-oriented architecture.
A method, comprising:
- executing, in a computing device, according to a dependency model, a plurality of test operations corresponding to a plurality of services of a first installation of a service-oriented architecture;
- determining, in the computing device, a first failing one of the plurality of services as a function of the plurality of test operations, the first failing one of the plurality of services being independent of a second failing one of the plurality of services;
- modifying, in the computing device, a configuration of one of the plurality of services dependent on the first failing one of the plurality of services to call a distinct instance of the first failing one of the plurality of services executed in a second installation of the service-oriented architecture;
- executing, in the computing device, after modifying the configuration of the first one of the plurality of services, one of the plurality of test operations corresponding to the first one of the plurality of services;
- and
- modifying, in the computing device, responsive to a failing of the one of the plurality of test operations, a configuration of a second one of the plurality of services dependent on the first one of the plurality of services to call a distinct instance of the first one of the plurality of services.
Dependencies are inferred from the claim text.