X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tests%2Faaf%2Fcertservice%2Fcert-service-test.robot;h=9d45e455f98d6bb162bc1882ecde4d73e77c19a4;hb=75573b0409eeabbd08f3a2801fd11c47078a249f;hp=ad35826333f0310342b0f6febf08ac5a6a7c8357;hpb=b133879ebd28e6e8c6cbb65534ac361f2a7550a8;p=integration%2Fcsit.git diff --git a/tests/aaf/certservice/cert-service-test.robot b/tests/aaf/certservice/cert-service-test.robot index ad358263..9d45e455 100644 --- a/tests/aaf/certservice/cert-service-test.robot +++ b/tests/aaf/certservice/cert-service-test.robot @@ -42,3 +42,14 @@ Report Bad Request Error When PK Is Not Valid [Tags] AAF-CERT-SERVICE [Documentation] Send request to ${CERT_SERVICE_ENDPOINT}/${CLIENT_CA_NAME} endpoint and expect 400 Send Get Request with Header And Expect Error ${CERT_SERVICE_ENDPOINT}/${CLIENT_CA_NAME} ${VALID_CLIENT_CSR_FILE} ${INVALID_PK_FILE} 400 + +Cert Service Client successful create keystore and trust store + [Tags] AAF-CERT-SERVICE + [Documentation] Run with correct env and expected exit code 0 + Run Cert Service Client Container And Validate Exit Code ${VALID_ENV_FILE} 0 + +Creation of keystore and trustore unsuccesful, incorrect client configuration + [Tags] AAF-CERT-SERVICE + [Documentation] Run with invalid CaName env and expected exit code 5 + Run Cert Service Client Container And Validate Exit Code ${INVALID_ENV_FILE} 5 +