You can add, review, reorganize, modify, and extend tests, tests suites, and related files on SOAtest Server directly from the Test Scenarios page. To access this page, open the API Testing module and select Test Scenarios (or click the Tests top-of-page link in an Environment diagram in Edit mode).
In this section:
The test assets available on each server will be shown in the upper left panel of the Test Scenarios page. The hierarchy and contents of suites, tools, and files here is based on the SOAtest Test Case Explorer. You can filter this list by entering search terms (keywords, metadata and tags) in the search bar above the asset tree.
To view an overview of a .tst, test suite, file, or tool:
Note that you can download files by clicking the link to the right of the Filepath field:
To refresh the assets available in CTP (e.g., to see assets recently added from SOAtest desktop):
To edit asset names, file names, or descriptions:
To reorder the test suites and tests within a test scenario:
To move tests up or down the test scenario hierarchy, use the editing (copy/paste/delete) functionality in the test scenario tree.
To add a folder for organizing test scenarios (.tst files):
The folder will be added to the specified SOAtest server.
You can copy/paste test scenarios (.tst files) into the new folder.
To upload any files that would be helpful for your testing efforts (existing .tsts, data sources, etc.):
The file will be added to the specified SOAtest server.
You can tag test assets to categorize them in whatever manner is useful for you and your team. Tags can be entered in the Test Scenarios tree search bar to filter results. You can also click a test scenario tag’s hyperlink to focus the Test Scenarios tree on assets marked with that tag.
To add tags:
Once the tag is applied, you can click the tag to quickly access all test scenarios with that same tag.
You can search by tag in the search bar above the Test Scenarios tree, as well as the main CTP search bar.
To quickly add multiple tags, separate tag names with a comma.
To delete a tag, hover over it, then click the X button.
A variable set (called an "environment" in SOAtest) is a collection of variables that can be referenced within fields of your test scenario. For example, you might want to have the WSDL, host, and port point to different values for different test environments. When you specify these settings with variables (rather than hard-coding them in the tests), it is much easier to reuse the same test scenario across multiple environments.
If a .tst uses variable sets, you can specify how they are set within a specific Environment Manager component instance or test job. For example, you can run a test scenario with one set of variables against a performance testing environment, then run that exact same test scenario with another set of variables against a UAT environment.
To add a variable set to an existing .tst file:
The variable set will be added to the test tree.
If multiple variables sets are added, a Variables folder will be automatically created to contain them.
To configure variable values, use the controls available in the Variable Set page.
If you want to mask a variable value, click the key icon to the right of the value field.
There are two ways to set the active variable set: from the test scenario page, and from the variable set page.
Note that the currently-active variable set is marked with a special icon:
To set the active variable set from the test scenario page:
To set the active variable set from the variable set page:
When you create a test job, you’ll have the option of using the variables from the active variable set or adjusting the values as needed.
You can modify settings for commonly-used API Testing tools (such as REST Client, SOAP Client, Diff, and XML/JSON Assertor, and XML/JSON Data Bank tools) directly from CTP. Advanced settings, as well as configurations for other tools, can be accessed from SOAtest desktop.
For details, see:
To permanently delete a test asset (e.g., tst, test suite, variable set, file, data source or tool) from both CTP and the SOAtest server upon which it is hosted:
You can copy and paste assets (test scenarios, tools, data sources, variable sets, files, etc.) as needed.
After you click Copy, you will see Paste icons added to any of the places where the copied asset can be pasted.
Note that the asset being copied has a highlighted Copy icon. If you want to cancel the copy action, click this highlighted icon.
To paste the asset: