×

Systems and methods for automatically generating message prototypes for accurate and efficient opaque service emulation

  • US 10,031,836 B2
  • Filed: 11/07/2014
  • Issued: 07/24/2018
  • Est. Priority Date: 06/16/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method of service emulation, the method comprising:

  • recording a plurality of messages communicated between a system under test and a target system for emulation in a computer-readable memory;

    clustering ones of the recorded plurality of messages to define a plurality of message clusters;

    generating respective cluster prototypes for the plurality of message clusters with respect to the plurality of message clusters, the respective cluster prototypes comprising a commonality among the ones of the recorded plurality of messages of the corresponding message clusters, wherein the generating the respective cluster prototypes comprises;

    aligning the ones of the recorded plurality of messages of the corresponding message clusters according to respective positions of the ones of the recorded plurality of messages of the corresponding message clusters;

    identifying common characters based on a frequency of occurrence at the respective positions indicated by the aligning; and

    extracting a sequence comprising the common characters from the ones of the messages of the corresponding message clusters responsive to the aligning, wherein extracting the sequence comprises;

    determining a lack of consensus based on the frequency of occurrence at the respective positions; and

    inserting wildcard characters into the sequence responsive to determining the lack of consensus;

    automatically identifying one of the message clusters as corresponding to a request from the system under test based on a comparison of the request with the respective cluster prototypes; and

    automatically generating a response to the request for transmission to the system under test based on the one of the message clusters that was identified and transmitting the response to the system under test,wherein the recording, the clustering, the generating the respective cluster prototypes, the identifying, and the generating the response comprise operations performed by a processor coupled to the memory.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×