blob: 81a96692343fe4485e957b281ff2810b93f8d40a [file] [log] [blame]
Chris Austenb29d2e82016-06-07 12:25:35 -05001*** Settings ***
2Documentation This testsuite is for testing SSL connection to OpenBMC
3Suite Teardown Delete All Sessions
4
5Resource ../../lib/rest_client.robot
6Resource ../../lib/resource.txt
George Keishingd55a4be2016-08-26 03:28:17 -05007Resource ../../lib/openbmc_ffdc.robot
Gunnar Millseac1af22016-11-14 15:30:09 -06008Test Teardown FFDC On Test Case Fail
Chris Austenb29d2e82016-06-07 12:25:35 -05009
Chris Austenb29d2e82016-06-07 12:25:35 -050010*** Test Cases ***
11Test SSL Connection
12 [Documentation] This testcase is for testing the SSL connection to the
13 ... OpenBMC machine.
George Keishing97651c72016-10-04 00:44:15 -050014 [Tags] Test_SSL_Connection
George Keishing00ea8022016-11-15 00:21:21 -060015 Initialize OpenBMC
Chris Austenb29d2e82016-06-07 12:25:35 -050016
17Test non-SSL Connection to port 80
18 [Documentation] This testcase is for test to check OpenBMC machine
19 ... will not accepts the non-secure connection that is with http to
20 ... port 80 and expect a connection error
George Keishing97651c72016-10-04 00:44:15 -050021 [Tags] Test_non_SSL_Connection_to_port_80
Chris Austenb29d2e82016-06-07 12:25:35 -050022 Create Session openbmc http://${OPENBMC_HOST}/ timeout=3
George Keishing410b6292016-07-05 10:40:16 -050023 Run Keyword And Expect Error ConnectionError* Get Request openbmc /list
Chris Austenb29d2e82016-06-07 12:25:35 -050024
25Test non-SSL Connection to port 443
George Keishing47581562017-01-12 09:12:40 -060026 [Documentation] Test that OpenBmc does not accept the non-secure
27 ... connection with http to port 443 and expect connection error.
George Keishingcac24c72016-09-23 04:44:19 -050028 [Tags] Test_non_SSL_Connection_to_port_443
Chris Austenb29d2e82016-06-07 12:25:35 -050029 Create Session openbmc http://${OPENBMC_HOST}:443/
George Keishing47581562017-01-12 09:12:40 -060030 Run Keyword And Expect Error ConnectionError* Get Request openbmc /list