In this section:

Overview

The FIX Transport adds support for the FIX (Financial Information eXchange) transport to applicable messaging client tools in Parasoft SOAtest. FIX versions 4.0 - 5.0 SP2 are supported.

Requirements

  • One of the following FIX Message Formats: 4.0, 4.1, 4.2, 4.4, 5.0, or 5.0 SP2. You can download a format from the Parasoft Marketplace.
  • The FIX Message Listener is required to enable a virtual asset to receive and respond to messages over FIX.

Installation

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

UI Installation

  1. Choose Parasoft > Preferences and click System Properties
  2. Click Add JARs and choose the FIXTransport.jar file. Once this jar file is added to the SOAtest classpath, all of the required dependencies will be loaded.
  3. Repeat this process to install any FIX formats you are using.
  4. Restart SOAtest.

Command Line Installation

Add the FIXTransport.jar file to the system.properties.classpath property in your localsettings properties file. For example:

system.properties.classpath=<path to jar>/FIXTransport.jar 

Once the classpath is modified, all of the required dependencies will be loaded.

Usage

The FIX Transport is primarily used in Messaging Client tools. The transport is configured in the Messaging Client's Transport tab. To use the FIX Transport in a Message Client, select FIX in the Transport dropdown menu, then configure the available options.

Configuration

You can configure the following options.

Settings Options

Initiator settings path

Specify the absolute path to the cfg properties file that defines how SOAtest should initiate connections to the FIX engine.

An example cfg file is provided below this table. For a detailed definition of the properties, see the following documentation:

https://www.quickfixj.org/usermanual/1.5.3/usage/configuration.html.

Logon wait timeThe number of milliseconds that SOAtest should wait for the response of the Logon request. The default is 2000.
Response wait timeThe number of milliseconds that SOAtest should wait for the response of other (non-Logon) requests. The default is 10,000.
Number of responses to wait forThe number of responses that this request is expected to trigger—and that SOAtest should wait for. The default is 1.
Return all responses?If the value of the Number of responses to wait for option is greater than 1, this option determines whether all responses should be returned by SOAtest. Enter y for return all responses. Enter n to return only the last response received. The default is n.
Logging levelThe logging level. You can enter 0 (least verbose), 1, or 2 (most verbose). The default is 0.

Example Initiator cfg File

[default]
#FileStorePath=/tmp/fix/virt/initiator
#FileLogPath=/tmp/fix/logs
ConnectionType=initiator
StartTime=00:00:00
EndTime=00:00:00
HeartBtInt=30
ReconnectInterval=60
SenderCompID=CLIENT
TargetCompID=VIRT
UseDataDictionary=Y
#ValidateIncomingMessage=N
#RejectInvalidMessage=N
SocketConnectHost=localhost
ResetOnLogon=Y


[session]
BeginString=FIX.4.4
SocketConnectPort=9889
DataDictionary=FIX44.xml

Connection Management Configuration Options

You can enable the Keep connection alive or Close connection after test execution option.

Third-Party Content

This extension includes items that have been sourced from third parties as outlined below. 

Additional license details are available in this plugin's licenses folder.

  • No labels