summaryrefslogtreecommitdiffstats
path: root/robot/resources
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-04-30 11:02:48 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-04-30 11:02:48 -0700
commita7914ae40089d3b2a8427d76de8ab0c5d63d2153 (patch)
tree52063cdb38fced92b179bb97633919f8f00979ec /robot/resources
parentc8700c9b79896d8e3811d689d0295014a9406dbd (diff)
Don't parse DCAE response as JSON
Trying to parse DCAE response as JSON fails when the DCAE response is not successful. This change logs the entire response object. Change-Id: Ica718fdf39ef167b86789b5b8fda825dc8345e68 Issue-ID: TEST-87 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'robot/resources')
-rw-r--r--robot/resources/dcae_interface.robot2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/resources/dcae_interface.robot b/robot/resources/dcae_interface.robot
index ce0e4ac9..267f4757 100644
--- a/robot/resources/dcae_interface.robot
+++ b/robot/resources/dcae_interface.robot
@@ -19,5 +19,5 @@ Run DCAE Health Check
${uuid}= Generate UUID
${headers}= Create Dictionary X-ECOMP-Client-Version=ONAP-R2 action=getTable Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID}
${resp}= Get Request dcae ${DCAE_HEALTH_CHECK_PATH} headers=${headers}
- Log Received response from dcae ${resp.json()}
+ Log Received response from dcae ${resp}
Should Be Equal As Strings ${resp.status_code} 200 \ No newline at end of file