Site icon Tutorial

SoapUI Projects

SoapUI Projects

In SoapUI, the work is organized into projects. These are further displayed under the root node in the workspace navigator. However, a project can contain any number of functional tests, load tests, and service simulations.

Hence, the project structure is as

Project Formats

SoapUI offers two project formats: standalone projects and composite projects.

Project Types

There are three main types of projects in SoapUI:

Creating a Workspace

Add Project to Workspace

There are two ways to add a project to the workspace:

Create a New Project

Import Project

By Local Project File

By Local Packed Project

By Local Composite Project

To Import Remote Project

Resolve Projects

When you import a project, SoapUI checks it to verify it is consistent and has all necessary external dependencies available. This process is called resolving.

If errors are found, the Resolve Project dialog appears. It shows all errors, so you can resolve them as you need. To take a closer look on a specific item, double-click it in the list, and the corresponding editor will appear.

In the Resolve Project dialog, you handle conflicting resources in your project when you import it.

To resolve a potential problem:

 

Import Postman Collection

Resource Root Property

The Resource Root property controls how SoapUI handles paths for the project resources. If the project contains references to an external resource, they will need to be included with the project when distributed.

 

Option Description
An absolute path Use this absolute path.
${projectDir} Resolves files relative to the project folder.
${workspaceDir} Resolves files relative to the folder containing the workspace file.

 

SoapUI also applies this setting to external files the project uses.

Example – A testdata.xls file is needed from the project. The d:\projects\ folder contains workspace files, and d:\projects\webservice\ is the folder of the project.

 

Project Encryption

You can use the Project Password project property to encrypt the entire contents of the project file. When you save such project, the project icon will contain a small E character to indicate it has been encrypted.

When you open the password-protected project, SoapUI will suggest to decrypt the project before using it.

To remove the encryption, clear the project password value and save the project. Do not lose your password. SoapUI provides no means to recover an encrypted project file if the password has been lost.

 

A great career is just a certification away. So, practice and validate your skills to become Certified SoapUI Testing Professional Now!

 

Exit mobile version