Many protocols can be tested by creating action components. Below are several examples of protocols whose implementation can be optimized depending on the specifics of the testing environment.

Below are various options for their implementations.


In the action component, add the appropriate API to test different protocols. Below are a few examples.

ODBC Component

To test the ODBC protocol, use the System.Data.Odbc Namespace as described here.

  1. Create an ODBC connection as described here
  2. Create an ODBC query using the ODBC command as described here.
  3. To run a select query, use the OdbcDataReader as described here.
  4. To execute a non-select query, run the ExecuteNonQuery method as described here.

Oracle DB Component (JDBC)

To test an Oracle DB, use the System.Data.OracleClient Namespace as described here or use the Oracle Data Provider for .NET from here.

  1. Create an Oracle connection as described here.
  2. Create an Oracle query using the Oracle command as described here.
  3. To run a select query, use the OrackeDataReader as described here.
  4. To execute a non-select query, run the ExecuteNonQuery method as described here.

JMS

To test Java Messaging Service Protocol in Weblogic follow the steps described here.

  1. Find and download the WebLogic JMS .NET Client Libraries from your Weblogic server as described here.
  2. Create one or more JMS messages as described here.
  • No labels