...
This tool can be installed from the UI or the command line.
UI Installation
- Go to Parasoft > Choose Parasoft> Preferences.
- Select In the System Properties and preferences page, click Add JARs.
- In the file chooser that opens, select com.parasoft.virtualize.listener.rabbitmq-<version>.jar. Once this jar file is added to the classpath, all of the required dependencies will be loaded.
- Restart Virtualize.
...
Add the com.parasoft.virtualize.listener.rabbitmq-<version>.jar file to the system.properties.classpath property in your settings localsettings properties file.
For example:
...
Configuring Connection Settings
Scroll Table Layout | ||
---|---|---|
|
...
Configuring Listener Settings
Scroll Table Layout | ||
---|---|---|
|
Option | Description |
---|---|
Listener Mode | You can specify Passthrough mode forwards the messages on the Listen Queue to the exchange in Forward Exchange Name. Virtualize mode forwards the messages on the Listen Queue to Virtualize to generate a virtual response. |
Listen Queue | Defines the queue from which that Virtualize will consume the message. If empty, a temporary queue will be created. |
Binding Exchange | Defines the exchange to which the temporary queue binds. Only applies when using a temporary queue because Listen Queue is empty. |
Binding Key | Defines the binding key used when binding the temporary queue to the exchange. Only applies when using a temporary queue because Listen Queue is empty. |
message from. | |
Auto Ack | Set to |
Consumer Tag | Defines the consumer tag to use when consuming from a queue. |
Forward Exchange Name | Defines the exchange to use when forwarding the messages on the Listen Queue. This field is only used in Passthrough mode. |
Configuring ReplyTo Settings
Scroll Table Layout | ||
---|---|---|
|
Option | Description |
---|---|
ReplyTo Exchange | Defines the exchange to use when replying. This field is only used in Virtualize mode. |
ReplyTo Routing Key | Defines the routing key to use when replying. This field is only used in Virtualize mode. The request message's reply-to will take precedence over the one specified here. |
Generate ReplyTo Queue | Set to |
ReplyTo Queue Durability | Set to |
Autodelete ReplyTo Queue | Set to |
Configuring Logging Settings
Scroll Table Layout | ||
---|---|---|
|
Option | Description |
---|---|
Log Level | Set the log level for the listener. The following values are accepted:
Default is |