Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2024.2

...

Table of Contents
maxLevel12

Introduction

The SMTP Listener is a custom message listener extension for Parasoft Virtualize. It stands up a temporary SMTP server that notifies Virtualize on a per-message basis allowing users to accept or reject, with a custom rejection message, the incoming message and perform validations and post-processing as needed.

Installation

This tool can be installed from the UI or the command line.

Installing from the UI

  1. Go to Parasoft > Preferences and click System Properties.
  2. Click Add JARs and choose com.veritualize.listener.smtp-<VERSION>.jar.
  3. Click Apply.
  4. Restart Virtualize.

Installing from the Command Line

Add the com.parasoft.virtualize.listener.smtp-<VERSION>.jar file to the system.properties.classpath property in your settings properties file. For example:

system.properties.classpath=<PATH_TO_JAR>/com.parasoft.virtualize.listener.smtp-1.1.0.jar

Usage

You can select and configure the listener in the Virtual Asset configuration panel.

  1. In the Virtualize Server view, choose the virtual asset you want to configure to use with the custom message listener.
  2. Choose Transports> Custom in the Virtual Asset Deployment Settings. If multiple listeners are installed, choose SMTP Listener from the Select Implementation menu.
  3. Configure the connection and security settings (see Configuration).
     
  4. Save your changes.

Configuration

You can configure the following settings.

Connection Settings

Scroll Table Layout
widths30%,70%

Host Name

Defines the hostname for the SMTP server. If empty, the system default hostname will be used.

PortDefines the port for the SMTP server. If empty, the listener will not start.

Security Settings

Scroll Table Layout
widths30%,70%

...