Abstract: A method of automatically generating a test artifact is disclosed. The method involves executing a business process comprising one or more web services; monitoring the business process to identify process modules of the business process invoking the at least one web service, wherein the one or more process modules invoking the at least one web service corresponds to one or more integration points; mapping the one or more integration points to one or more corresponding nodes of a business process model associated with the business process; mapping data parameters associated with each node upstream of the one or more mapped nodes of the business process model to one or more request data fields of a test script; and generating, by the hardware processor, the test artifact by automatically populating the request data fields with test data corresponding to the data parameters associated with the one or more request data fields.
CLIAMS:We claim:
1. A method of automatically generating a test artifact , the method comprising:
executing, using a hardware processor, a business process comprising at least one web service;
monitoring the business process to identify one or more process modules of the business process invoking the at least one web service, wherein the one or more process modules invoking the at least one web service corresponds to one or more integration points;
mapping the one or more integration points to one or more corresponding nodes of a business process model associated with the business process;
mapping data parameters associated with each node upstream of the one or more mapped nodes of the business process model to one or more request data fields of a test script; and
generating, by the hardware processor, the test artifact by automatically populating the request data fields with test data corresponding to the data parameters associated with the one or more request data fields.
2. The method of claim 1, further comprising parsing the business process model to identify one or more business process paths.
3. The method of claim 2, further comprising determining a criticality of the one or more business process paths based on a criticality of one or more nodes of the one or more business process paths.
4. The method of claim 1, wherein the one or more request data fields are identified based on a specification of the Web Service associated with the each of the one or more integration points.
5. The method of claim 1, wherein the test script comprises one or more response data fields.
6. The method of claim 5, wherein the one or more response data fields are identified based on a specification of the Web Service associated with the each of the one or more integration points.
7. The method of claim 5, further comprising mapping the one or more response data fields to data parameters associated with each node upstream and downstream of the one or more mapped nodes of the business process model.
8. The method of claim 1, further comprising automatically retrieving test data corresponding to the data parameters associated with the one or more request data fields from one or more databases.
9. The method of claim 5, further comprising retrieving an expected output associated with the one or more response data fields from one or more databases.
10. The method of claim 1, wherein the business process model is an Extensible Markup Language (XML) representation.
11. The method of claim 5, further comprising generating at least one virtual service based on the one or more request data fields and the one or more response data fields.
12. A system for automatically generating a test artifact, comprising:
a processor; and
a memory storing instructions executable by the processor, the instructions comprising instructions to:
execute a business process comprising at least one web service;
monitor the business process to identify one or more process modules of the business process invoking the at least one web service, wherein the one or more process modules invoking the at least one web service corresponds to one or more integration points;
map the one or more integration points to one or more corresponding nodes of a business process model associated with the business process;
map data parameters associated with each node upstream of the one or more mapped nodes of the business process model to one or more request data fields of a test script; and
generate the test artifact by automatically populating the request data fields with test data corresponding to the data parameters associated with the one or more request data fields.
13. The system of claim 12, wherein the instructions further comprise instructions to parse the business process model to identify one or more business process paths.
14. The system of claim 13, wherein the instructions further comprise instructions to determine a criticality of the one or more business process paths based on a criticality of one or more nodes of the one or more business process paths.
15. The system of claim 12, wherein the one or more request data fields are identified based on a specification of the Web Service associated with the each of the one or more integration points.
16. The system of claim 12, wherein the test script comprises one or more response data fields.
17. The system of claim 16, wherein the one or more response data fields are identified based on a specification of the Web Service associated with the each of the one or more integration points.
18. The system of claim 16, wherein the instructions further comprise instructions to map the one or more response data fields to data parameters associated with each node upstream and downstream of the one or more mapped nodes of the business process model.
19. The system of claim 12, wherein the instructions further comprise instructions to automatically retrieve test data corresponding to the data parameters associated with the one or more request data fields from one or more databases.
20. The system of claim 16, wherein the instructions further comprise instructions to retrieve an expected output associated with the one or more response data fields from one or more databases.
21. The system of claim 16, wherein the instructions further comprise instructions to generate at least one virtual service based on the one or more request data fields and the one or more response data fields.
Dated this 26th day of November, 2014
Swetha S.N
Of K&S Partners
Agent for the Applicant
,TagSPECI:TECHNICAL FIELD
This disclosure relates generally to software application testing, and more particularly to a method and system for automatically generating test cases for web service testing.
| Section | Controller | Decision Date |
|---|---|---|
| sec 15 , 2(1)(ja), 3(k), 10(4) | Rakesh | 2023-01-31 |
| 15, 2(1)(ja),3(k) - refusal | Rakesh | 2024-01-05 |
| # | Name | Date |
|---|---|---|
| 1 | 5916-CHE-2014 FORM-9 26-11-2014.pdf | 2014-11-26 |
| 1 | 5916-CHE-2014-PETITION UNDER RULE 137 [02-03-2022(online)].pdf | 2022-03-02 |
| 2 | 5916-CHE-2014 FORM-18 26-11-2014.pdf | 2014-11-26 |
| 2 | 5916-CHE-2014-Written submissions and relevant documents [02-03-2022(online)].pdf | 2022-03-02 |
| 3 | IP29115-Spec.pdf | 2014-11-28 |
| 3 | 5916-CHE-2014-FORM-26 [10-02-2022(online)].pdf | 2022-02-10 |
| 4 | IP29115-fig.pdf | 2014-11-28 |
| 4 | 5916-CHE-2014-AMENDED DOCUMENTS [07-02-2022(online)].pdf | 2022-02-07 |
| 5 | FORM 3-IP29115.pdf | 2014-11-28 |
| 5 | 5916-CHE-2014-Correspondence to notify the Controller [07-02-2022(online)].pdf | 2022-02-07 |
| 6 | 5916-CHE-2014-Request For Certified Copy-Online(01-12-2014).pdf | 2014-12-01 |
| 6 | 5916-CHE-2014-FORM 13 [07-02-2022(online)].pdf | 2022-02-07 |
| 7 | 5916CHE2014_CertifiedCopyRequest.pdf | 2014-12-02 |
| 7 | 5916-CHE-2014-POA [07-02-2022(online)].pdf | 2022-02-07 |
| 8 | 5916-CHE-2014-US(14)-HearingNotice-(HearingDate-15-02-2022).pdf | 2022-01-24 |
| 8 | 5916-CHE-2014 POWER OF ATTORNEY 30-12-2014.pdf | 2014-12-30 |
| 9 | 5916-CHE-2014 FORM-1 30-12-2014.pdf | 2014-12-30 |
| 9 | 5916-CHE-2014-FER_SER_REPLY [26-01-2020(online)].pdf | 2020-01-26 |
| 10 | 5916-CHE-2014 CORRESPONDENCE OTHERS 30-12-2014.pdf | 2014-12-30 |
| 10 | 5916-CHE-2014-FORM 3 [26-01-2020(online)].pdf | 2020-01-26 |
| 11 | 5916-CHE-2014-FER.pdf | 2019-07-26 |
| 12 | 5916-CHE-2014 CORRESPONDENCE OTHERS 30-12-2014.pdf | 2014-12-30 |
| 12 | 5916-CHE-2014-FORM 3 [26-01-2020(online)].pdf | 2020-01-26 |
| 13 | 5916-CHE-2014 FORM-1 30-12-2014.pdf | 2014-12-30 |
| 13 | 5916-CHE-2014-FER_SER_REPLY [26-01-2020(online)].pdf | 2020-01-26 |
| 14 | 5916-CHE-2014 POWER OF ATTORNEY 30-12-2014.pdf | 2014-12-30 |
| 14 | 5916-CHE-2014-US(14)-HearingNotice-(HearingDate-15-02-2022).pdf | 2022-01-24 |
| 15 | 5916-CHE-2014-POA [07-02-2022(online)].pdf | 2022-02-07 |
| 15 | 5916CHE2014_CertifiedCopyRequest.pdf | 2014-12-02 |
| 16 | 5916-CHE-2014-FORM 13 [07-02-2022(online)].pdf | 2022-02-07 |
| 16 | 5916-CHE-2014-Request For Certified Copy-Online(01-12-2014).pdf | 2014-12-01 |
| 17 | 5916-CHE-2014-Correspondence to notify the Controller [07-02-2022(online)].pdf | 2022-02-07 |
| 17 | FORM 3-IP29115.pdf | 2014-11-28 |
| 18 | 5916-CHE-2014-AMENDED DOCUMENTS [07-02-2022(online)].pdf | 2022-02-07 |
| 18 | IP29115-fig.pdf | 2014-11-28 |
| 19 | IP29115-Spec.pdf | 2014-11-28 |
| 19 | 5916-CHE-2014-FORM-26 [10-02-2022(online)].pdf | 2022-02-10 |
| 20 | 5916-CHE-2014-Written submissions and relevant documents [02-03-2022(online)].pdf | 2022-03-02 |
| 20 | 5916-CHE-2014 FORM-18 26-11-2014.pdf | 2014-11-26 |
| 21 | 5916-CHE-2014-PETITION UNDER RULE 137 [02-03-2022(online)].pdf | 2022-03-02 |
| 21 | 5916-CHE-2014 FORM-9 26-11-2014.pdf | 2014-11-26 |
| 1 | 5916_25-07-2019.pdf |