System and Method Implementing a Mock Server
US-2021042210-A1 · Feb 11, 2021 · US
US11695641B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-11695641-B2 |
| Application number | US-202217567772-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jan 3, 2022 |
| Priority date | Sep 17, 2020 |
| Publication date | Jul 4, 2023 |
| Grant date | Jul 4, 2023 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
A mock server implementation for discovery applications is provided. A computing system includes a mock server, which receives a client request from a mock client on a discovery server. The client request corresponds to a user query associated with a discovery of resources on a remote computing system. The mock server determines a first response from a mock response dataset. The first response to the client request is determined based on the received client request. The mock response dataset includes a set of responses associated with a sequence of operations executed in the past for the discovery of resources on the remote computing system. The mock server transmits the determined first response to the mock client on the discovery server. The mock client receives the transmitted first response and sends the received first response to a discovery application interface on a user device.
Opening claim text (preview).
What is claimed is: 1. A mock server of a computing system, wherein the computing system includes one or more processors and program instructions stored in memory, and wherein execution of the program instructions by the one or more processors causes the mock server to perform operations comprising: receiving, as part of a scale test, a plurality of client requests from a mock client on a discovery server; determining, from a mock response dataset, a plurality of responses corresponding to the plurality of client requests; and transmitting the plurality of responses to the mock client, wherein the discovery server is configured to: monitor a set of scale test parameters associated with reception of the plurality of client requests by the mock server and transmission of the plurality of responses to the mock client; and determine a performance metric associated with the scale test based on the set of scale test parameters, and wherein the set of scale test parameters include one or more of: response times associated with the transmission of the plurality of responses, a throughput associated with a number of the plurality of client requests processed in a given amount of time, a processor usage associated with the mock server to respond to the plurality of client requests, a memory usage associated with the mock server to respond to the plurality of client requests, or a network usage associated with reception of the plurality of client requests and transmission of the plurality of responses. 2. The mock server of claim 1 , wherein each record in the mock response dataset includes a respective hash key, a respective client request, and a respective response, and wherein determining the plurality of responses corresponding to the plurality of client requests comprises: identifying a hash key in a client request; looking up, in the mock response dataset, a response associated with the hash key; and based on the response being associated with the hash key, determining that the response corresponds to the client request. 3. The mock server of claim 1 , wherein determining the performance metric comprises determining a weighted average of normalized values of the set of scale test parameters. 4. The mock server of claim 1 , wherein the mock response dataset was derived from records of requests and responses associated with execution of a sequence of past operations for discovery of resources on the computing system. 5. The mock server of claim 4 , wherein a session recorder of the discovery server received the requests and the responses, and created the records therefrom. 6. The mock server of claim 1 , wherein the operations further comprise: duplicating a record of the mock response dataset to form a duplicated record; generating a random value of an attribute of the duplicated record; updating the duplicated record based on the random value; and updating the mock response dataset to include the duplicated record. 7. The mock server of claim 6 , wherein the duplicated record includes a hash key, request, and response of the record. 8. The mock server of claim 7 , wherein the request species a URL and a body, and wherein the response specifies a status indicator and a header value. 9. The mock server of claim 7 , wherein the attribute is a status indicator or a header value of the response. 10. A computer-implemented method comprising: receiving, as part of a scale test, a plurality of client requests from a mock client on a discovery server; determine, from a mock response dataset, a plurality of responses corresponding to the plurality of client requests; and transmit the plurality of responses to the mock client, wherein the discovery server is configured to: monitor a set of scale test parameters associated with reception of the plurality of client requests by a mock server and transmission of the plurality of responses to the mock client; and determine a performance metric associated with the scale test based on the set of scale test parameters, and wherein the set of scale test parameters include one or more of: response times associated with the transmission of the plurality of responses, a throughput associated with a number of the plurality of client requests processed in a given amount of time, a processor usage associated with the mock server to respond to the plurality of client requests, a memory usage associated with the mock server to respond to the plurality of client requests, or a network usage associated with reception of the plurality of client requests and transmission of the plurality of responses. 11. The computer-implemented method of claim 10 , wherein each record in the mock response dataset includes a respective hash key, and wherein determining the plurality of responses corresponding to the plurality of client requests comprises: identifying a hash key in a client request; looking up, in the mock response dataset, a response associated with the hash key; and based on the response being associated with the hash key, determining that the response corresponds to the client request. 12. The computer-implemented method of claim 10 , wherein the mock response dataset was derived from records of requests and responses associated with execution of a sequence of past operations for discovery of resources. 13. The computer-implemented method of claim 12 , wherein a session recorder of the discovery server received the requests and the responses, and created the records therefrom. 14. The computer-implemented method of claim 10 , further comprising: duplicating a record of the mock response dataset to form a duplicated record; generating a random value of an attribute of the duplicated record; updating the duplicated record based on the random value; and updating the mock response dataset to include the duplicated record. 15. The computer-implemented method of claim 14 , wherein the duplicated record includes a hash key, request, and response of the record. 16. The computer-implemented method of claim 15 , wherein the request species a URL and a body, and wherein the response specifies a status indicator and a header value. 17. The computer-implemented method of claim 15 , wherein the attribute is a status indicator or a header value of the response. 18. A non-transitory computer-readable medium having stored thereon, computer-executable instructions which, when executed by a computing system, causes the computing system to execute operations, the operations comprising: receiving, as part of a scale test, a plurality of client requests from a mock client on a discovery server; determine, from a mock response dataset, a plurality of responses corresponding to the plurality of client requests; and transmit the plurality of responses to the mock client, wherein the discovery server is configured to: monitor a set of scale test parameters associated with reception of the plurality of client requests by a mock server and transmission of the plurality of responses to the mock client; and determine a performance metric associated with the scale test based on the set of scale test parameters, and wherein the set of scale test parameters include one or more of: response times associated with the transmission of the plurality of responses, a throughput associated with a number of the plurality of client requests processed in a given amount of time, a processor usage associated with the mock server to respond to the plurality of client requests, a memory usage associated with the mock server to respond to the plurality of client requests, or
Discovery or management of network topologies · CPC title
Testing arrangements · CPC title
Protocols for remote procedure calls [RPC] · CPC title
Standardised network management protocols, e.g. simple network management protocol [SNMP] · CPC title
using cryptographic hash functions · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.