Patent 11474794 was granted and assigned to Red Hat on October, 2022 by the United States Patent and Trademark Office.
Generating mock services based on log entries is disclosed herein. In some examples, a processor device of a computing device retrieves a plurality of log entries related to an error condition within a container platform. The processor device identifies a first pair of log entries that corresponds to a first request message received by a first service and a first response message sent by the first service, where the first response message corresponds to the error condition. The processor device next identifies a second pair of log entries that corresponds to a second request message sent by the first service to a second service and a second response message received by the first service from the second service. Based on the second pair of log entries, the processor device generates a mock service that simulates functionality of the second service for use in subsequent testing of the first service.