Testing - Portal - Transmitter

This section deals with testing the send, ack, and last ack functionality through the portal.

Selenium Tests

Selenium allows for automated tests of the portal to be run from a browser window. Selenium is included with the default deployment of the Gateway. {{{http://127.0.0.1:8080/selenium/}This link}} will open up the Selenium test runner for a Gateway deployment on localhost .

Tests

Login

Action Attempt to log as a transmitter using login TRANSMIT1 , pass TRANSMIT1 .
Result Verify that the menu shown when you log in displays only the transmitter options for sending transmissions and requesting acknowledgements.

Sending

Action Obtain the FirstTest.xml test transmission from here . Select Send to Server from the left navigation panel and select Browse . Navigate to the location FirstText.xml was saved and select it. Click Submit and wait for a generated receipt to be shown.
Result You should now see a box containing the ID and timestamp of the test transmission (both are static values from test transmission).

Acknowledgement

Action Goto the Request Ack page using the link on the left panel and request the Acknowledgement for the transmission that was sent.
Result Check to make sure the TransmissionStatus is shown as Accepted and that the total, accepted and SER documents are all 1 .

Last Acknowledgement

Action Issue a request similar to the previous test but using the Request Last Ack link.
Result Make sure there is no difference between the result for the Ack and Last Ack.