Document security architecture
[nonrtric.git] / test / common / format_endpoint_stats.sh
index 0e2b12a..80809fe 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 #  ============LICENSE_START===============================================
-#  Copyright (C) 2021 Nordix Foundation. All rights reserved.
+#  Copyright (C) 2021-2023 Nordix Foundation. All rights reserved.
 #  ========================================================================
 #  Licensed under the Apache License, Version 2.0 (the "License");
 #  you may not use this file except in compliance with the License.
@@ -17,7 +17,7 @@
 #  ============LICENSE_END=================================================
 #
 
-# This script format http endpoint stats generated by testscripts
+# This script format http endpoint stats generated by test scripts
 
 print_usage() {
   echo "Usage: format_endpoint_stats <log-base-dir> <app-id> <app-description> [tc-id]+ "
@@ -93,6 +93,7 @@ while [ $# -gt 0 ]; do
   IMAGE_INFO_FILE=$FTC_DIR/imageinfo_$APP_ID".log"
   if [ -f $IMAGE_INFO_FILE ]; then
     echo "===  Testscript: $1  ==="
+    echo "Slogan: "$(cat $FTC_DIR/endpoint_tc_slogan.log)
     echo "Image: "$(cat $IMAGE_INFO_FILE)
     image_name=$(< $IMAGE_INFO_FILE)
     image_sha=$( docker inspect --format='{{.RepoDigests}}' $image_name) 2> /dev/null
@@ -132,5 +133,6 @@ echo "===  Results: positive=2XX http status, negative=non 2XX http status - (ok
 echo "Method     Endpoint                                      Positive         Negative"
 cat $SUMMARYFILE | cut -c 4-
 
+echo "-- end of test report -- "
 exit 0