30 lines
1.8 KiB
Plaintext
30 lines
1.8 KiB
Plaintext
*** Settings ***
|
||
Force Tags tsg_bf_api report
|
||
Resource ../../../03-Variable/bifangapivariable.txt
|
||
Library OperatingSystem
|
||
Library Selenium2Library
|
||
Resource ../../../03-Variable/BifangApiVariable.txt
|
||
Library ../../../04-CustomLibrary/Custometest/ReportSchema.py
|
||
Library ../../../04-CustomLibrary/Custometest/ReportSchema_Negtive.py
|
||
|
||
*** Variables ***
|
||
|
||
|
||
*** Test Cases ***
|
||
#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
|
||
${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}
|
||
|
||
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
|
||
${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}
|
||
|