完善log接口测试返回数据验证方法

This commit is contained in:
byb11
2021-04-27 17:11:26 +08:00
parent cdf67995b7
commit 7d7b3beeb1
2 changed files with 84 additions and 47 deletions

View File

@@ -35,13 +35,13 @@ logtest
${EndTime1} Get Substring ${EndTime} \ -4
${StartTime} add time to date ${EndTime} -01:00:00
${StartTime1} Get Substring ${StartTime} \ -4
${filter} Set Variable common_log_id=238347398589845504 OR common_log_id=238347398522859520
${filter} Set Variable common_log_id=238734003578214400
${responsebody} loglistverify ${Logurl} ${Schemaurl} ${token} ${StartTime1} ${EndTime1} ${logType} ${filter}
${targetdict} create list common_log_id = 237434463277422592
${targetdict} create list common_log_id = 238734003578214400
log ${responsebody}
${strlist} FieldValidation ${responsebody} ${targetdict}
log ${strlist}
Assertresults ${strlist}
# Assertresults ${strlist}