CPC G06F 9/5055 (2013.01) [G06F 9/5066 (2013.01)] | 20 Claims |
1. A method of managing resources, comprising:
determining a set of candidate requests, the set of candidate requests having a same request type and target resource as a target request;
determining a request pattern of the target request based on a first occurrence of the target request, wherein at least one of the first occurrence of the target request or the target request is associated with a third request, and resource information associated with the target request is included in at least one of:
the first occurrence of the target request and a response to the first occurrence of the target request;
the third request and a response to the third request; or
another request and a response to the other request;
determining a candidate request from the set of candidate requests based on the request pattern;
generating a response to the target request based on a response to the candidate request, where the generating comprises:
determining a format of a candidate response, the format indicating a set of response fields comprised in the candidate response;
determining a first set of fields in the set of response fields that match a set of request fields of the target request; and
generating a target response in the format based on a first set of values associated with the first set of fields in the target request, wherein the generating comprises:
determining a second set of fields in the set of response fields that do not match the set of request fields of the target request;
determining a second set of values associated with the second set of fields in the candidate response; and
generating the target response based on the first set of values and the second set of values;
transmitting the response to a simulation server; and
causing the simulation server to use the response in a simulation operation.
|