Implementation of a mock server for discovery applications

US11695641B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11695641-B2
Application numberUS-202217567772-A
CountryUS
Kind codeB2
Filing dateJan 3, 2022
Priority dateSep 17, 2020
Publication dateJul 4, 2023
Grant dateJul 4, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

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.

First claim

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

Assignees

Inventors

Classifications

  • H04L41/12Primary

    Discovery or management of network topologies · CPC title

  • H04L43/50Primary

    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

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11695641B2 cover?
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 …
Who is the assignee on this patent?
Servicenow Inc
What technology area does this patent fall under?
Primary CPC classification H04L41/12. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jul 04 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).