IP Library › Granted Patent US 9,720,800
Granted Patent B2
US 9,720,800 · App. 14/838,674 · Granted Aug 1, 2017

Auto-generating representational state transfer (REST) services for quality assurance

Inventors: Jeff J. Li (Parkland, FL); Wendi L. Nusbickel (Boca Raton, FL); Suraj R. Patel (Sambalpur, IN); Deepa R. Yarangatta (Bangalore, IN)
Assignee: International Business Machines Corporation
G06F11/3616G06F11/3672
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,720,800
App. No.
14/838,674
Granted
Aug 1, 2017
Kind
B2
Abstract

Provided are techniques for auto-generating Representational State Transfer (REST) services for quality assurance. One or more test cases and artifacts are received for a project. A test Representational State Transfer (REST) service is generated for the project using the one or more test cases and the artifacts. The test REST service is deployed on an application server for use in testing features of a REST service client application.

Claims (32)

1. A method, comprising:

receiving, by a processor, a test case for a project, via a test creation tool of a tool server, that specifies a Uniform Resource Locator and an authentication mechanism for an existing Representational State Transfer (REST) service, wherein the existing REST service is provided by a third party vendor;

in response to the existing REST service being invoked, by the processor, capturing a request and response for the existing REST service;

converting, by the processor, the test case into a test Representational State Transfer (REST) service for the project using the request and response and using the authentication mechanism, wherein the test REST service simulates the existing REST service, and wherein the test REST service is used for at least one of regression testing and performance testing;

deploying and configuring, by the processor, the test REST service on different application servers; and

testing, by the processor, features of a REST service client application on the tool server with the test REST service deployed and configured on the different application servers.

2. The method of claim 1 , further comprising:

creating multiple test cases, wherein the multiple test cases include positive test cases and negative test cases.

3. The method of claim 1 , wherein the test case includes testing input data, expected output data, and security settings.

4. The method of claim 1 , wherein a Software as a Service (SaaS) is configured to perform method operations.

5. A computer program product, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code executable by at least one processor to perform:

receiving a test case for a project, via a test creation tool of a tool server, that specifies a Uniform Resource Locator and an authentication mechanism for an existing Representational State Transfer (REST) service, wherein the existing REST service is provided by a third party vendor;

in response to the existing REST service being invoked, capturing a request and response for the existing REST service;

converting the test case into a test Representational State Transfer (REST) service for the project using the request and response and using the authentication mechanism, wherein the test REST service simulates the existing REST service, and wherein the test REST service is used for at least one of regression testing and performance testing;

deploying and configuring the test REST service on different application servers; and

testing features of a REST service client application on the tool server with the test REST service deployed and configured on the different application servers.

6. The computer program product of claim 5 , wherein the program code is executable by the at least one processor to perform:

creating multiple test cases, wherein the multiple test cases include positive test cases and negative test cases.

7. The computer program product of claim 5 , wherein the test case includes testing input data, expected output data, and security settings.

8. The computer program product of claim 5 , wherein a Software as a Service (SaaS) is configured to perform computer program product operations.

9. A computer system, comprising:

one or more processors, one or more computer-readable memories and one or more computer-readable, tangible storage devices; and

program instructions, stored on at least one of the one or more computer-readable, tangible storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, to perform:

receiving a test case for a project, via a test creation tool of a tool server, that specifies a Uniform Resource Locator and an authentication mechanism for an existing Representational State Transfer (REST) service, wherein the existing REST service is provided by a third party vendor;

in response to the existing REST service being invoked, capturing a request and response for the existing REST service;

converting the test case into a test Representational State Transfer (REST) service for the project using the request and response and using the authentication mechanism, wherein the test REST service simulates the existing REST service, an wherein the test REST service is used for at least one of regression testing and performance testing;

deploying and configuring the test REST service on different application servers; and

testing features of a REST service client application on the tool server with the test REST service deployed and configured on the different application servers.

10. The computer system of claim 9 , wherein the operations further comprise:

creating multiple test cases, wherein the multiple test cases include positive test cases and negative test cases.

11. The computer system of claim 9 , wherein the test case includes testing input data, expected output data, and security settings.

12. The computer system of claim 9 , wherein a Software as a Service (SaaS) is configured to perform system operations.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 28, 2015
From: LI, JEFF J.; NUSBICKEL, WENDI L.; PATEL, SURAJ R.; YARANGATTA, DEEPA R.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 036446/0856 →
Continuity (1)
Related Publication 20170060730A1 · Mar 2, 2017