X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC850.sh;fp=test%2Fauto-test%2FFTC850.sh;h=d228eee5f877927a903b1f0626feb99e3ab93657;hb=2f3b268bbbe457a9b5078670dae7e78571bdb265;hp=0b08417b5a1cc3024d4ab6e36ab97be91c6e0542;hpb=5e06925a6d7f0af65127770928a4aab509db4063;p=nonrtric.git diff --git a/test/auto-test/FTC850.sh b/test/auto-test/FTC850.sh index 0b08417b..d228eee5 100755 --- a/test/auto-test/FTC850.sh +++ b/test/auto-test/FTC850.sh @@ -2,7 +2,7 @@ # ============LICENSE_START=============================================== # Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. -# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. +# Copyright (C) 2023-2024 OpenInfra Foundation Europe. 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. @@ -182,6 +182,21 @@ for __httpx in $TESTED_PROTOCOLS ; do sim_equal ricsim_g1_$i num_instances $NUM_POLICIES_PER_RIC done + + start_timer "GET $((NUM_POLICIES_PER_RIC*$NUM_RICS)) polices over $interface using "$__httpx + + a1pms_api_get_policy_parallel 200 $NUM_RICS $START_ID $NUM_POLICIES_PER_RIC 7 + + print_timer "GET $((NUM_POLICIES_PER_RIC*$NUM_RICS)) polices over $interface using "$__httpx + + INSTANCES=$(($NUM_RICS*$NUM_POLICIES_PER_RIC)) + a1pms_equal json:policies $INSTANCES + + for ((i=1; i<=$NUM_RICS; i++)) + do + sim_equal ricsim_g1_$i num_instances $NUM_POLICIES_PER_RIC + done + start_timer "Delete $((NUM_POLICIES_PER_RIC*$NUM_RICS)) polices over $interface using "$__httpx a1pms_api_delete_policy_parallel 204 $NUM_RICS $START_ID $NUM_POLICIES_PER_RIC 7