1.上传Report纯接口测试反向方法 2.上传report反向用例
This commit is contained in:
@@ -5,312 +5,26 @@ Library OperatingSystem
|
||||
Library Selenium2Library
|
||||
Resource ../../../03-Variable/BifangApiVariable.txt
|
||||
Library ../../../04-CustomLibrary/Custometest/ReportSchema.py
|
||||
Library ../../../04-CustomLibrary/Custometest/ReportSchema_Negtive.py
|
||||
|
||||
*** Variables ***
|
||||
# ${dataset_url} /${version}/report/dataset
|
||||
# ${datasetId} ${EMPTY}
|
||||
# ${reportId} ${EMPTY}
|
||||
# ${report_url} /${version}/report/offlinejob
|
||||
# ${chartId} ${EMPTY}
|
||||
# ${chart_url} /${version}/report/chart
|
||||
# ${result_url} /${version}/report/offlinejob/result
|
||||
# ${resultId} ${EMPTY}
|
||||
# ${logtype} Set Variable security_event_log
|
||||
# ${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
# ${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
# ${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
# ${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
# ${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
# ${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
|
||||
|
||||
*** Test Cases ***
|
||||
ReportSecurityEventLogGroupBy
|
||||
[Tags] Positive API Report Security Event GroupBy
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable GroupBy
|
||||
${logtype} Set Variable security_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
#Report dataset 纯接口测试,所有GroupBY、dataBingdings、Filter、Having,根据schemca定义测试所有这些数据、数据对应函数何操作符号。
|
||||
Reportest_Positive
|
||||
log Report纯接口测试全条件覆盖
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
${logtypelist} create list security_event_log proxy_event_log connection_record_log radius_record_log voip_record_log
|
||||
ReportPositiveTest ${host} ${port} ${token} ${dataset_url} ${char_url} ${report_url} ${logtypelist}
|
||||
|
||||
ReportSecurityEventLogDataBindings
|
||||
[Tags] Positive API Report Security Event DataBindings
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable DataBindings
|
||||
${logtype} Set Variable security_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
Reportest_Negtive
|
||||
log Report纯接口测试反向
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportSecurityEventLogFilter
|
||||
[Tags] Positive API Report Security Event Filter
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Filter
|
||||
${logtype} Set Variable security_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportSecurityEventLogHaving
|
||||
[Tags] Positive API Report Security Event Having
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Having
|
||||
${logtype} Set Variable security_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportProxyEventLogGroupBy
|
||||
[Tags] Positive API Report Proxy Event GroupBy
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable GroupBy
|
||||
${logtype} Set Variable proxy_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportProxyEventLogDataBindings
|
||||
[Tags] Positive API Report Proxy Event DataBindings
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable DataBindings
|
||||
${logtype} Set Variable proxy_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportProxyEventLogFilter
|
||||
[Tags] Positive API Report Proxy Event Filter
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Filter
|
||||
${logtype} Set Variable proxy_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportProxyEventLogHaving
|
||||
[Tags] Positive API Report Proxy Event Having
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Having
|
||||
${logtype} Set Variable proxy_event_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportSessionRecordsGroupBy
|
||||
[Tags] Positive API Report Session Records GroupBy
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable GroupBy
|
||||
${logtype} Set Variable connection_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportSessionRecordsDataBindings
|
||||
[Tags] Positive API Report Session Records DataBindings
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable DataBindings
|
||||
${logtype} Set Variable connection_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportSessionRecordsFilter
|
||||
[Tags] Positive API Report Session Records Filter
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Filter
|
||||
${logtype} Set Variable connection_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportSessionRecordsHaving
|
||||
[Tags] Positive API Report Session Records Having
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Having
|
||||
${logtype} Set Variable connection_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportRadiusGroupBy
|
||||
[Tags] Positive API Report Radius GroupBy
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable GroupBy
|
||||
${logtype} Set Variable radius_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportRadiusDataBindings
|
||||
[Tags] Positive API Report Radius DataBindings
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable DataBindings
|
||||
${logtype} Set Variable radius_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportRadiusFilter
|
||||
[Tags] Positive API Report Radius Filter
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Filter
|
||||
${logtype} Set Variable radius_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportRadiusHaving
|
||||
[Tags] Positive API Report Radius Having
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Having
|
||||
${logtype} Set Variable radius_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportVoipRecordsGroupBy
|
||||
[Tags] Positive API Report Voip Records GroupBy
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable GroupBy
|
||||
${logtype} Set Variable voip_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportVoipRecordsDataBindings
|
||||
[Tags] Positive API Report Voip Records DataBindings
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable DataBindings
|
||||
${logtype} Set Variable voip_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportVoipRecordsFilter
|
||||
[Tags] Positive API Report Voip Records Filter
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Filter
|
||||
${logtype} Set Variable voip_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
ReportVoipRecordsHaving
|
||||
[Tags] Positive API Report Voip Records Having
|
||||
log ${TEST NAME}
|
||||
#${testdian} 传入测试点,测试点全覆盖 GroupBy 、DataBindings 、Filter 、Having
|
||||
${testpoint} Set Variable Having
|
||||
${logtype} Set Variable voip_record_log
|
||||
${schemaurl} Set Variable http://${host}:${port}/${version}/log/schema?logType=${logtype}
|
||||
${dataset_url} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
${dataset_geturl} Set Variable ${dataset_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&logType=&opStartTime=&opEndTime=&opUser=
|
||||
${char_geturl} Set Variable ${char_url}?pageSize=20&pageNo=1&id=&name=${TEST NAME}&opUser=
|
||||
ReportInterfaceTest ${schemaurl} ${token} ${dataset_url} ${char_url} ${report_url} ${dataset_geturl} ${char_geturl} ${TEST NAME} ${logtype} ${testpoint}
|
||||
|
||||
#纯接口测试调用新方法循环执行
|
||||
# ReportInterfaceTest
|
||||
# log 11111111111111111111
|
||||
# ${testpointlist} create list GroupBy DataBindings Filter Having
|
||||
# ${logtypelist} create list security_event_log proxy_event_log connection_record_log radius_record_log voip_record_log
|
||||
# ${dataseturl} Set Variable http://${host}:${port}/${version}/report/dataset
|
||||
# ${char_url} Set Variable http://${host}:${port}/${version}/report/chart
|
||||
# ${report_url} Set Variable http://${host}:${port}/${version}/report/offlinejob
|
||||
# ReportTest ${host} ${token} ${dataseturl} ${char_url} ${report_url} ${logtypelist} ${testpointlist}
|
||||
${logtypelist} create list security_event_log proxy_event_log connection_record_log radius_record_log voip_record_log
|
||||
ReportPositiveTest_Negtive ${host} ${port} ${token} ${dataset_url} ${char_url} ${report_url} ${logtypelist}
|
||||
|
||||
Reference in New Issue
Block a user