发明名称 GENERIC TEST AUTOMATION FOR APPLICATION PROGRAMMING INTERFACE APPLICATIONS
摘要 A method for testing an application that invokes an application programming interface (API) comprises identifying signatures for APIs. A package associated with the API is identified in the application under test, and a package name of the API is identified in the signatures. During runtime of the application under test, request and response objects (or other objects) for the identified package are created using the package name and reflection. The created request object is then used to invoke the API to test the application under test and the response object is used to evaluate the response with expected response.
申请公布号 US2017046253(A1) 申请公布日期 2017.02.16
申请号 US201514825312 申请日期 2015.08.13
申请人 CA, Inc. 发明人 Ganda Madhusudhan;Nandakumar Vikrant;Sahoo Tapan
分类号 G06F11/36 主分类号 G06F11/36
代理机构 代理人
主权项 1. A method comprising: receiving certificates from application programming interfaces (API); creating signatures for the API based on the certificates from the API; creating a property file including the signatures for the API; identifying, in an application under test, a package associated with an API; identifying a package name of the API from the signatures included in the property file; creating, using reflection during testing of the application under test, a request object for the identified package using the package name and further using a response from a previous request to the API; and invoking, during testing of the application under test, the API using the request object.
地址 New York NY US