Test to GET services available for HW_CI
Change-Id: If819cbd49a8cbc9837c96ad742d6e42d7bf28c5e
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 92390af..17eb924 100644
--- a/redfish/service_root/test_service_root.robot
+++ b/redfish/service_root/test_service_root.robot
@@ -30,15 +30,6 @@
${HTTP_OK} /redfish/v1
-GET Redfish SessionService Resource With Login
- [Documentation] Login to BMCweb and get /redfish/v1/SessionService.
- [Tags] GET_Redfish_SessionService_Resource_With_Login
-
- Redfish.Login
- ${resp}= Redfish.Get /redfish/v1/SessionService
- Redfish.Logout
-
-
GET Redfish SessionService Without Login
[Documentation] Get /redfish/v1/SessionService without login
[Tags] GET_Redfish_SessionService_Without_Login
@@ -47,6 +38,22 @@
... valid_status_codes=[${HTTP_UNAUTHORIZED}]
+GET Redfish Resources With Login
+ [Documentation] Login to BMCweb and GET valid resource.
+ [Tags] GET_Redfish_Resources_With_Login
+ [Setup] Redfish.Login
+ [Template] GET And Verify Redfish Response
+
+ # Expect status Resource URL Path
+ ${HTTP_OK} /redfish/v1/SessionService
+ ${HTTP_OK} /redfish/v1/AccountService
+ ${HTTP_OK} /redfish/v1/Systems/system
+ ${HTTP_OK} /redfish/v1/Chassis/chassis
+ ${HTTP_OK} /redfish/v1/Chassis/motherboard
+ ${HTTP_OK} /redfish/v1/Managers/bmc
+ ${HTTP_OK} /redfish/v1/UpdateService
+
+
Redfish Login Using Invalid Token
[Documentation] Login to BMCweb with invalid token.
[Tags] Redfish_Login_Using_Invalid_Token
diff --git a/test_lists/HW_CI b/test_lists/HW_CI
index 6687ea7..c22e1c3 100644
--- a/test_lists/HW_CI
+++ b/test_lists/HW_CI
@@ -31,7 +31,7 @@
#Redfish tests cases.
-i Redfish_Login_And_Logout
-i GET_Redfish_Hypermedia_Without_Login
--i GET_Redfish_SessionService_Resource_With_Login
+-i GET_Redfish_Resources_With_Login
-i GET_Redfish_SessionService_Without_Login
-i Redfish_Login_Using_Invalid_Token
-i Delete_Redfish_Session_Using_Valid_Login