Integration functionality for a test tool for application programming interfaces
First Claim
1. A method for capturing a call to an application programming interface (API) using a framework, the framework including an execution engine and an adapter, the execution engine being arranged to communicate with the adapter to cause the API call to be executed, the method comprising:
- making the API call;
constructing an object using metadata associated with the API call;
converting the object into a node, the node being of a declarative metadata format; and
storing the node.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and apparatus for enabling efficient testing of application programming interface (API) frameworks and application code are disclosed. According to one aspect of the present invention, a method for capturing a call to an API using a framework including an execution engine that communicate with an adapter to cause the API call to be executed involves making the API call and constructing an object using metadata associated with the API call. The constructed object is converted into a node that is of a declarative metadata format, and the node is stored.
-
Citations
39 Claims
-
1. A method for capturing a call to an application programming interface (API) using a framework, the framework including an execution engine and an adapter, the execution engine being arranged to communicate with the adapter to cause the API call to be executed, the method comprising:
-
making the API call;
constructing an object using metadata associated with the API call;
converting the object into a node, the node being of a declarative metadata format; and
storing the node. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for capturing a call to an application programming interface (API), the system comprising:
-
a recording tool the recording tool being arranged to construct an object with metadata that is associated with the API call;
an execution engine, wherein the recording tool is arranged to pass the object to the execution engine;
an adapter, wherein the execution engine is arranged to communicate with the adapter to cause the adapter to convert the object into a node, the node being of a declarative metadata format; and
a repository, the repository being arranged to store the node. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A system for capturing a call to an application programming interface (API), the system comprising:
-
means for making the API call;
means for constructing an object using metadata associated with the API call;
means for converting the object into a node, the node being of a declarative metadata format; and
means for storing the node. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. A framework suitable for use to test an application programming interface (API), the framework comprising:
-
a metadata provider arrangement, the metadata provider arrangement being arranged to store declarative metadata;
a metadata provider interface arranged to obtain the declarative metadata associated with a test from the declarative metadata provider;
a first test adapter, the first test adapter being arranged to include logic used to process the declarative metadata, the first test adapter further being arranged to access remote information;
a test interface, the test interface being arranged to cooperate with the first test adapter to construct the test, wherein the first test adapter is effectively interfaced with the test interface; and
a execution engine, the execution engine being arranged to communicate with the test interface to cause the test to be executed. - View Dependent Claims (22, 23, 24)
-
-
25. A method for running an application programming interface (API) test comprising:
-
obtaining test data, the test data including declarative metadata, the test data being obtained using a test declarative metadata adapter of a first class;
providing the test data to a test interface; and
executing a test associated with the test data using the test interface, wherein executing the test associated with the test data using the test interface includes calling a first test adapter of the first class to obtain testing logic for executing the test associated with the test data, the first test adapter being in communication with the test interface, the first test adapter being arranged to include a generic test adapter portion that defines at least one tag that is common to a plurality of test adapters of the first class and a test adapter portion that defines at least one tag that is not common to the plurality of test adapters of the first class, the first test adapter further being arranged to access one of an application and a database. - View Dependent Claims (26, 27)
-
-
28. A system suitable for use to test an application programming interface (API), the system comprising:
-
a framework arranged to perform an API test by causing a test script associated with the API test to be executed, the framework including a test interface and an execution engine, the execution engine being arranged to communicate with the test interface to cause the API test to be executed, the test script including declarative metadata, the framework further including a rendering interface in communication with the execution engine and at least one renderer in communication with the rendering interface, the rendering interface being arranged to facilitate a transformation of information associated with the API test, the at least one renderer being arranged to implement the rendering interface; and
an application, the application being arranged to communicate with the rendering interface through the at least one renderer. - View Dependent Claims (29, 30, 31)
-
-
32. A method for interfacing an application with a framework, the framework being arranged to execute an API call, the framework including an execution engine and at least one adapter, the execution engine being arranged to cause the at least one adapter to execute the API call, the API call being specified in declarative metadata, the method comprising:
-
integrating the application with a rendering arrangement, the rendering arrangement being arranged to enable the application to communicate with the execution engine; and
executing the API call, wherein the API call executes while the application communicates with the execution engine. - View Dependent Claims (33, 34, 35)
-
-
36. A framework with which an application is interfaced, the framework being arranged to execute an API call specified in declarative metadata, the framework comprising:
-
means for integrating the application with the framework to enable the application to communicate with the execution engine; and
means for executing the API call, wherein the API call executes while the application communicates with the execution engine. - View Dependent Claims (37)
-
-
38. A method for recording a first API test comprising:
-
embedding a first expression in an inbound parameter of a call associated with the first API test, the first expression being arranged to indicate that the inbound parameter of the call is to be obtained from a second API test, the inbound parameter of the call being an outbound parameter of the second API test; and
recording the inbound parameter of the call. - View Dependent Claims (39)
-
Specification