Click or drag to resize

MessageQueue Class

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.

Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.MessagingMessageQueue

Namespace:  Hummingbird.TestFramework.Messaging
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public static class MessageQueue

The MessageQueue type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Add an message in the queue. Never call this method when sending request, it will be handled by the framework.
Public methodStatic memberClear
Clears this instance.
Public methodStatic memberLoad
Loads the messages from the disk.
Public methodStatic memberLoadAsync
Loads the messages from the disk asynchronously
Public methodStatic memberRemove
Removes the specified message from the queue.
Public methodStatic memberSave
Saves all messages of instance to a file (will be reloaded).
Public methodStatic memberUpdateInput
Updates the input object (request) of a given message
Public methodStatic memberUpdateOutput
Updates the output object (results) of a given message.
Top
Events
  NameDescription
Public eventStatic memberMessageAdded
Occurs when a message is added in the MessageQueue. Hummingbird TestManager uses this event to show the message in the list
Top
See Also