Testing web services
Web services are applications that can be published and called over the Internet by client applications. TestArchitect supports functional testing of web services.
Overview of web service
Web service is the medium of communication through which two applications exchange data regardless of their underline architecture and the technology. For example you want to display weather forecast information. You no longer need to collect, process and render the data in your application. Instead, you can buy the services from providers who already well-established in processing and publishing such kind of data.
Today’s software applications comprise complex web services and APIs which must be flexible and robust enough to scale and grow. It is vital to perform functional testing for web service during pre-deployment stage to identify and resolve defects as early as possible, and regression testing during post-deployment stage to ensure ongoing quality of service and availability.
Supported web services
Web services can be implemented in different ways, but the following approach is supported by TestArchitect.
- RESTful (Representational State Transfer architecture)
- SOAP (Simple Object Access Protocol) over HTTP-based web services
Supported authentication credentials
TestArchitect enables you to test web services that use following authentication credentials:
Network connection
A network connection to the web service-under-test is required. Otherwise, TestArchitect is unable to simulate calls to the web service methods.
Web service testing
A web service test basically involves (learn more):
- Specify authentication information for service clients
- Send an HTTP request to the web service-under-test
- Parse an HTTP response from the web service-under-test
- Verify the HTTP response
Creating web service test
Functional testing of web services consists of invoking web service’s APIs from TestArchitect’s test procedures and checking the returned result values.
Specifying web service credentials
Details how to specify authentication information for service clients.
Using web service checkpoints
A web service checkpoint is a test operation that verifies that an HTTP response returned from a tested web service contains appropriate data.
Related information
add http body
add http header
add http parameter
authenticate
create http request
send http request
parse http response
attach file
configure web service settings