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 |
| 6 | Resource ../../lib/resource.txt |
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 | |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 17 | Test Non-SSL Connection To Port 80 |
| 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 | |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 24 | Test Non-SSL Connection To Port 443 |
George Keishing | 4758156 | 2017-01-12 09:12:40 -0600 | [diff] [blame] | 25 | [Documentation] Test that OpenBmc does not accept the non-secure |
manasarm | bfdc205 | 2018-02-20 11:57:49 +0530 | [diff] [blame] | 26 | ... http connection at port 443 and would expect a connection error. |
| 27 | [Tags] Test_Non_SSL_Connection_To_Port_443 |
| 28 | Create Session openbmc http://${OPENBMC_HOST}:443/ |
George Keishing | 4758156 | 2017-01-12 09:12:40 -0600 | [diff] [blame] | 29 | Run Keyword And Expect Error ConnectionError* Get Request openbmc /list |