aboutsummaryrefslogtreecommitdiffstats
path: root/tests/aaf/certservice/cert-service-test.robot
diff options
context:
space:
mode:
authorTomasz Wrobel <tomasz.wrobel@nokia.com>2020-03-11 15:31:10 +0100
committerTomasz Wrobel <tomasz.wrobel@nokia.com>2020-03-13 08:23:45 +0100
commit6ed06d5157bc334b957016bd3c4f78e81cca3c94 (patch)
treec51e9c44d8946064f7dfceba703a1de174dbb0e4 /tests/aaf/certservice/cert-service-test.robot
parent75573b0409eeabbd08f3a2801fd11c47078a249f (diff)
Enhacement AAF-CerService CSIT
Added http response code verification in negative path. Added verification of .jks file creation in positive path. Issue-ID: AAF-996 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia60823a0393149054bbb4358883f7ec6dbd965b4
Diffstat (limited to 'tests/aaf/certservice/cert-service-test.robot')
-rw-r--r--tests/aaf/certservice/cert-service-test.robot8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/aaf/certservice/cert-service-test.robot b/tests/aaf/certservice/cert-service-test.robot
index 9d45e455..b3b57b54 100644
--- a/tests/aaf/certservice/cert-service-test.robot
+++ b/tests/aaf/certservice/cert-service-test.robot
@@ -43,13 +43,13 @@ Report Bad Request Error When PK Is Not Valid
[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
+Cert Service Client successfully creates keystore and truststore
[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
+ Run Cert Service Client And Validate JKS File Creation And Client Exit Code ${VALID_ENV_FILE} 0
-Creation of keystore and trustore unsuccesful, incorrect client configuration
+Run Cert Service Client Container And Validate Exit Code And API Response
[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
+ Run Cert Service Client And Validate Http Response Code And Client Exit Code ${INVALID_ENV_FILE} 404 5