Method and device for testing microservice-based computing platforms

US11947435B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11947435-B2
Application numberUS-202217876946-A
CountryUS
Kind codeB2
Filing dateJul 29, 2022
Priority dateAug 16, 2021
Publication dateApr 2, 2024
Grant dateApr 2, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A computer-implemented method for testing a functionality of a computing platform, the computing platform comprising a first microservice, the method comprising: receiving, by an injector microservice, a test configuration file; determining from the test configuration file: a test input message; a test input communication mechanism; and a test output communication mechanism. The method further comprises: generating a test identifier for identifying that a message is being used for testing purposes; transmitting, by the injector microservice, the test input message to the first microservice using the test input communication mechanism, wherein the test input message comprises the test identifier; identifying, by the injector microservice, an output message transmitted via the test output communication mechanism that comprises the test identifier; and recording, by the injector microservice, the output message comprising the test identifier.

First claim

Opening claim text (preview).

The invention claimed is: 1. A computer-implemented method for testing a functionality of a microservice-based computing platform, the computing platform comprising a first microservice and an injector microservice, the method comprising: receiving, by the injector microservice, a test configuration file from a test client; determining from the test configuration file: a test input message; a test input communication mechanism; and a test output communication mechanism; generating a test identifier for identifying that a message is being used for testing purposes; transmitting, by the injector microservice, the test input message to the first microservice using the test input communication mechanism, wherein the test input message comprises the test identifier; identifying, by the injector microservice, an output message transmitted via the test output communication mechanism, wherein the output message comprises the test identifier; recording, by the injector microservice, the output message comprising the test identifier; and reporting a test output to the test client, wherein the test output comprises the recorded output message. 2. The computer-implemented method of claim 1 wherein the test input communication mechanism is a first data stream, and transmitting, by the injector microservice, the test input message comprises: generating a first data record comprising the test input message; and publishing the first data record to the first data stream. 3. The computer-implemented method of claim 2 wherein the test output communication mechanism is a second data stream, the test identifier comprises a correlation identification value, and identifying, by the injector microservice, the output message transmitted via the test output communication mechanism comprises: subscribing to the second data stream; and identifying a second data record published to the second data stream comprising the correlation identification value. 4. The computer-implemented method of claim 2 wherein the test configuration file further comprises a first limit associated with a predetermined threshold, and identifying the output message transmitted via the test output communication mechanism comprises: identifying a number of output messages transmitted via the test output communication mechanism, wherein the number of output messages is greater than or equal to one. 5. The computer-implemented method of claim 4 further comprising: determining, by the injector microservice, that the number of output messages equals the predetermined threshold; and in response to determining that the number of output messages equals the predetermined threshold, transmitting, by the injector microservice, information recorded by the injector microservice. 6. The computer-implemented method of claim 1 wherein the computing platform comprises a second microservice, and further comprising: receiving, from the second microservice, a first message to be transmitted via the test output communication mechanism, wherein the first message is intended for a destination. 7. The computer-implemented method of claim 6 wherein the first message is the output message, and identifying the output message transmitted via the test output communication mechanism comprises: receiving, by the injector microservice, the first message. 8. The computer-implemented method of claim 6 further comprising: determining, by the injector microservice, that the test configuration file does not comprise a mock reply associated with the destination; and transmitting, by the injector microservice, the first message to the destination in response to determining that the injector microservice does not comprise the mock reply associated with the destination. 9. The computer-implemented method of claim 8 further comprising: determining, by the injector microservice, that the test configuration file comprises the mock reply associated with the destination; and transmitting the mock reply to the second microservice in response to determining that the test configuration file comprises the mock reply associated with the destination. 10. The computer-implemented method of claim 8 further comprising: receiving, by the injector microservice, a response message, wherein the response message is transmitted by the destination in response to receiving the first message; and transmitting, by the injector microservice to the second microservice, the response message, in response to receiving the response message transmitted by the destination. 11. The computer-implemented method of claim 6 wherein the test output communication mechanism is HTTP, the first message to be transmitted by the test output communication mechanism is a HTTP message, and the test identifier is a flag in a header of a HTTP message. 12. The computer-implemented method of claim 1 , wherein the test configuration file further comprises information identifying a criteria for recording messages, the computing platform comprises a second microservice, and further comprising: receiving, from the second microservice, a request for the information identifying the criteria for recording messages in response to determining that a first message that is to be transmitted by the second microservice and is intended for a destination; transmitting, by the injector microservice, to the second microservice, a second message comprising the information identifying the criteria for recording messages; receiving, by the second microservice, the second message; determining, by the second microservice, that the first message satisfies the criteria for recording messages; and in response to determining that the first message satisfies the criteria, recording, by the second microservice, information associated with the first message. 13. An apparatus for testing a functionality of a microservice-based computing platform, the computing platform comprises a first microservice, and the apparatus comprising: an injector microservice, the injector microservice configured to: receive a test configuration file from a test client; determine from the test configuration file: a test input message; a test input communication mechanism; and a test output communication mechanism; generate a test identifier for identifying that a message is being used for testing purposes; transmit the test input message to the first microservice using the test input communication mechanism, wherein the test input message comprises the test identifier; identify an output message transmitted via the test output communication mechanism, wherein the output message comprises the test identifier; record the output message comprising the test identifier; and report a test output to the test client, wherein the test output comprises the recorded output message. 14. The apparatus of claim 13 wherein the test output communication mechanism is a data stream, the test identifier comprises a correlation identification value, and the injector microservice is further configured to: subscribe to the data stream; and identify a second data record published to the data stream comprising the correlation identification value, when identifying the output message transmitted via the test output communication mechanism. 15. The apparatus of claim 14 wherein the injector microservice is further configured to: receive a second message from a second microservice, wherein the second message is intended for a destination. 16. The apparatus of claim 15 wherein the injector microservice is further configured to: recei

Assignees

Inventors

Classifications

  • G06F11/263Primary

    Generation of test inputs, e.g. test vectors, patterns or sequences {; with adaptation of the tested hardware for testability with external testers} · CPC title

  • Message passing systems or structures, e.g. queues · CPC title

  • for test execution, e.g. scheduling of test suites · CPC title

  • Threshold · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11947435B2 cover?
A computer-implemented method for testing a functionality of a computing platform, the computing platform comprising a first microservice, the method comprising: receiving, by an injector microservice, a test configuration file; determining from the test configuration file: a test input message; a test input communication mechanism; and a test output communication mechanism. The method further …
Who is the assignee on this patent?
Amadeus Sas
What technology area does this patent fall under?
Primary CPC classification G06F11/263. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Apr 02 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).