日志统计代码完善
This commit is contained in:
12
01-TestCase/tsg_bfapi/api_log/LogStatistics-domain.robot
Normal file
12
01-TestCase/tsg_bfapi/api_log/LogStatistics-domain.robot
Normal file
@@ -0,0 +1,12 @@
|
||||
*** Settings ***
|
||||
Resource ../../../02-Keyword/tsg_bfapi/LogStatistics.robot
|
||||
|
||||
*** Test Cases ***
|
||||
Statistics-domain-00001
|
||||
#apiName,请求大数据时,用于区分每个接口的sql
|
||||
${apiName} set variable domain
|
||||
#请求地址 例如:/report/domain/recommend
|
||||
${url} set variable /report/domain/recommend
|
||||
# \ 统计时间, \ 查询最近24小时数据;例如当前时间为2020-03-26 15:14:00, 查询时间应设为推前1小时的整点,实际传入参数为 "2020-03-26 14:00:00"
|
||||
${statisticTime} set variable 2020-04-26 23:00:00
|
||||
GetApi ${apiName} ${url} statisticTime=${statisticTime}
|
||||
Reference in New Issue
Block a user