3.1 Modify Selected Expression
3.1.1 No expression available
INPUT
A. Remove all expressions
B. Choose Modify Selected Expression
C. Hit Configure
OUTPUT
Error screen saying "There was no expression chosen..."
3.1.2 Valid expression chosen
INPUT
A. Select expression from pull-down list
B. Choose Modify Selected Expression
C. Hit Configure
OUTPUT
Modify Filter screen.
3.2 Remove Selected Expression
3.2.1 No expression available
INPUT
A. Remove all expressions
B. Choose Remove Selected Expression
C. Hit Configure
OUTPUT
Error screen saying "There was no expression chosen..."
3.2.2 Valid expression chosen
INPUT
A. Select expression from pull-down list (i.e. telnet)
B. Choose Modify Selected Expression
C. Hit Configure
OUTPUT
Validation screen confirming that "Filter telnet Removed."
3.3 Add a New Expression
INPUT
A. Choose Add a New Expression
OUTPUT
Modify Filter screen.
3.4 Nothing chosen
INPUT
A. Do not choose any options (if options chosen, click Reset)
B. Click Configure
OUTPUT
Error screen saying "No action was chosen..."
3.5 Action chosen
*See Tests 3.1 and 3.2*
3.6 Reset
INPUT
A. Choose Modify Selected Expression or Remove the Selected Expression
B. Hit Reset
OUTPUT
Screen should return to a state without any action highlighted.
3.7 Cancel
INPUT
A. Choose Modify Selected Expression or Remove the Selected Expression
B. Hit Cancel
OUTPUT
Returns to the main Manager/Subordinate Configuration screen.
3.8 Return to Main Configuration Page
INPUT
A. Choose Return to Main Configuration Page
OUTPUT
Returns to the main Manager/Subordinate Configuration screen.
3.9 ToolIMain
3.9.1 printInstruct
INPUT
A. No options
OUTPUT
Instructions for the program are output to stderr.
3.9.2 ParseParameters
INPUT
A. Unknown options
OUTPUT
Unknown option error, parse error. Instructions for the program are output to stderr.
3.9.3 ValidateParameters
3.9.3.1 ValidateParameters1
INPUT
A. Not all required parameters
OUTPUT
Required fields not filled, validate error. Instructions for the program are output to stderr.
3.9.3.2 ValidateParameters2
INPUT
A. Invalid date/time
OUTPUT
Date or Time not correct format, validate error. Instructions for the program are output to stderr.
3.9.4 SendToHummer
3.9.4.1 SendToHummer1
INPUT
A. Correct message to hummer
OUTPUT
Receive message in correct format at hummer port.
3.9.4.2 SendToHummer2
INPUT
A. Correct message to hummer, no hummer to receive connection
OUTPUT
"Failed to connect to %s", hostname.
3.9.4.3 SendToHummer3
INPUT
A. Correct Params
OUTPUT
gethostname error (How?)
3.9.4.4 SendToHummer4
INPUT
A. Correct Params
OUTPUT
OutMessage: Correct Format (Duplicate ToolIMain.SendToHummer1)
3.10 TrustCon
3.10.1 AddTrust
INPUT
A. Valid trust object
OUTPUT
Printout trust Object contents
3.10.2 SetDefaultTrust
INPUT
A. Valid trust level
OUTPUT
Printout trust level default
3.10.3 GetTrust
3.10.3.1 GetTrust1
INPUT
A. HostIP in Trustlist as range
OUTPUT
Trust in list range
3.10.3.2 GetTrust2
INPUT
A. HostIP not in Trust list
OUTPUT
Default trust
3.10.3.3 GetTrust3
INPUT
A. HostIP explicitly in trust list
OUTPUT
Trust in list
3.11 ConvertIP
INPUT
A. IP address in numeric form
OUTPUT
New form of IP Address.
3.12 Print_Error
INPUT
A. error message, and program name
OUTPUT
Message in correct format.
3.13 MessageFilterCon
3.13.1 Match
3.13.1.1 Match1
INPUT
A. string, matching regex
OUTPUT
String matches.
3.13.1.2 Match2
INPUT
A. string, not matching regex
OUTPUT
String does not match.
3.13.2 AddFilter
INPUT
A. A valid message filter
OUTPUT
Print out message filter.
3.13.3 MatchExp
3.13.3.1 MatchExp1
INPUT
A. message that matches one filter
OUTPUT
Message filter list returns the filter.
3.13.3.2 MatchExp2
INPUT
A. message that matches multiple filters
OUTPUT
Message filter lists returns the filters.
3.13.3.3 MatchExp3
INPUT
A. message that doesn't match any filters
OUTPUT
Message filter lists returns null.
3.14 Socket, ServerSocket, OutSocket
INPUT
A. connect and send message to server wait for and message
OUTPUT
Messages match on both sides of socket
3.15 Server
3.15.1 Server1
INPUT
A. Server starts
OUTPUT
Server reads all config info from DB, Server is listening on its port.
3.15.2 Server2
INPUT
A. Send HUP to server
OUTPUT
Server rereads all config info from DB.
3.15.3 Server3
INPUT
A. Send INT to Server
OUTPUT
Server dies.
3.15.4 Server4
INPUT
A. Send message to server with ToolI w/o filter.
OUTPUT
Message passes into not filters.
3.15.5 Server5
INPUT
A. Send message with date filter
OUTPUT
Message passes into correct filters.
3.15.6 Server6
INPUT
A. Send message with time filter
OUTPUT
Message passes into correct filters.
3.15.7 Server7
INPUT
A. Send message with trust filter
OUTPUT
Message passes into correct filters.
3.15.8 Server8
INPUT
A. Send message with accept list filter
OUTPUT
Message passes into correct filters.
3.15.9 Server9
INPUT
A. Send message to alert console filter
OUTPUT
Message sent to correct port.
3.15.10 Server10
INPUT
A. Send message to log to DB filter
OUTPUT
Message inserted into log DB.
3.15.11 Server11
INPUT
A. Send message to filter to forward to another host
OUTPUT
Message sent to other host.
3.16 MessageHandler
3.16.1 makedate
INPUT
A. date in yyyymmdd format
OUTPUT
Date in mm-dd-yyyy format.
3.16.2 maketime
INPUT
A. time in hhmmss format
OUTPUT
Time in hh:mm:ss format.
3.16.3 LoadMessageFilters
INPUT
A. Filters load from DB
OUTPUT
Print out loaded filters match input.
3.16.4 LoadTrust
INPUT
A. trusts load from DB
OUTPUT
Print out loaded trusts match input.
3.16.5 HandleMessage
INPUT
A. message, hostip
OUTPUT
Debug statements that message was handled correctly (similar, same tests, as Server.)
3.16.6 ReportError
INPUT
A. error message
OUTPUT
Error message enters Hummer.
3.16.7 GetManager
INPUT
A. Manager from DB
OUTPUT
Manager matches DB entry.
3.16.8 GetSubord
INPUT
A. Subord from DB
OUTPUT
Subord matches DB entries.
3.17 Filter Modification
3.17.1 Date
3.17.1.1 MM-DD-YYYY
INPUT
A. Input a valid date in MM-DD-YYYY format
OUTPUT
Correct data is entered into the database.
3.17.1.2 YYYY-MM-DD
INPUT
A. Input a valid date in YYYY-MM-DD format
OUTPUT
Correct data is entered into database in MM-DD-YYYY format.
3.17.1.3 Full Month Name
INPUT
A. Input a valid date with the full month spelled out.
OUTPUT
Correct data is entered into database in MM-DD-YYYY format.
3.17.1.4 Abbreviated Month Name
INPUT
A. Input a valid date using the abbreviation for the month.
OUTPUT
Correct data is entered into database in MM-DD-YYYY format.
3.17.1.5 Single Digit Fields
INPUT
A. Single digits for the month/day
OUTPUT
Correct data is entered into database in MM-DD-YYYY format, filling to the left with zeros.
3.17.1.6 Omit Fields
INPUT
A. Omit one of the fields.
OUTPUT
Error Message.
3.17.1.7 Incomplete Year
3.17.1.7.1 Less than 3 digits
INPUT
A. Input a 1 - 2 digit year
OUTPUT
Data entered into database adding 2000.
3.17.1.7.2 Exactly 3 digits
INPUT
A. Input a 3 digit year
OUTPUT
Data entered into database filling with zeros to the left.
3.17.2 Time
3.17.2.1 HH:MM:SS
INPUT
A. Input a valid time in HH:MM:SS format
OUTPUT
Correct data is entered into the database in HH:MM:SS format.
3.17.2.2 HH:MM:
INPUT
A. Input a valid time in HH:MM: format
OUTPUT
Correct data is entered into the database in HH:MM:00 format.
3.17.2.2 HH:
INPUT
A. Input a valid time in HH: format
OUTPUT
Correct data is entered into the database in HH:00:00 format.
3.17.2.3 Missing :'s
INPUT
A. Enter data without the :'s
OUTPUT
Error message.
3.17.2.4 Alpha
INPUT
A. Enter alpha characters
OUTPUT
Error message.
3.17.3 Trust Level
INPUT
A. Choose a trust level from the list.
OUTPUT
Correct trust level is entered into the database.
3.17.4 Cooperation Level
INPUT
A. Choose a cooperation level from the list.
OUTPUT
Correct cooperation level is entered into the database.
3.17.5 Integrity Level
INPUT
A. Choose a integrity level from the list.
OUTPUT
Correct integrity level is entered into the database.
3.17.6 Messages Accepted From
3.17.6.1 Manager/Subordinate Aliases (with existing manager/subordinates)
INPUT
A. Input the alias 'manager' or 'subordinate' (without ' ')
OUTPUT
The manager/subordinate alias should be entered into the database and
the actual manager/subordinate
name/IP should be looked up during runtime.
3.17.6.2 Manager/Subordinate Alias (without existing manager)
INPUT
A. Input the alias 'manager' or 'subordinate' (without ' ')
OUTPUT
Error message.
3.17.6.3 Name/IP
INPUT
A. Input a name or IP address of a machine
OUTPUT
The correct IP address should be entered into the database.
3.17.6.4 IP Ranges
INPUT
A. Input a valid IP address range
OUTPUT
The correct IP range should be entered into the database.
3.17.6.5 Name Ranges
INPUT
A. Input a range of machines using names
OUTPUT
Error message.
3.17.6.6 Blank
INPUT
A. Leave field blank
OUTPUT
Confirmation message that all machines will be accepted.
3.17.7 Log Locally
3.17.7.1 True
INPUT
A. Click on Log Locally
OUTPUT
This should be marked true in the database.
3.17.7.2 False
INPUT
A. Do not click on Log Locally
OUTPUT
This should be marked false in the database.
3.17.8 Alert this Console
3.17.8.1 True
INPUT
A. Click on Alert this Console
OUTPUT
This should be marked true in the database.
3.17.8.2 False
INPUT
A. Do not click on Alert this Console
OUTPUT
This should be marked false in the database.
3.17.9 Forward this message to the Hummers
*Execute test cases 3.17.6.1 - 3.17.6.5
3.17.9.6 Blank
INPUT
A. Leave field blank
OUTPUT
Confirmation that no messages will be forwarded to any Hummers.
3.17.10 Forward this message to the Peer Groups
3.17.10.1 Name
INPUT
A. Input a peer group name
OUTPUT
The correct peer group should be entered into the database.
3.17.6.4 IP Ranges
INPUT
A. Input an IP address range
OUTPUT
Error message.
3.17.6.5 Name Ranges
INPUT
A. Input a range of machines using names
OUTPUT
Error message.
3.17.6.6 Blank
INPUT
A. Leave field blank
OUTPUT
Confirmation message.
3.17.11 Filter Name
INPUT
A. Input an existing filter name.
OUTPUT
Error Message.
3.17.11 Configure
INPUT
A. Hit Configure
OUTPUT
A screen with the correct information about the filter should be displayed.
3.17.12 Reset
INPUT
A. Hit Reset
OUTPUT
The screen should reset.
3.17.13 Cancel
INPUT
A. Hit Cancel
OUTPUT
Should return to the Main Screen.
3.18 Peer Group Creation Interface
3.18.1 Choose a Peer Group Name
3.18.1.1 Valid data
INPUT
A. Input a peer group name, not containing spaces
OUTPUT
The peer group name should be entered into the database.
3.18.1.2 Invalid data
INPUT
A. Input a peer group name containing spaces
OUTPUT
Error message.
3.18.2 Enter the Contact email address
3.18.2.1 Valid data
INPUT
A. Input a contact address, not containing spaces
OUTPUT
The contact address should be entered into the database.
3.18.2.2 Invalid data
INPUT
A. Input a contact address containing spaces
OUTPUT
Error message.
3.18.3 Enter the Hummers to be added to the above group in the box below
3.18.3.1 Name/IP
INPUT
A. Input a name or IP address
OUTPUT
The correct IP address should be entered into the database.
3.18.3.2 IP Ranges
INPUT
A. Input an IP address range
OUTPUT
Error message.
3.18.3.3 Name Ranges
INPUT
A. Input a range of machines using names
OUTPUT
Error message.
3.18.3.4 Blank
INPUT
A. Leave field blank
OUTPUT
Confirmation message.
3.18.4 Create
INPUT
A. Hit Create
OUTPUT
A screen validating the information received.
3.18.5 Reset
INPUT
A. Hit Reset
OUTPUT
The screen should reset.
3.18.6 Cancel
INPUT
A. Hit Cancel
OUTPUT
Should return to the Main Screen.
3.19 Edit a Peer Group
3.19.1 Current Peer Group is:
INPUT
A. Enter a peer group
OUTPUT
The correct peer group is displayed.
3.19.2 Add a Hummer to the Peer Group
INPUT
A. Type in a peer group name
B. Hit Add
OUTPUT
Confirmation screen that peer was added.
3.19.3 Remove a Hummer from the Peer Group
INPUT
A. Type in a peer group name
B. Hit Remove
OUTPUT
Confirmation screen that peer was removed.
3.20 Peer Moderation Interface
3.20.1 Communication Frequency is:
3.20.1.1 Valid data
INPUT
A. Input an integer value
OUTPUT
The integer value should be entered into database.
3.20.1.2 Alpha
INPUT
A. Input alpha characters
OUTPUT
Error message.
3.20.1.3 Floating point
INPUT
A. Input a floating point number (with a decimal)
OUTPUT
Error message.
3.20.2 Create
INPUT
A. Hit Create
OUTPUT
A screen validating the information received.
3.20.3 Reset
INPUT
A. Hit Reset
OUTPUT
The screen should reset.
3.21 Manager/Subordinates
3.21.1 Configure My Manager
3.21.1.1 No existing manager
INPUT
A. Hit Configure My Manager
OUTPUT
Error screen.
3.21.1.2 Existing manager
INPUT
A. Hit Configure My Manager
B. Enter correct authentication information
OUTPUT
Main screen for hummer on manager.
3.21.2 Change My Manager
INPUT
A. Hit Change My Manager
OUTPUT
Screen allowing user to enter a manager name.
3.21.3 Delete My Manager
3.21.1.1 No existing manager
INPUT
A. Hit Delete My Manager
OUTPUT
Error screen.
3.21.1.2 Existing manager
INPUT
A. Hit Delete My Manager
OUTPUT
Confirmation that manager has been deleted.
3.22 Peer Interface
3.22.1 Send Hummer Message to
INPUT
A. Select an option from the pull-down list
OUTPUT
The correct option should be entered into the database.
3.22.2 Enter Hummer Message Below:
INPUT
A. Enter a message
B. Hit Send Message
OUTPUT
The correct message should be entered into the database.
3.22.3 View Peer Requests/Action Log
INPUT
A. Send a message to a peer group
B. Check messages
OUTPUT
The message should be displayed.
3.22.4 Group Status
INPUT
A. Edit a peer group
OUTPUT
The correct information should be displayed.
3.23 Database Access Form
3.23.1 Date
3.23.1.1 MM-DD-YYYY
INPUT
A. Input a valid date in MM-DD-YYYY format
OUTPUT
Correct data is extracted from the database.
3.23.1.2 YYYY-MM-DD
INPUT
A. Input a valid date in YYYY-MM-DD format
OUTPUT
Correct data is extracted database in MM-DD-YYYY format.
3.23.1.3 Full Month Name
INPUT
A. Input a valid date with the full month spelled out.
OUTPUT
Correct data is extracted from database in MM-DD-YYYY format.
3.23.1.4 Abbreviated Month Name
INPUT
A. Input a valid date using the abbreviation for the month.
OUTPUT
Correct data is extracted from database in MM-DD-YYYY format.
3.23.1.5 Single Digit Fields
INPUT
A. Single digits for the month/day
OUTPUT
Correct data is extracted from database in MM-DD-YYYY format, filling to the left with zeros.
3.23.1.6 Omit Fields
INPUT
A. Omit one of the fields.
OUTPUT
All is selected
3.23.1.7 Incomplete Year
3.23.1.7.1 Less than 3 digits
INPUT
A. Input a 1 - 2 digit year
OUTPUT
Data extracted from database adding 2000.
3.23.1.7.2 Exactly 3 digits
INPUT
A. Input a 3 digit year
OUTPUT
Data is extracted from database filling with zeros to the left.
3.23.2 Time
3.23.2.1 HH:MM:SS
INPUT
A. Input a valid time in HH:MM:SS format
OUTPUT
Correct data is extracted from the database in HH:MM:SS format.
3.23.2.2 HH:MM:
INPUT
A. Input a valid time in HH:MM: format
OUTPUT
Correct data is extracted from the database in HH:MM:00 format.
3.23.2.2 HH:
INPUT
A. Input a valid time in HH: format
OUTPUT
Correct data is extracted from the database in HH:00:00 format.
3.23.2.3 Missing :'s
INPUT
A. Enter data without the :'s
OUTPUT
Error message.
3.23.2.4 Alpha
INPUT
A. Enter alpha characters
OUTPUT
Error message.
3.23.3 Trust Level
INPUT
A. Choose a trust level from the list.
OUTPUT
Correct trust level is extracted from the database.
3.23.4 Cooperation Level
INPUT
A. Choose a cooperation level from the list.
OUTPUT
Correct cooperation level is extracted from the database.
3.23.5 Integrity Level
INPUT
A. Choose a integrity level from the list.
OUTPUT
Correct integrity level is extracted from the database.
3.23.11 Configure
INPUT
A. Hit Configure
OUTPUT
A screen with the correct information about the filter should be displayed.
3.23.12 Reset
INPUT
A. Hit Reset
OUTPUT
The screen should reset.
3.23.13 Cancel
INPUT
A. Hit Cancel
OUTPUT
Should return to the Main Screen.