Browse Prior Art Database

Test based RESTFul Web Services Integration Platform

IP.com Disclosure Number: IPCOM000201672D
Publication Date: 2010-Nov-18
Document File: 4 page(s) / 93K

Publishing Venue

The IP.com Prior Art Database

Abstract

The best known implementation of system that conforms to the REST architectural style is the World Wide Web. A RESTful web service (also called a RESTful web API) is a simple web service implemented by HTTP and the principles of REST.RESTful web services are more and more popular because of its addressability and scalability. There are many internet corporations (etc. Google, Microsoft, Yahoo) provide RESTful web services. More and more web applications are built on RESTful web services.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 53% of the total text.

Page 01 of 4

Test based RESTFul Web Services Integration Platform

The whole picture of the platform is

Quality ensured RESTful web services government platform

Resource Identification

Services

Secu

rity

Template

Tag

Meta Data of RESTful web services

Test cases or test suites

Test Framework

Automate

test UI

RWSCD (Meta data of RESTful web services)

Basically speaking, a basic flow for accessing a RESTful web service is like the following: end user access resource uri, put some parameters in HTTP body. Server processes the request, and returns HTTP status (for example 200) and HTTP body to end user.

Since the RESTful web service is kind of relatively lightweight web services, and it is easy to test on it:

1. Verify the inputs, verify the HTML form parameters for HTTP post action or URL parameters for HTTP get action;
2. Verify the output, verify whether it returns expected HTTP status, and XML or JSON in HTTP body are expected as the schema describes.

What's RWSCD (short name of RESTful web services consumer descriptor)? It tells that what input is required for posting data to web services. See the following

1



Page 02 of 4

….

It also tells that what output looks like.

RWSCD can be converted to HTML page by the platform. The HTML page contains simple HTML UI component, Javascript events or URI pointing to other RESTful web services.

TEST framework

Test framework is focusing on validate input and output of RESTful web services. An API level framework (JUnit) is going to help

2



Page 03 of 4

developers to test the services

.

Another option is to test services on the platform

.

The platform provides an UI based test utility

.

This

helps to generate test cases more easily. Both of option helps to generate RWSCD.

Services wiring

It means part of output could invoke another service, or could become input of another services (like 'event' or 'src' attribute represents). This makes it possible t...