In this section:
Introduction
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 and ICE 4.8 are supported.
Requirements
- One of the following FIX Message Formats: 4.0, 4.1, 4.2, 4.4, 5.0, 5.0 SP2, or ICE 4.8. You can download a format from the Parasoft customer portal.
- 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
- Go to Parasoft > Preferences and click System Properties.
- 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.
- Repeat this process to install any FIX formats you are using.
- Click Apply.
- Restart SOAtest.
Command Line Installation
Add the FIXTransport.jar file to the system.properties.classpath
property in your settings 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, choose FIX from the Transport 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 time | The number of milliseconds that SOAtest should wait for the response of the Logon request. The default is 2000 . |
Response wait time | The number of milliseconds that SOAtest should wait for the response of other (non-Logon) requests. The default is 10000 . |
Number of responses to wait for | The 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 level | The 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 Keep connection alive or Close connection after test execution.
Third-Party Content
This extension includes items that have been sourced from third parties as outlined below.
- QuickFIX/J (QuickFIX License)
- Apache Mina (Apache License)
- SLF4J (MIT License)
Additional license details are available in this plugin's licenses folder.