US 11,797,431 B2
REST API parser for test automation
Showrya Bollepally, Hyderabad (IN); Debopam K. Sharma, Bangalore (IN); and Robins Yadav, Bijnor (IN)
Assigned to Oracle International Corporation, Redwood Shores, CA (US)
Filed by ORACLE INTERNATIONAL CORPORATION, Redwood Shores, CA (US)
Filed on Dec. 23, 2021, as Appl. No. 17/561,221.
Prior Publication US 2023/0205678 A1, Jun. 29, 2023
Int. Cl. G06F 11/36 (2006.01); G06F 9/54 (2006.01)
CPC G06F 11/3688 (2013.01) [G06F 9/547 (2013.01); G06F 11/3696 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A computer-implemented method for automating representational state transfer (REST) application programming interface (API) testing, the computer-implemented method comprising:
parsing a first test case to extract values for parts of a REST API request and at least one value for a validation parameter;
automatically composing the REST API request at least in part from the extracted values for the parts of the REST API request;
automatically submitting the REST API request for execution by an application;
retrieving a value of a result of the execution of the REST API request from the application;
determining that the at least one value for the validation parameter and the value of the result of the execution of the REST API request are not a match;
tagging the validation parameter with a tag that indicates where the at least one value for the validation parameter and the value of the result of the execution of the REST API request do not match; and
generating an indication that the REST API is not valid for the first test case.