BjornMagnussonXA | d3104ef | 2019-03-26 12:48:46 +0000 | [diff] [blame^] | 1 | *** Settings *** |
| 2 | Library OperatingSystem |
| 3 | Library RequestsLibrary |
| 4 | Library Process |
| 5 | |
| 6 | Resource ../../resources/common-keywords.robot |
| 7 | |
| 8 | *** Variables *** |
| 9 | |
| 10 | |
| 11 | *** Test Cases *** |
| 12 | |
| 13 | ######### Single file, SFTP |
| 14 | |
| 15 | Verify single event with single 1MB SFTP file. From event poll to published file |
| 16 | [TAGS] DFC_FUNCTIONAL_1 |
| 17 | [Documentation] Verify single event with single SFTP 1MB file from event poll to published file. |
| 18 | Set Environment Variable MR_TC --tc100 |
| 19 | ${cli_cmd_output}= Run Process ./simulators-start.sh cwd=${SIMGROUP_ROOT} |
| 20 | MR Sim Emitted Files Equal 0 #Verify 0 file emitted from MR sim |
| 21 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-start.sh cwd=${DFC_ROOT} |
| 22 | Wait Until Keyword Succeeds 1 minute 10 sec MR Sim Emitted Files Equal 1 #Verify 1 file emitted from MR sim |
| 23 | ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh |
| 24 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh |
| 25 | |
| 26 | Verify single event with single 5MB SFTP file. From event poll to published file |
| 27 | [TAGS] DFC_FUNCTIONAL_2 |
| 28 | [Documentation] Verify single event with single SFTP 5MB file from event poll to published file. |
| 29 | Set Environment Variable MR_TC --tc101 |
| 30 | ${cli_cmd_output}= Run Process ./simulators-start.sh cwd=${SIMGROUP_ROOT} |
| 31 | MR Sim Emitted Files Equal 0 #Verify 0 file emitted from MR sim |
| 32 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-start.sh cwd=${DFC_ROOT} |
| 33 | Wait Until Keyword Succeeds 1 minute 10 sec MR Sim Emitted Files Equal 1 #Verify 1 file emitted from MR sim |
| 34 | ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh |
| 35 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh |
| 36 | |
| 37 | Verify single event with single 50MB SFTP file. From event poll to published file |
| 38 | [TAGS] DFC_FUNCTIONAL_3 |
| 39 | [Documentation] Verify single event with single SFTP 50MB file from event poll to published file. |
| 40 | Set Environment Variable MR_TC --tc102 |
| 41 | ${cli_cmd_output}= Run Process ./simulators-start.sh cwd=${SIMGROUP_ROOT} |
| 42 | MR Sim Emitted Files Equal 0 #Verify 0 file emitted from MR sim |
| 43 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-start.sh cwd=${DFC_ROOT} |
| 44 | Wait Until Keyword Succeeds 1 minute 10 sec MR Sim Emitted Files Equal 1 #Verify 1 file emitted from MR sim |
| 45 | ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh |
| 46 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh |
| 47 | |
| 48 | |
| 49 | ######### Single file, FTPS |
| 50 | |
| 51 | Verify single event with single 1MB FTPS file. From event poll to published file |
| 52 | [TAGS] DFC_FUNCTIONAL_10 |
| 53 | [Documentation] Verify single event with single FTPS 1MB file from event poll to published file. |
| 54 | Set Environment Variable MR_TC --tc200 |
| 55 | ${cli_cmd_output}= Run Process ./simulators-start.sh cwd=${SIMGROUP_ROOT} |
| 56 | MR Sim Emitted Files Equal 0 #Verify 0 file emitted from MR sim |
| 57 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-start.sh cwd=${DFC_ROOT} |
| 58 | Wait Until Keyword Succeeds 1 minute 10 sec MR Sim Emitted Files Equal 1 #Verify 1 file emitted from MR sim |
| 59 | ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh |
| 60 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh |
| 61 | |
| 62 | Verify single event with single 5MB FTPS file. From event poll to published file |
| 63 | [TAGS] DFC_FUNCTIONAL_11 |
| 64 | [Documentation] Verify single event with single FTPS 5MB file from event poll to published file. |
| 65 | Set Environment Variable MR_TC --tc201 |
| 66 | ${cli_cmd_output}= Run Process ./simulators-start.sh cwd=${SIMGROUP_ROOT} |
| 67 | MR Sim Emitted Files Equal 0 #Verify 0 file emitted from MR sim |
| 68 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-start.sh cwd=${DFC_ROOT} |
| 69 | Wait Until Keyword Succeeds 1 minute 10 sec MR Sim Emitted Files Equal 1 #Verify 1 file emitted from MR sim |
| 70 | ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh |
| 71 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh |
| 72 | |
| 73 | Verify single event with single 50MB FTPS file. From event poll to published file |
| 74 | [TAGS] DFC_FUNCTIONAL_12 |
| 75 | [Documentation] Verify single event with single FTPS 50MB file from event poll to published file. |
| 76 | Set Environment Variable MR_TC --tc202 |
| 77 | ${cli_cmd_output}= Run Process ./simulators-start.sh cwd=${SIMGROUP_ROOT} |
| 78 | MR Sim Emitted Files Equal 0 #Verify 0 file emitted from MR sim |
| 79 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-start.sh cwd=${DFC_ROOT} |
| 80 | Wait Until Keyword Succeeds 1 minute 10 sec MR Sim Emitted Files Equal 1 #Verify 1 file emitted from MR sim |
| 81 | ${cli_cmd_output}= Run Process ${SIMGROUP_ROOT}/simulators-kill.sh |
| 82 | ${cli_cmd_output}= Run Process ${DFC_ROOT}/dfc-kill.sh |
| 83 | |
| 84 | |
| 85 | *** Keywords *** |
| 86 | |
| 87 | |
| 88 | |
| 89 | |