blob: 81a96692343fe4485e957b281ff2810b93f8d40a [file] [log] [blame]
*** Settings ***
Documentation This testsuite is for testing SSL connection to OpenBMC
Suite Teardown Delete All Sessions
Resource ../../lib/rest_client.robot
Resource ../../lib/resource.txt
Resource ../../lib/openbmc_ffdc.robot
Test Teardown FFDC On Test Case Fail
*** Test Cases ***
Test SSL Connection
[Documentation] This testcase is for testing the SSL connection to the
... OpenBMC machine.
[Tags] Test_SSL_Connection
Initialize OpenBMC
Test non-SSL Connection to port 80
[Documentation] This testcase is for test to check OpenBMC machine
... will not accepts the non-secure connection that is with http to
... port 80 and expect a connection error
[Tags] Test_non_SSL_Connection_to_port_80
Create Session openbmc http://${OPENBMC_HOST}/ timeout=3
Run Keyword And Expect Error ConnectionError* Get Request openbmc /list
Test non-SSL Connection to port 443
[Documentation] Test that OpenBmc does not accept the non-secure
... connection with http to port 443 and expect connection error.
[Tags] Test_non_SSL_Connection_to_port_443
Create Session openbmc http://${OPENBMC_HOST}:443/
Run Keyword And Expect Error ConnectionError* Get Request openbmc /list