Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 1 | *** Settings *** |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 2 | Documentation This testsuite is for testing SSL connection to OpenBMC. |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 3 | Suite Teardown Delete All Sessions |
| 4 | |
George Keishing | f86e45f | 2024-09-10 11:03:07 +0530 | [diff] [blame] | 5 | Resource ../lib/rest_client.robot |
| 6 | Resource ../lib/resource.robot |
| 7 | Resource ../lib/openbmc_ffdc.robot |
Gunnar Mills | eac1af2 | 2016-11-14 15:30:09 -0600 | [diff] [blame] | 8 | Test Teardown FFDC On Test Case Fail |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 9 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 10 | *** Test Cases *** |
George Keishing | 649ec89 | 2023-12-08 18:00:50 +0530 | [diff] [blame] | 11 | |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 12 | Test SSL Connection |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 13 | [Documentation] This testcase is for testing the SSL connection to the |
| 14 | ... OpenBMC machine. |
George Keishing | 97651c7 | 2016-10-04 00:44:15 -0500 | [diff] [blame] | 15 | [Tags] Test_SSL_Connection |
George Keishing | 00ea802 | 2016-11-15 00:21:21 -0600 | [diff] [blame] | 16 | Initialize OpenBMC |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 17 | |
George Keishing | ac8661e | 2022-02-10 00:36:12 -0600 | [diff] [blame] | 18 | Test Non SSL Connection To Port 80 |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 19 | [Documentation] Test that OpenBMC machine does not accept the non-secure |
| 20 | ... http connection at port 80 and would expect a connection error. |
| 21 | [Tags] Test_Non_SSL_Connection_To_Port_80 |
George Keishing | 649ec89 | 2023-12-08 18:00:50 +0530 | [diff] [blame] | 22 | |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 23 | Create Session openbmc http://${OPENBMC_HOST}/ timeout=3 |
George Keishing | 649ec89 | 2023-12-08 18:00:50 +0530 | [diff] [blame] | 24 | Run Keyword And Expect Error *ConnectTimeoutError* GET On Session openbmc /list |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 25 | |
Matt Fischer | 46bd8c2 | 2023-09-01 11:00:26 -0600 | [diff] [blame] | 26 | Test Non SSL Connection To HTTPS Port |
George Keishing | 4758156 | 2017-01-12 09:12:40 -0600 | [diff] [blame] | 27 | [Documentation] Test that OpenBmc does not accept the non-secure |
Matt Fischer | 46bd8c2 | 2023-09-01 11:00:26 -0600 | [diff] [blame] | 28 | ... http connection at port ${HTTPS_PORT} and would expect a connection error. |
George Keishing | 365dd46 | 2023-10-12 18:56:00 +0530 | [diff] [blame] | 29 | [Tags] Test_Non_SSL_Connection_To_HTTPS_Port |
George Keishing | 649ec89 | 2023-12-08 18:00:50 +0530 | [diff] [blame] | 30 | |
Matt Fischer | 46bd8c2 | 2023-09-01 11:00:26 -0600 | [diff] [blame] | 31 | Create Session openbmc http://${OPENBMC_HOST}:${HTTPS_PORT}/ timeout=3 |
George Keishing | 649ec89 | 2023-12-08 18:00:50 +0530 | [diff] [blame] | 32 | Run Keyword And Expect Error ConnectionError* GET On Session openbmc /list |