Websphere MQ Everyplace

examples.ivt
Class MQeIVT

java.lang.Object
  |
  +--examples.ivt.MQeIVT

public class MQeIVT
extends java.lang.Object

Run the MQe installation verification test (IVT).

Creates an queue manager and then executes the following applications:

  . examples.install.Example1
  . examples.install.Example2
  . examples.install.Example3
  . examples.install.Example4
  . examples.install.Example5
  . examples.install.Example6
  . examples.administration.simple.Example1
 

If all suceed then a the application completes with a return code of 0 if it fails it exists with a non zero return code.

By default the IVT will start a queue manager using start up parameters retreived from file .\ExamplesMQeClient.ini. The ini file used to retrieve the startup parameters together with the name of the queue manager that tests are run against can be altered by using the non-default constructors.

The IVT will create the queue manager specified in the startup parameters file and delete it at the end. Hence the queue manager must not exist when the IVT is run or else it will fail.


Field Summary
protected  java.lang.String QMName
           
protected  java.lang.String startupIni
           
static short[] version
           
 
Constructor Summary
MQeIVT()
          Constructor that uses the default queue manager and ini file.
MQeIVT(java.lang.String qMgrName)
          Constructor that uses the queue manager passed in on the command line and the default ini file.
MQeIVT(java.lang.String qMgrName, java.lang.String localQMgrIniFile)
          Constructor that starts a queue manager with paramters from an ini file.
 
Method Summary
 void doIt()
          Run each test in sequence.
static void main(java.lang.String[] args)
          Starts the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

public static short[] version

startupIni

protected java.lang.String startupIni

QMName

protected java.lang.String QMName
Constructor Detail

MQeIVT

public MQeIVT()
       throws java.lang.Exception
Constructor that uses the default queue manager and ini file.

Throws:
java.lang.Exception

MQeIVT

public MQeIVT(java.lang.String qMgrName)
       throws java.lang.Exception
Constructor that uses the queue manager passed in on the command line and the default ini file.

Parameters:
qMgrName - java.lang.String , queue manager name. The name of the queue manager to interact with. The queue manager can be a local or a remote queue manager.
Throws:
java.lang.Exception

MQeIVT

public MQeIVT(java.lang.String qMgrName,
              java.lang.String localQMgrIniFile)
       throws java.lang.Exception

Constructor that starts a queue manager with paramters from an ini file. This queue manager is then used as the access point for interacting with the same or different queue managers.

Parameters:
qMgrName - java.lang.String, queue manager name. The name of the queue manager to interact with. The queue manager can be a local or a remote queue manager.
Throws:
java.lang.Exception
Method Detail

doIt

public void doIt()
          throws java.lang.Exception
Run each test in sequence. If a failure occurs then no more tests will run and the exception will be passed back to the caller.

java.lang.Exception

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception

Starts the application.

Returns:
void
Throws:
java.lang.Exception

Websphere MQ Everyplace