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 | |
| 5 | Resource ../../lib/rest_client.robot |
Sandhya Somashekar | 839a0c2 | 2019-01-31 05:05:43 -0600 | [diff] [blame] | 6 | Resource ../../lib/resource.robot |
George Keishing | d55a4be | 2016-08-26 03:28:17 -0500 | [diff] [blame] | 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 *** |
| 11 | Test SSL Connection |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 12 | [Documentation] This testcase is for testing the SSL connection to the |
| 13 | ... OpenBMC machine. |
George Keishing | 97651c7 | 2016-10-04 00:44:15 -0500 | [diff] [blame] | 14 | [Tags] Test_SSL_Connection |
George Keishing | 00ea802 | 2016-11-15 00:21:21 -0600 | [diff] [blame] | 15 | Initialize OpenBMC |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 16 | |
George Keishing | ac8661e | 2022-02-10 00:36:12 -0600 | [diff] [blame] | 17 | Test Non SSL Connection To Port 80 |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 18 | [Documentation] Test that OpenBMC machine does not accept the non-secure |
| 19 | ... http connection at port 80 and would expect a connection error. |
| 20 | [Tags] Test_Non_SSL_Connection_To_Port_80 |
| 21 | Create Session openbmc http://${OPENBMC_HOST}/ timeout=3 |
| 22 | Run Keyword And Expect Error ConnectionError* Get Request openbmc /list |
Chris Austen | b29d2e8 | 2016-06-07 12:25:35 -0500 | [diff] [blame] | 23 | |
Matt Fischer | 46bd8c2 | 2023-09-01 11:00:26 -0600 | [diff] [blame] | 24 | Test Non SSL Connection To HTTPS Port |
George Keishing | 4758156 | 2017-01-12 09:12:40 -0600 | [diff] [blame] | 25 | [Documentation] Test that OpenBmc does not accept the non-secure |
Matt Fischer | 46bd8c2 | 2023-09-01 11:00:26 -0600 | [diff] [blame] | 26 | ... http connection at port ${HTTPS_PORT} and would expect a connection error. |
George Keishing | 365dd46 | 2023-10-12 18:56:00 +0530 | [diff] [blame] | 27 | [Tags] Test_Non_SSL_Connection_To_HTTPS_Port |
Matt Fischer | 46bd8c2 | 2023-09-01 11:00:26 -0600 | [diff] [blame] | 28 | Create Session openbmc http://${OPENBMC_HOST}:${HTTPS_PORT}/ timeout=3 |
George Keishing | 4758156 | 2017-01-12 09:12:40 -0600 | [diff] [blame] | 29 | Run Keyword And Expect Error ConnectionError* Get Request openbmc /list |