...
- Go to Parasoft > Preferences > and click System Properties.
- Click Add JARs.Navigate to and and choose the com.parasoft.soavirt.messages.avro-<version>.jar.
- Click Apply and restart .
- Restart SOAtest/Virtualize.
Command Line Installation
...
When specifying a Confluence Schema Registry, be sure to include full URL (including the http:// or https://).
Usage
Anchor | ||||
---|---|---|---|---|
|
...
- Message type: Choose from the type definitions available in the schemas in the Avro schemas folder or Confluent schema registry specified previously (see Configuring Avro Schemas Location).
- When a local schema folder has been specified, you will see the names of available schema types in this list. When a Confluent Schema Registry has been specified, subject/version pairs will be shown.
You can also configure the responder to use a different Avro message type for incoming requests. To do so:
- In the message responder, click the Options tab and choose Request Handling.
- Enable Convert incoming request to XML using different message format than response.
- Choose Apache Avro from the Format menu.
- Choose the message type that is expected to come in to the virtual asset from the Message type menu that appears. Type definitions available in the schemas in the Avro schemas folder or Confluent schema registry specified previously (see Configuring Avro Schemas Location).
- When a local schema folder has been specified, you will see the names of available schema types in this list. When a Confluent Schema Registry has been specified, subject/version pairs will be shown.
Using Avro with Kafka
One of the benefits of using the Avro extension is the ability to use it in conjunction with the Kafka Transport in order to send messages in one format and receive messages in another format, like in the test suite shown below.
...