summaryrefslogtreecommitdiff
path: root/keyword/common/log_variable.robot
diff options
context:
space:
mode:
Diffstat (limited to 'keyword/common/log_variable.robot')
-rw-r--r--keyword/common/log_variable.robot4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyword/common/log_variable.robot b/keyword/common/log_variable.robot
index 513343a..0052d4f 100644
--- a/keyword/common/log_variable.robot
+++ b/keyword/common/log_variable.robot
@@ -123,7 +123,7 @@ GetLogListMulti
[Arguments] ${logType} ${startTime} ${endTime} ${client_ip} ${policy_id} ${logQueryParam} ${schemaType}=${EMPTY}
${logCondition} GetLogCondition ${logType} ${startTime} ${endTime} ${client_ip} ${policy_id} ${schemaType}
log ${logCondition}
- ${returnLogListResponse} ${LogListResponse} Run Keyword And Ignore Error PostRemoteData /${version}/log/list ${logCondition}
+ ${returnLogListResponse} ${LogListResponse} Run Keyword And Ignore Error PostRemoteData /${version}/log/query ${logCondition}
Should Be Equal As Strings ${LogListResponse.status_code} 200
${returnData} To Json ${LogListResponse.content}
${responseCode} Get From Dictionary ${returnData} code
@@ -132,7 +132,7 @@ GetLogListMulti
log this time request security_event \ table logRecord \ : ${LogListResponse.content}
${a} Set Variable this time request security_event \ table logRecord \ : ${LogListResponse.content}
log ${a}
- ${log} Set Variable ${LogListResponse.json()}[data][list]
+ ${log} Set Variable ${LogListResponse.json()}[data][result]
FOR ${logs} IN ${log}
log ${logs}
END