diff options
author | Tschaen, Brendan <ctschaen@att.com> | 2019-04-09 12:08:06 -0400 |
---|---|---|
committer | Tschaen, Brendan <ctschaen@att.com> | 2019-04-09 12:08:06 -0400 |
commit | 288abb6262d005090ab3288f44e97cc728230e02 (patch) | |
tree | 45c27f660e13bf1c3e15c59670bc15a9ea67f3c1 /robot | |
parent | b60d918caa075db806f61c682363154f46e452c5 (diff) |
Add music health check
Change-Id: Ie55077c60929c4c4abbd2c759fef5fa151061d1a
Issue-ID: MUSIC-378
Signed-off-by: Tschaen, Brendan <ctschaen@att.com>
Diffstat (limited to 'robot')
-rw-r--r-- | robot/resources/music/music_interface.robot | 11 | ||||
-rw-r--r-- | robot/testsuites/health-check.robot | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/robot/resources/music/music_interface.robot b/robot/resources/music/music_interface.robot index 67e1402b..73d393d3 100644 --- a/robot/resources/music/music_interface.robot +++ b/robot/resources/music/music_interface.robot @@ -24,3 +24,14 @@ Run MUSIC Cassandra Connection Check ${resp}= Run MUSIC Get Request ${MUSIC_CASSA_HEALTH_CHECK_PATH} Should Be Equal As Strings ${resp.status_code} 200 Should Be Equal As Strings ${resp.json()['Cassandra']} Active + + +Run MUSIC Get Request + [Documentation] Runs MUSIC Get request + [Arguments] ${data_path} + ${session}= Create Session music ${MUSIC_ENDPOINT} + ${uuid}= Generate UUID + ${headers}= Create Dictionary Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} + ${resp}= Get Request music ${data_path} headers=${headers} + Log Received response from music ${resp.text} + [Return] ${resp} diff --git a/robot/testsuites/health-check.robot b/robot/testsuites/health-check.robot index 7a62cdd7..dda2fbc4 100644 --- a/robot/testsuites/health-check.robot +++ b/robot/testsuites/health-check.robot @@ -116,6 +116,14 @@ Basic Multicloud-vio API Health Check [Tags] health multicloud Run MSB Get Request /api/multicloud-vio/v0/swagger.json +Basic MUSIC Health Check + [Tags] health music + Run MUSIC Health Check + +Basic MUSIC Cassa Check + [Tags] health music + Run MUSIC Cassandra Connection Check + Basic OOF-Homing Health Check [Tags] health medium Run OOF-Homing Health Check |