Testing Web Services

Applies to TestComplete 14.40, last modified on April 22, 2021

The topics of this section describe how you can perform functional testing of web services (including WCF services) with TestComplete.

In This Section

Testing Web Services - Overview

Provides general information on testing web services with TestComplete.

Requirements for Testing Web Services

Describes the plugins and settings required for testing web services.

Creating Web Service Tests

Contains step-by-step instructions on how to create functional tests for web services.

WCF Services - Specifics of Testing

Describes specifics of testing WCF services with TestComplete.

Creating Objects and Arrays for Web Service Method Calls

Explains how to set up web service methods to use parameters of an object or array type.

Calling Web Service Methods That Use Out Parameters

Explains how you can test web service methods that use "out" parameters.

Specifying Web Service Credentials

Describes how to specify authentication information for a web service’s clients.

Adding Custom Headers to SOAP Requests

Describes how to add custom Header elements to SOAP requests sent to your tested web services.

Prepare SOAP Requests in Scripts

Describes how you can prepare custom SOAP requests for sending them to the tested web service methods.

Supported Data Types

Describes data types that are used in WSDL documents describing web services under test.

WebService Editor

Describes the WebService Test editor.

Related Topics of Interest

About Web Service Checkpoints

Explains how to use TestComplete wizards and dialogs to generate script code that will check web service response.

Samples

TestComplete includes a sample project that demonstrates how to call web service methods from scripts, prepare complex parameters for the methods to be called and check the returned results by using script statements and checkpoints:

<TestComplete Samples>\Common\Web Service Testing\Functional Testing

Note: If you do not have the sample, download the TestComplete Samples package from the https://support.smartbear.com/downloads/testcomplete/samples/ page of our web site and run it.

These projects work with a sample web service that resides on our web site:

secure.smartbearsoftware.com/samples/testcomplete14/webservices/Service.asmx

See Also

Web and RIA Testing
Applications Testing

Highlight search results