You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Redfish/event/SNMP] test "Configure SNMP Manager On BMC With Out Of Range Port And Verify" and "Configure SNMP Manager On BMC With Empty Port And Verify"
#2244
Open
Julia-Delta opened this issue
Jun 3, 2024
· 0 comments
I have a question about out-of-range port and empty port.
The code designed that if port number was bigger than 65536, this port number will set the default value, like SNMP default port 162.
In the test case "Configure SNMP Manager On BMC With Out Of Range Port And Verify", a step is "Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${out_of_range_port} ${HTTP_BAD_REQUEST}" ask the return code be 400.
Actually I got the return code 201 because that the port number became 162, so I always test failed.
And in the test case "Configure SNMP Manager On BMC With Empty Port And Verify", the step is "Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${empty_port}", ask the return code be 201.
But I got the return code 400, not 201.
I though these two test case are simulier, why ask the different return code?
How should I to modify this issue?
The text was updated successfully, but these errors were encountered:
I have a question about out-of-range port and empty port.
The code designed that if port number was bigger than 65536, this port number will set the default value, like SNMP default port 162.
In the test case "Configure SNMP Manager On BMC With Out Of Range Port And Verify", a step is "Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${out_of_range_port} ${HTTP_BAD_REQUEST}" ask the return code be 400.
Actually I got the return code 201 because that the port number became 162, so I always test failed.
And in the test case "Configure SNMP Manager On BMC With Empty Port And Verify", the step is "Configure SNMP Manager Via Redfish ${SNMP_MGR1_IP} ${empty_port}", ask the return code be 201.
But I got the return code 400, not 201.
I though these two test case are simulier, why ask the different return code?
How should I to modify this issue?
The text was updated successfully, but these errors were encountered: