summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/test/remote-python/remote-python-enrichment-test.sh
blob: e2344bdc7dcebf0b79f711d3a607e3b7e1d0899b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
CBA_NAME="remote-python"
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