1、修改settings模块的用例和关键字的代码2、提交ui登录清除缓存提示弹出框代码3、提交密码到期修改密码弹出框代码
This commit is contained in:
@@ -17,9 +17,9 @@ ${resultId} ${EMPTY}
|
||||
*** Test Cases ***
|
||||
Report_Top30 Users By Bandwidth and Sessions_15-001
|
||||
#引用默认Chart ID为1
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_Top30UsersByBandwidthandSessions_15-001-${i}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":1,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":1,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -31,9 +31,9 @@ Report_Top30 Users By Bandwidth and Sessions_15-001
|
||||
|
||||
Report_Top30 Website Domains By BandWidth and Sessions_15-002
|
||||
#引用默认Chart ID为2
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_Top30WebsiteDomainsByBandWidthandSessions_15-002-${i}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":2,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":2,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -44,9 +44,9 @@ Report_Top30 Website Domains By BandWidth and Sessions_15-002
|
||||
|
||||
Report_Top30 Server IP By BandWidth and Sessions_15-003
|
||||
#引用默认Chart ID为3
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_Top30ServerIPByBandWidthandSessions_15-003-${i}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":3,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":3,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -58,9 +58,9 @@ Report_Top30 Server IP By BandWidth and Sessions_15-003
|
||||
|
||||
Report_Top30 Client IP By BandWidth and Sessions-004
|
||||
#引用默认Chart ID为4
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_Top30ClientIPByBandWidthandSessions-004-${i}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":4,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":4,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -71,9 +71,9 @@ Report_Top30 Client IP By BandWidth and Sessions-004
|
||||
|
||||
Report_Top30 Server Ports By Sessions-005
|
||||
#引用默认Chart ID为5
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_Top30ServerPortsBySessions-004-${i}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":5,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":5,"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -83,7 +83,7 @@ Report_Top30 Server Ports By Sessions-005
|
||||
END
|
||||
|
||||
Report_SecurityEventActionHit-006
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_SecurityEventActionHit-006-${i}
|
||||
#新建DataSet
|
||||
#${name} Set Variable Report_Result-001
|
||||
@@ -101,7 +101,7 @@ Report_SecurityEventActionHit-006
|
||||
#把得到的ID写入文件里
|
||||
lyf_list_write ${path}/report_files/chartid.txt ${chartId}
|
||||
#新建Report,时间计划为Today,图表引用Line。
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -112,7 +112,7 @@ Report_SecurityEventActionHit-006
|
||||
END
|
||||
|
||||
Report_ClientIPTopN-007
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_ClientIPTopN-007-${i}
|
||||
#新建DataSet
|
||||
#${name} Set Variable Report_Result-001
|
||||
@@ -130,7 +130,7 @@ Report_ClientIPTopN-007
|
||||
#把得到的ID写入文件里
|
||||
lyf_list_write ${path}/report_files/chartid.txt ${chartId}
|
||||
#新建Report,时间计划为Today,图表引用Line。
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -141,7 +141,7 @@ Report_ClientIPTopN-007
|
||||
END
|
||||
|
||||
Report_ServiceIPTopN-008
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_ServiceIPTopN-008-${i}
|
||||
#新建DataSet
|
||||
#${name} Set Variable Report_Result-001
|
||||
@@ -159,7 +159,7 @@ Report_ServiceIPTopN-008
|
||||
#把得到的ID写入文件里
|
||||
lyf_list_write ${path}/report_files/chartid.txt ${chartId}
|
||||
#新建Report,时间计划为Today,图表引用Line。
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -170,7 +170,7 @@ Report_ServiceIPTopN-008
|
||||
END
|
||||
|
||||
Report_SubscriberIDTopN-009
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_SubscriberIDTopN-009-${i}
|
||||
#新建DataSet
|
||||
#${name} Set Variable Report_Result-001
|
||||
@@ -188,7 +188,7 @@ Report_SubscriberIDTopN-009
|
||||
#把得到的ID写入文件里
|
||||
lyf_list_write ${path}/report_files/chartid.txt ${chartId}
|
||||
#新建Report,时间计划为Today,图表引用Line。
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
@@ -199,7 +199,7 @@ Report_SubscriberIDTopN-009
|
||||
END
|
||||
|
||||
Report_DomainsTopN-010
|
||||
FOR ${i} IN RANGE 15
|
||||
FOR ${i} IN RANGE 3
|
||||
${name} Set Variable Report_Report_DomainsTopN-010-${i}
|
||||
#新建DataSet
|
||||
#${name} Set Variable Report_Result-001
|
||||
@@ -217,7 +217,7 @@ Report_DomainsTopN-010
|
||||
#把得到的ID写入文件里
|
||||
lyf_list_write ${path}/report_files/chartid.txt ${chartId}
|
||||
#新建Report,时间计划为Today,图表引用Line。
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":6,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
BasePostRequestOK ${report_url} {"reportJobList":{"rangeType":"last","rangeInterval":1,"rangeUnit":"day","jobName":"${name}","scheduleId":20,"chartList":[{"chartId":${chartId},"timeGranulartiy":1,"timeUnit":"","disabled":true}],"isNotice":0,"noticeMethod":"","receivers":[""],"receiver":"","startTime":"","endTime":"","filterConnector":"and","filterCondition":[]}}
|
||||
#查询Report的id
|
||||
${response1} BaseGetRequestOK ${report_url} pageSize=20&pageNo=1&jobIds=&jobName=${name}&opStartTime=&opEndTime=&opUser=&scheduleId=
|
||||
${reportId} Set Variable ${response1}[data][list][0][jobId]
|
||||
|
||||
Reference in New Issue
Block a user