runivt: IBM MQ transport for SOAP installation verification test
An installation verification test suite (IVT) is provided with IBM MQ transport for SOAP. runivt runs a number of demonstration applications and ensures that the environment is correctly set up after installation.
Purpose
The runivt command uses the sample programs provided with the IBM MQ transport for SOAP to send web service requests from clients to services. It runs tests for Axis 1.4, .NET Framework 1, and .NET Framework 2. The tests are configured in a test script file. The default test script file for Windows runs a combination of tests between Java and .NET clients and services.
Description
runivt must be run from its own directory.
The command starts listeners in a different command window. For this reason, you must run the command from an X Window System session on UNIX and Linux systems.
runivt syntax
- 1 Default on Windows
- 2 Default on UNIX and Linux systems
runivt parameters
- -v
- Verbose mode. Write fuller error messages to the console.
- -c configFile
- A configuration file defining the tests to be run. The default configuration file supplied with Windows, UNIX or Linux systems is used by default.
- hold
- Leave the listener running after the tests complete
- killall
- End the listener when the tests complete
- testName
- A space separated list of the tests to run. The test names are selected from the configuration file. If no names are specified then all the tests in the configuration file are run.
Configuration file
Each configuration file parameter is a separate line of the file. Leave a blank line between each group of parameters.
The parameters in the ivttests.txt parameter file are listed.
configFile syntax
URLClient2AxisURL2.NETURLClient2.NETCommon URLClient connectionTarget serviceconfigFile parameters
- testName
- The name of the test. Use testName in the runivt command
- testDescription
- Documentation about the test
- testCommand
- The command executed by the runivt command to make the client request.
- testResponse
- The exact response string returned by the client request to the console. For the test to succeed testResponse must match the actual response.
- testListener
- The name of the IBM MQ SOAP listener that is started by runivt to process the SOAP request. dotnet and JMSax are synonyms for the supplied listeners, amqwSOAPNETlistener and SimpleJavaListener.
Examples