3 # Copyright (C) 2021 Nokia. All rights reserved.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
12 TC_ONELINE_DESCR="One 1MB file from one PNF in one event using HTTPS, from poll to publish"
14 . ../common/testcase_common.sh $1 $2
20 export MR_TC="--tc400"
21 export MR_GROUPS="OpenDcae-c12:PM_MEAS_FILES"
22 export MR_FILE_PREFIX_MAPPING="PM_MEAS_FILES:A"
24 export DR_TC="--tc normal"
27 export DR_REDIR_TC="--tc normal"
28 export DR_REDIR_FEEDS="2:A"
30 export NUM_HTTPFILES="10"
32 export FILE_SIZE="1MB"
33 export HTTP_TYPE="HTTPS"
34 export HTTP_FILE_PREFIXES="A"
35 export NUM_HTTP_SERVERS=1
41 dfc_config_app 0 "../simulator-group/dfc_configs/c12_feed2_PM_HTTPS.yaml"
43 mr_equal ctr_requests 0 60
44 dr_equal ctr_published_files 0 60
52 dr_equal ctr_published_files 1 60
56 dr_equal ctr_published_files 1
58 mr_greater ctr_requests 1
61 mr_equal ctr_unique_files 1
62 mr_equal ctr_unique_PNFs 1
64 dr_equal ctr_publish_query 1
65 dr_equal ctr_publish_query_bad_file_prefix 0
66 dr_equal ctr_publish_query_published 0
67 dr_equal ctr_publish_query_not_published 1
68 dr_equal ctr_publish_req 1
69 dr_equal ctr_publish_req_bad_file_prefix 0
70 dr_equal ctr_publish_req_redirect 1
71 dr_equal ctr_publish_req_published 0
72 dr_equal ctr_published_files 1
73 dr_equal ctr_double_publish 0
75 drr_equal ctr_publish_requests 1
76 drr_equal ctr_publish_requests_bad_file_prefix 0
77 drr_equal ctr_publish_responses 1
79 drr_equal dwl_volume 1000000
83 #### TEST COMPLETE ####