Previous Topic: Web Services with AttachmentsNext Topic: Web Service Baseline Suites


Web Service Baseline Test Cases

Consolidated web service baseline test cases have a test step that reads from a Large Data data set. The test step is either a Web Service Execution (XML) step or an Execute Transaction Frame step.

The following graphic shows an example of a consolidated web service baseline test case. The test case has a Web Service Execution (XML) step.

Screen capture of a web service baseline test case.

If the test case has a Web Service Execution (XML) step, the data set contains information such as the URL, request body, expected response, and response code. The data set can also include data from web service attachments.

If the test case has an Execute Transaction Frame step, the data set contains the agent name, transaction frame, and expected response.

By default, the data set is local, instead of global.

The test step includes one or more of the following assertions:

Stateful web service baseline test cases have one or more Web Service Execution (XML) steps. Each step includes the Assert Response Code Equals assertion and the Assert Response Equals assertion.

The following graphic shows an example of a stateful web service baseline test case.

Screen capture of a stateful web service baseline test case.

To run the test case, do one of the following actions:

You can monitor the results in the Consolidated Baseline tab.

Note: For information about how to stage a quick test or a test case, see Running Test Cases and Suites in Using CA Application Test.