blob: 060f3c3646aa8639c96f8f98156193ef4316074a [file] [log] [blame]
BjornMagnussonXAa79a0432019-07-17 08:26:50 +00001#!/bin/bash
2
3TC_ONELINE_DESCR="3500 50MB files from 700 PNFs in 3500 events in 5 polls using FTPS, from poll to publish."
4
5. ../common/testcase_common.sh $1 $2
6
7#### TEST BEGIN ####
8
9clean_containers
10
11export MR_TC="--tc650"
12export MR_GROUPS="OpenDcae-c12:PM_MEAS_FILES"
13export MR_FILE_PREFIX_MAPPING="PM_MEAS_FILES:A"
14
15export DR_TC="--tc normal"
16export DR_FEEDS="2:A"
17
18export DR_REDIR_TC="--tc normal"
19export DR_REDIR_FEEDS="2:A"
20
21export NUM_FTPFILES="5"
22export NUM_PNFS="700"
23export FILE_SIZE="50MB"
24export FTP_TYPE="FTPS"
25export FTP_FILE_PREFIXES="A"
26export NUM_FTP_SERVERS=5
27
28log_sim_settings
29
30start_simulators
31
32consul_config_app 0 "../simulator-group/consul/c12_feed2_PM.json"
33consul_config_dmaap 0 "../simulator-group/consul/dmaap_feed2.json"
34
35mr_equal ctr_requests 0 60
36dr_equal ctr_published_files 0 60
37
38mr_print tc_info
39dr_print tc_info
40drr_print tc_info
41
42start_dfc 0
43
44dr_equal ctr_published_files 3500 3600
45
46sleep_wait 30
47
48dr_equal ctr_published_files 3500
49
50mr_greater ctr_requests 5
51
52mr_equal ctr_events 3500
53mr_equal ctr_unique_files 3500
54mr_equal ctr_unique_PNFs 700
55
56dr_equal ctr_publish_query 3500
57dr_equal ctr_publish_query_bad_file_prefix 0
58dr_equal ctr_publish_query_published 0
59dr_equal ctr_publish_query_not_published 3500
60dr_equal ctr_publish_req 3500
61dr_equal ctr_publish_req_bad_file_prefix 0
62dr_equal ctr_publish_req_redirect 3500
63dr_equal ctr_publish_req_published 0
64dr_equal ctr_published_files 3500
65dr_equal ctr_double_publish 0
66
67drr_equal ctr_publish_requests 3500
68drr_equal ctr_publish_requests_bad_file_prefix 0
69drr_equal ctr_publish_responses 3500
70
71drr_equal dwl_volume 175000000000
72
73check_dfc_logs
74
75#### TEST COMPLETE ####
76
77store_logs END
78
79print_result