BjornMagnussonXA | 42dcb26 | 2019-04-26 19:29:54 +0000 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | |
| 3 | TC_ONELINE_DESCR="3500 1KB 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 | |
| 9 | clean_containers |
| 10 | |
| 11 | export DR_TC="--tc normal" |
| 12 | export DR_REDIR_TC="--tc normal" |
| 13 | export MR_TC="--tc611" |
| 14 | export BC_TC="" |
| 15 | export NUM_FTPFILES="5" |
| 16 | export NUM_PNFS="700" |
| 17 | export FILE_SIZE="1KB" |
| 18 | export FTP_TYPE="FTPS" |
| 19 | |
| 20 | log_sim_settings |
| 21 | |
| 22 | start_simulators |
| 23 | |
| 24 | mr_equal ctr_requests 0 60 |
| 25 | dr_equal ctr_published_files 0 60 |
| 26 | |
| 27 | mr_print tc_info |
| 28 | dr_print tc_info |
| 29 | drr_print tc_info |
| 30 | |
| 31 | start_dfc |
| 32 | |
| 33 | dr_equal ctr_published_files 3500 900 |
| 34 | |
| 35 | sleep_wait 30 |
| 36 | |
| 37 | dr_equal ctr_published_files 3500 |
| 38 | |
| 39 | mr_greater ctr_requests 5 |
| 40 | |
| 41 | mr_equal ctr_events 3500 |
| 42 | mr_equal ctr_unique_files 3500 |
| 43 | mr_equal ctr_unique_PNFs 700 |
| 44 | |
| 45 | dr_equal ctr_publish_query 3500 |
| 46 | dr_equal ctr_publish_query_published 0 |
| 47 | dr_equal ctr_publish_query_not_published 3500 |
| 48 | dr_equal ctr_publish_req 3500 |
| 49 | dr_equal ctr_publish_req_redirect 3500 |
| 50 | dr_equal ctr_publish_req_published 0 |
| 51 | dr_equal ctr_published_files 3500 |
| 52 | dr_equal ctr_double_publish 0 |
| 53 | |
| 54 | drr_equal ctr_publish_requests 3500 |
| 55 | drr_equal ctr_publish_responses 3500 |
| 56 | |
| 57 | drr_equal dwl_volume 3500000 |
| 58 | |
| 59 | check_dfc_log |
| 60 | |
| 61 | #### TEST COMPLETE #### |
| 62 | |
| 63 | store_logs END |
| 64 | |
| 65 | print_result |