System and method to test executable instructions
First Claim
Patent Images
1. A method of testing an application programming interface (API) call, comprising:
- receiving a test API call to access at least one web service, the test API call indicating a schema associated with the at least one web service;
validating the test API call based on the schema;
simulating an API response for the validated test API call that would be generated by the at least one web service had the at least one web service received and processed the test API call, the simulated API response including sample data; and
providing the simulated API response.
2 Assignments
0 Petitions
Accused Products
Abstract
This document discusses, among other things, a method of testing an Application Programming Interface (API) call that includes receiving data identifying a schema associated with web services together with an API call. Various example embodiments may relate to accessing a data repository associated with the schema to identify an API response corresponding to the API call. In some example embodiments, a message is returned that is based on a determination of whether the API call is valid. The example message may simulate an API response from web services.
53 Citations
27 Claims
-
1. A method of testing an application programming interface (API) call, comprising:
-
receiving a test API call to access at least one web service, the test API call indicating a schema associated with the at least one web service; validating the test API call based on the schema; simulating an API response for the validated test API call that would be generated by the at least one web service had the at least one web service received and processed the test API call, the simulated API response including sample data; and providing the simulated API response. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory machine-readable medium storing instructions, which when executed by the least one processor performs a method of testing an application programming interface (API) call, the method comprising:
-
receiving a test API call to access at least one web service, the test API call indicating a schema associated with the at least one web service; validating the test API call based on the schema; simulating an API response for the validated test API call that would be generated by the at least one web service had the at least one web service received and processed the API call, the simulated API response including sample data; and providing the simulated API response. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A response simulator to test an Application Programming Interface (API) call, the response simulator comprising:
-
a communication interface to be communicatively coupled to a user interface and to receive from the user interface; a test API call to access at least one web service, the test API call indicating a schema associated with the at least one web service; a validation module communicatively coupled to the communication interface to determine whether the test API call is valid; and a response module communicatively coupled to the validation module and to the communication interface to; simulate an API response for the validated test API call that would be generated by the at least one web service had the at least one web service received and processed the test API call, the simulated API response including sample data, and provide the simulated API response. - View Dependent Claims (18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A system to test an application programming interface (API) call, comprising:
-
receiving means for receiving a test API call to access at least one web service, the test API call indicating a schema associated with the at least one web service; validating means for validating the test API call based on the schema; simulating means for simulating an API response for the validated test API call that would be generated by the at least one web service had the at least one web service received and processed the test API call; and responsive means for providing the simulated API response.
-
Specification