Invention Grant
- Patent Title: Method and system for automated testing of web service APIs
-
Application No.: US17482841Application Date: 2021-09-23
-
Publication No.: US11768759B2Publication Date: 2023-09-26
- Inventor: Ashish Mani Tiwari , Brijendra Sharma
- Applicant: Tata Consultancy Services Limited
- Applicant Address: IN Mumbai
- Assignee: Tata Consultancy Services Limited
- Current Assignee: Tata Consultancy Services Limited
- Current Assignee Address: IN Mumbai
- Agency: Finnegan, Henderson, Farabow, Garrett & Dunner, LLP
- Priority: IN 2021042302 2020.09.29
- Main IPC: G06F11/36
- IPC: G06F11/36 ; H04L67/02

Abstract:
Existing methods of automated testing of web service APIs require additional tools to extract API related details and configuration files to create test cases. The method and system disclosed herein taps annotations present in code of web service APIs to extract API related details and creates test cases using the extracted data. The method disclosed herein describes an approach to identify resource classes related to a plurality of web service APIs using built-in annotations in code of web application under test. Further, the identified resource classes are scanned to extract API related details (metadata) using built-in annotations and annotations given by a developer. Further, the extracted metadata is forwarded to a test engine server which generates a plurality of test cases using the extracted metadata. Further, the plurality of web service APIs are tested using the generated test cases.
Public/Granted literature
- US20220100644A1 METHOD AND SYSTEM FOR AUTOMATED TESTING OF WEB SERVICE APIs Public/Granted day:2022-03-31
Information query