Invention Grant
- Patent Title: Mock server for testing
-
Application No.: US16112485Application Date: 2018-08-24
-
Publication No.: US10657038B1Publication Date: 2020-05-19
- Inventor: Garrett Bates
- Applicant: INTUIT INC.
- Applicant Address: US CA Mountain View
- Assignee: INTUIT, INC.
- Current Assignee: INTUIT, INC.
- Current Assignee Address: US CA Mountain View
- Agency: Patterson + Sheridan, LLP
- Main IPC: G06F11/36
- IPC: G06F11/36 ; G06F9/54 ; G06F9/44 ; G06F9/451 ; H04L12/24 ; H04L29/08 ; G06F9/448 ; G06F16/21 ; G06F16/957

Abstract:
Systems of the present disclosure provide a versatile, reusable mock server to respond to Application-Programming-Interface (API) requests. The mock server receives an API request and a cookie associated with the API request. The API server identifies response instructions found in the cookie. The response instructions may include a static response value, a name of an API server for the mock server to imitate, or code for the mock server to execute in the process of generating a mock API response. The mock server generates a mock API response based on the response instructions and sends the mock API response in reply to the API request.
Information query