TESTING THE INTERFACE

Test Scenario

The following scenario is used to test the MessageServerInterface.

1. Remote Control sends a message to the interface.

2. The Interface then converts the message from the Remote Control into a HTTP POST Message.

3. The Interface sends the HTTP POST Message constructed in step2 to the Message Server.

4. The Interface then sends a HTTP GET Message to the Message Server.

5. In step 4, the Interface retrieves the message from the Message Server. It is the same message that was sent in step 3.

6. The Interface then sends the message retrieved to the Remote Control.

 

Inference from the Test

1. Remote Control is successfully interfaced with the ActiveMQ Message Server which is running as a servlet.

2. Remote Control is able to POST to and GET Messages from the ActiveMQ Message server.

3. Any Message currently defined for the Virtual Classroom Chronobot can be used to test this interface.

4. The tests were carried out with the 8 messages provided by Xin Li. Here are the links to the test Messages.

2304UserLogin.XML  2450ListBidRoom.XML  2453ListBidRoomBid.XML 2454StartNewBid.XML

2459ListStartedBid.XML 2460ListPlacedBid.XML 2480NoticeNewBid.XML 2700NegotiateBid.XML