Abstract: The present invention relates to a method for automated testing of an Application Program Interface (API). A test requirement data is received to test an API from a first database (105). Further, the test requirement data is translated into a first set of vectors. Furthermore, one or more test scripts from a plurality of test scripts stored in a second database (106) is selected based on output of the trained artificial neural network. The output indicative of a probability of effectiveness associated with the one or more test scripts is generated using the first set of vectors as inputs to a trained artificial neural network. The one or more test scripts are executed to test and validate the API.
1. A method for automated testing of an Application Program Interface (API), the method
comprising:
receiving, by an API testing system (103), a test requirement data to test an API from a first database (105);
translating, by the API testing system (103), the test requirement data into a first set of vectors;
selecting, by the API testing system (103), one or more test scripts from a plurality of test scripts stored in a second database (106) based on outputs generated using the first set of vectors provided as inputs to a trained artificial neural network, wherein the outputs are indicative of a probability of effectiveness associated with the one or more test scripts; and
executing, by the API testing system (103), the one or more test scripts to test and validate the API.
2. The method as claimed in claim 1, wherein translating the received test requirement data into the first set of vectors is based on a word to vector model.
3. The method as claimed in claim 1, wherein the artificial neural network is trained based on a supervised learning algorithm using the first database (105) as input and the second database (106) associated with the API testing system (103) as expected output.
4. The method as claimed in claim 1, wherein the one or more test scripts comprises one or more test scenarios, wherein a result of executing the one or more test scenarios from the one or more test scripts is compared with expected result for validation.
5. The method as claimed in claim 1 further comprising generating a plurality of test reports based on the validation of the API, wherein the plurality of test reports comprises at least one of performance results of the tested API, test execution status, and test execution statistics, further the artificial neural network is trained based on plurality of generated test reports.
6. An API testing system (103) for automated testing of an Application Program Interface (API),
the API testing system (103) comprising:
a processor, and
a memory communicatively coupled to the processor, wherein the memory stores the processor-executable instructions, which, on execution, causes the processor to:
receive a test requirement data to test an API from a first database (105); translate the test requirement data into a first set of vectors;
select a one or more test scripts from a plurality of test scripts stored in a second database (106) based on outputs generated using the first set of vectors provided as inputs to a trained artificial neural network, wherein the outputs are indicative of a probability of effectiveness associated with the one or more test scripts; and
execute the one or more test scripts to test and validate the API;
7. The API testing system (103) as claimed in claim 8, wherein the processor is configured to translate the received test requirement data into the first set of vectors is based on a word to vector model.
8. The API testing system (103) as claimed in claim 8, wherein the processor is configured to train the artificial neural network based on a supervised learning algorithm using the first database (105) as input and the second database (106) associated with the API testing system (103) as expected output.
9. The API testing system (103) as claimed in claim 8, wherein the processor is configured to validate the API by comparing a result of executing one or more test scenarios from the one or more test scripts with expected result.
10. The API testing system (103) as claimed in claim 8, wherein the processor is configured to
generate a plurality of test reports based on the validation of the API, wherein the plurality of test
reports comprises at least one of performance results of the tested API, test execution status, and
test execution statistics, further the artificial neural network is trained based on plurality of generated test reports.
| # | Name | Date |
|---|---|---|
| 1 | 201941024349-STATEMENT OF UNDERTAKING (FORM 3) [19-06-2019(online)].pdf | 2019-06-19 |
| 2 | 201941024349-Request Letter-Correspondence [19-06-2019(online)].pdf | 2019-06-19 |
| 3 | 201941024349-REQUEST FOR EXAMINATION (FORM-18) [19-06-2019(online)].pdf | 2019-06-19 |
| 4 | 201941024349-POWER OF AUTHORITY [19-06-2019(online)].pdf | 2019-06-19 |
| 5 | 201941024349-Power of Attorney [19-06-2019(online)].pdf | 2019-06-19 |
| 6 | 201941024349-FORM 18 [19-06-2019(online)].pdf | 2019-06-19 |
| 7 | 201941024349-FORM 1 [19-06-2019(online)].pdf | 2019-06-19 |
| 8 | 201941024349-Form 1 (Submitted on date of filing) [19-06-2019(online)].pdf | 2019-06-19 |
| 9 | 201941024349-DRAWINGS [19-06-2019(online)].pdf | 2019-06-19 |
| 10 | 201941024349-DECLARATION OF INVENTORSHIP (FORM 5) [19-06-2019(online)].pdf | 2019-06-19 |
| 11 | 201941024349-COMPLETE SPECIFICATION [19-06-2019(online)].pdf | 2019-06-19 |
| 12 | 201941024349-RELEVANT DOCUMENTS [27-09-2021(online)].pdf | 2021-09-27 |
| 13 | 201941024349-RELEVANT DOCUMENTS [27-09-2021(online)]-1.pdf | 2021-09-27 |
| 14 | 201941024349-Proof of Right [27-09-2021(online)].pdf | 2021-09-27 |
| 15 | 201941024349-PETITION UNDER RULE 137 [27-09-2021(online)].pdf | 2021-09-27 |
| 16 | 201941024349-PETITION UNDER RULE 137 [27-09-2021(online)]-1.pdf | 2021-09-27 |
| 17 | 201941024349-OTHERS [27-09-2021(online)].pdf | 2021-09-27 |
| 18 | 201941024349-Information under section 8(2) [27-09-2021(online)].pdf | 2021-09-27 |
| 19 | 201941024349-FORM 3 [27-09-2021(online)].pdf | 2021-09-27 |
| 20 | 201941024349-FER_SER_REPLY [27-09-2021(online)].pdf | 2021-09-27 |
| 21 | 201941024349-DRAWING [27-09-2021(online)].pdf | 2021-09-27 |
| 22 | 201941024349-CORRESPONDENCE [27-09-2021(online)].pdf | 2021-09-27 |
| 23 | 201941024349-COMPLETE SPECIFICATION [27-09-2021(online)].pdf | 2021-09-27 |
| 24 | 201941024349-CLAIMS [27-09-2021(online)].pdf | 2021-09-27 |
| 25 | 201941024349-FER.pdf | 2021-10-17 |
| 26 | 201941024349-US(14)-HearingNotice-(HearingDate-15-05-2024).pdf | 2024-04-16 |
| 27 | 201941024349-POA [23-04-2024(online)].pdf | 2024-04-23 |
| 28 | 201941024349-FORM 13 [23-04-2024(online)].pdf | 2024-04-23 |
| 29 | 201941024349-Correspondence to notify the Controller [23-04-2024(online)].pdf | 2024-04-23 |
| 30 | 201941024349-AMENDED DOCUMENTS [23-04-2024(online)].pdf | 2024-04-23 |
| 31 | 201941024349-Written submissions and relevant documents [30-05-2024(online)].pdf | 2024-05-30 |
| 32 | 201941024349-PatentCertificate31-05-2024.pdf | 2024-05-31 |
| 33 | 201941024349-IntimationOfGrant31-05-2024.pdf | 2024-05-31 |
| 1 | searchE_26-03-2021.pdf |
| 2 | Search21AE_16-12-2021.pdf |