diff options
Diffstat (limited to 'cds-regression-test/test/netconf/netconf-enrichment-test.sh')
-rwxr-xr-x | cds-regression-test/test/netconf/netconf-enrichment-test.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cds-regression-test/test/netconf/netconf-enrichment-test.sh b/cds-regression-test/test/netconf/netconf-enrichment-test.sh new file mode 100755 index 0000000..3c76ce4 --- /dev/null +++ b/cds-regression-test/test/netconf/netconf-enrichment-test.sh @@ -0,0 +1,17 @@ +#!/bin/bash +CBA_NAME="netconf" +TEST_NAME="$CBA_NAME-enrichment" +TEST_NUMBER=$RANDOM +RESPONSE_HEADERS_FILE="$RESPONSES_DIRECTORY/$TEST_NAME-$TEST_NUMBER-response-headers" + +. ./$TEST_DIRECTORY/utils.sh + +echo "Compressing CBA: $CBA_NAME" +compress_cba $CBA_NAME + +echo "Enriching CBA: $CBA_NAME" +enrich_cba $CBA_NAME $RESPONSE_HEADERS_FILE + +echo 'Assert status 200' +assert_status_code 200 $RESPONSE_HEADERS_FILE + |