Patent Document ID: 10031836
Application ID: 14535950

Base Claim:
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.

---

Claim 4:
4. The method of claim 1 , wherein for the respective cluster prototypes, the extracting the sequence further comprises: inserting the common characters into the sequence based on the frequency of occurrence at the respective positions being above a threshold; and inserting the wildcard characters into the sequence based on the frequency of occurrence at the respective positions being below the threshold.