api.v1.test_sysconfig

Tests for system configuration information.

caseautomation:automated
casecomponent:api
caseimportance:high
caselevel:integration
requirement:Cloud Meter
testtype:functional
upstream:yes
integrade.tests.api.v1.test_sysconfig.test_sysconfig()

Ensure sysconfig returns expected configuration information.

Id:984b1e7c-597f-419c-8c73-8d84ce4417ff
Description:Ensure sysconfig returns expected configuration information.
Steps:Do an authenticated GET requests to /api/v1/sysconfig/ and check the response.
Expectedresults:
 The server returns a 201 response with the expected configuration information.
integrade.tests.api.v1.test_sysconfig.test_sysconfig_negative()

Ensure unauthenticated requests can’t access configuration information.

Id:41b8309d-610e-4980-904d-72e19c0e1b63
Description:Ensure that unauthenticated requests to sysconfig can’t access configuration information.
Steps:Do an unauthenticated GET request to /api/v1/sysconfig/.
Expectedresults:
 The server returns a 401 response informing that the authentication information is needed to access the system configuration.