06 August 2007 - 1.7.5 | home user-guide eclipse jbossws intellij netbeans maven 1.X/2.X PDF files forums bugs sourceforge

Home
Getting Started
User Guide

- Overview
  - Tabbed Desktop
  - License Management
  - Preferences
  - XPath Selection
  - Script Library
- Workspaces
- Projects
- Interfaces
  - Interface Viewer
- Operations
- Working with Requests
  - Form Editor
  - Outline Editor
  - Message Inspectors
  - Attachments/Inline Files
- Functional Testing
  - Getting Started
  - TestSuites
  - TestCases
    - Test Requests
      - Assertions
      - Editor Wizards
    - Property Transfers
    - Conditional Gotos
    - Groovy Scripts
      - Examples
      - GroovyUtils
    - Properties Step
    - Delay Step
    - Mock Response
    - DataSource
    - DataSource Loop
  - Property Expansion
- Load Testing
  - Getting Started
  - Limit & Strategies
  - Execution
  - Assertions
  - Diagrams
  - JMeter comparison
- Mocking
  - Getting Started
  - Mock Services
  - Mock Operations
  - Mock Responses
- Usage Scenarios
  - Data-Driven Testing
  - Template-Driven Testing
  - Interactive Testing
  - Surveillance Testing
- Tool Integrations
  - Code Generation
  - WSDL Generation
  - WS-I Tools
  - Apache Tcp-Mon
- CommandLine Tools
  - TestCaseRunner
  - LoadTestRunner
  - MockServiceRunner
  - ToolRunner
- Keyboard shortcuts

IDE/Tool Plugins
Search soapUI site
Project Documentation

- About soapUI
- Project Info
- Project Reports

## TestSuites

A TestSuite serves as container for an arbitrary number of TestCases. When running a TestSuite the contained TestCases can be executed either in sequence or in parallel as described below.

### Generating TestSuites

Selecting the "Generate TestSuite" option from the Interface menu prompts to generate a complete TestSuite for the selected interface. The dialog contains the following options;

- TestSuite - select if to generate into an existing TestSuite or create a new one
- Style - there are 2 different styles:
  1. One TestCase for each Operation - creates a TestSuite with one TestCase for each operation
  2. Single TestCase with one Request for each Operation - create just that!
- Request Content - there are 2 alternatives:
  1. Use existing Requests in Interface - uses the existing requests as TestRequests
  2. Create new Empty Requests - creates new empty requests with optional content in the created TestRequests
- Operations - Select those operations you want to generate for
- Generate LoadTest - Creates a default LoadTest for each generated TestCase

### TestSuite Actions

The following actions are available from the TestSuite nodes' right-button menu: Open TestSuite Editor - Opens the TestSuite Runner described below New TestCase - prompts to create a new TestCase in the TestSuite Clone TestSuite - prompts to clone the entire TestSuite, including all TestCases/TestSteps Rename - prompts to rename the TestSuite Remove - prompts to remove the TestSuite from its project. All contained TestCases will be removed also. Online Help - Displays this page in an external browser |

### TestSuite Details Tab

The "Details" tab shown in the bottom-left shows the following values when the TestSuite node is selected in the navigation tree Name : the name of the current TestSuite |

### TestSuite Runner

Double Clicking a TestSuite in the navigator opens the TestSuite Runner containing a list of the contained TestCases and a toolbar. A Progress Bar is displayed for each TestCase, double-clicking a TestCase opens the associated TestCase editor. If a TestCase is currently being load tested its Progress Bar displays this and the TestCase will not be run during TestSuite execution. The available toolbar buttons are (left to right): Run : Runs selected TestCases Cancel : Cancels ongoing runs Run in Sequence : Toggles if the TestCases should be run in sequence Run in Parallel : Toggles if the TestCases should be run in parallel Create Report (soapUI Pro only) : Exports a HTML Report for the last TestSuite run (see below) TestCases can be selected/unselected by clicking them in the list, only selected TestCases are executed when running the TestSuite. If no TestCases are selected all are run. The run in sequence/parallel state is preserved and also applied when running a TestSuite using one of the command line tools or the maven plugin. TestCase selection is not preserved internally, all TestCases are always executed in this case. The Description Tab contains a single text area for arbitrary documentation for this TestSuite |

### Generating Reports

soapUI Pro supports the generation of reports from within the TestSuite editor. The reports show a summary of all executed TestCases and diagnostic information for failed assertions.

Selecting the "Create Report" button in toolbar opens the following dialog for exporting the last results to an HTML report:

After specifying the output folder and format, the report will be created and opened in an external browser:

Next: TestCases