Click or drag to resize

Hummingbird.TestFramework.Messaging Namespace

Contains fundamental classes to store the transactions, including the Messages sent to application, and messages received by Service Simulation.

Message is also attached to SendRequestTestStep, it can be used in Test Automation project

MessageQueue is a static class that manages the messages in a Queue. When implementing new protocols and service simulations, you should create and insert message into the queue

Classes
  ClassDescription
Public classMessage
Message is the a basic operation of Hummingbird TestFramework. It can be a message sent to target server, or an message received by Hummingbird virtualized service. A Message object stores the Status of the operation, the Direction and several time tags.

If the operation is send, RequestObject contains the data sent to the server, and ResponseObject stores the response of the server

If the operation is receive, RequestObject contains the data received by virtualized service, and ResponseObject stores the simulated reply

Public classMessageAddedEventArgs
Event argument where a new Message is added to MessageQueue
Public classMessageQueue
Message Queue stores all transactions between Hummingbird Test Framework and the application to test. Including:
  • Requests sent to the application under test, the reply and related information
  • When used as service simulation, requests received from application, the reply sent and related information

MessageQueue is managed by the Service Clients and Servers, To implement a 3rd party Client and Server, Messages must be inserted into the MessageQueue in order to view by users.

Enumerations
  EnumerationDescription
Public enumerationMessageDirection
The direction of the Message
Public enumerationMessagePart
Which part of the message is used to retrieve value from PATH
Public enumerationMessageStatus
The status of the current operation