AppPerfect Load Test can be used to load test your web services. AppPerfect Load Test can simulate 1000's of virtual users accessing your web services. This enables you to load test your web service applications and check their performance under load. AppPerfect also provides the feature to validate the soap response received during execution.
The overall process for creating a Soap or Web Services test is as follows:
You can see the following groups on the right hand side after you click the project name in the Editor:
For each unique host used in the test there is a host setting entry in this table. Each task in the test are linked to the host setting shown in this table. In case you need to execute test against your application on some differnt host you just need to edit the host settings here. You dont need to worry about changing host for each recorded task. Just changing host settings here will result in replaying test against new host. You can edit the Host Name, the Port number and select the protocol between HTTP and HTTPS here. You can also parameterise the host settings to replay test against different hosts during multiple iterations.
In a project the tasks are stored in logical groups. This enables users to better organize the test. Further,certain special tasks can be placed in special groups called "Starting Group" and "Ending Group" as needed as they are only run once for the test. However, rest of the tasks are placed in regular groups called "Action Groups".
Run Groups: A test can have one or more action groups. If you have more than one action group, you can specify if you want a virtual user to run these groups sequentially or simultaneously. In sequential execution, a virtual user executes every task/url in every group. In simultaneous execution, virtual users are assigned individual groups to execute. This assignment is based on a percentage distribution that you can specify from the "Groups table" shown for project node view in Editor tab.
Execution Behavior: In addition, you need to specify how Starting and Ending Groups should be handled.
Replay Linked projects/groups: For any Automated testing tool one of the important feature is the reusability of the existing scripts. AppPerfect provides the feature of linking existing scripts with the host script so that without re-recording, common functionalites already implemented in existing scripts can be reused. Select this checkbox if you need to replay linked projects/groups. For more details refer to Link Projects chapter.
Groups Table: This table lists all the Groups of the project. You can ::
An important aspect of designing a good test is to define parameters correctly. Most modern applications use some kind of parameterization scheme to communicate data between the end user and the Web application. When a LoadTest is recorded via a browser, all parameters that are encountered for the recorded tasks are stored in the test project. These recorded parameters can be managed via the "Parameters" tab in the Test Editor.
Additional information about parameterization can be found in the Parameters chapter.
The test consists of a number of "Groups". A Group is a logical unit for combining actions inside a test. By default, three Groups are created in a project: Starting Group, Action Group and Ending Group. But all these groups are for HTTP type tasks. For Soap tasks we need to create a new ActionGroup with type SOAP
Behavior of the various groups can be configured by clicking the group in the Editor and setting its properties on the right side of the window. To move a Task from one group to another, click right mouse button on the Task, select Cut from the popup menu, click right mouse button on the new group where you wish to paste it, and select Paste from the popup menu. More details are available in the Task Groups chapter.
Click any task in the Editor and you get access to the Task Editing features of AppPerfect Load Test.
Here you can configure think time for the task. You can specify different think time for each VU.
You will see a list of parameters, if any have been encountered for the selected task. You can select any of the parameters and parameterize it to fetch different value during replaying. Additional information about parameterization can be found in the Parameters chapter.
You can review all the request headers sent along with http/https task here.
You can review all the soap headers sent along with soap task here.
You can review all the soap attachments sent along with soap task here.
As a application developer or tester, you will design (or test) your application based on a 'valid' set of responses expected from the application. You can set these validations for each web page after you have recorded the test.
For furthur details on each validation refer to Validations chapter.