Test case to verify HTTP_NOT_FOUND error response code
Change-Id: I1b3bb99df30c8d832f4108a20ce58caed5bc78ad
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/service_root/test_service_root.robot b/redfish/service_root/test_service_root.robot
index 51bc561..4879786 100644
--- a/redfish/service_root/test_service_root.robot
+++ b/redfish/service_root/test_service_root.robot
@@ -63,6 +63,15 @@
Should Be Equal As Strings ${resp.status_code} ${HTTP_UNAUTHORIZED}
+Verify Redfish Invalid URL Response Code
+ [Documentation] Login to BMCweb and verify error response code.
+ [Tags] Verify_Redfish_Invalid_URL_Response_Code
+
+ Redfish.Login
+ Redfish.Get /redfish/v1/idontexist valid_status_codes=[${HTTP_NOT_FOUND}]
+ Redfish.Logout
+
+
Delete Redfish Session Using Valid login
[Documentation] Delete a session using valid login.
[Tags] Delete_Redfish_Session_Using_Valid_Login