|
Inopportune validation is performed to check whether the agent drops an incomplete request or any invalid messages sent to the agent. Requests may go with the improper community, syntax type, etc. The agent is expected to drop these requests.
Test Cases for Inopportune Validation
SNMP Agent Tester has a set of built-in test cases for inopportune validation. Based on the request type chosen, requests with the following combinations are sent to the agent:
By changing the SNMP version type, community type, community version, community length, request type, request ID type, error status type, error index type, OID type, OID length of a particular varbind, OID value of particular varbind , value type and the length of the value.
By changing the remaining length value available in between community fields and request id fields and changing the sequence, which is common to all varbinds.
By giving a wrong sequence or wrong remaining length.
The test case is treated as passed when the agent drops the request. If the agent responds to any of these requests, it is treated as a failed test case.
Steps Involved in Inopportune Validation
Following are the steps involved in Inopportune Validation:
Select Inopportune from the project tree. This opens the Inopportune Validation panel on the right.
Select the type of requests for which inopportune validation has to be performed.
Click Inopportune Validation to begin validation.
Viewing the Validation Reports
The result of the validation can be viewed by selecting the Report Viewer tab. You have the following options to view the report:
You can view the reports based on the result status by selecting the required option from the Select a view combo box.
You can view the reports based on the test case grouping by selecting the appropriate group from the project tree.
You can view the details of a specific test case by selecting a row from the report. For failed test cases, you can view the SNMP PDU Dump by clicking the Decode button from the test case summary report.
You have an option to view the graphical representation of the reports by clicking the bar graph or pie chart icon.
The report summary and the summary of the failed test cases are displayed at the bottom of the report viewer based on the node selected in the project tree.
You can also generate HTML reports of the performed validation.
Clearing the Validation Reports
To clear the validation reports, select Inopportune node from the project tree and then select Reports --> Clear Reports --> Clear Inopportune Reports from the menu bar.
|