Skip to content

Commit

Permalink
Use old template for issue 140 tests
Browse files Browse the repository at this point in the history
Issue #239
  • Loading branch information
damies13 committed Oct 16, 2024
1 parent 3d5cc6e commit 8bd99b2
Show file tree
Hide file tree
Showing 2 changed files with 110 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[Report]
order = F96CC319A38,F96CC319A3D,F96CC3282EB
title = OCDemo Requests
showtlogo = -1
dateformat = yyyy-mm-dd
timeformat = HH:MM
timezone = Australia/Brisbane
showstarttime = -1
showendtime = -1
font = Verdana
fontsize = 12
percentile = 90

[F96CC319A38]
name = Template
parent = TOP
type = note
changed = 1729040753.6470456
note = Define your template by adding sections and configuring the section settingsx12Each section can be:x12 - Note (like this) section, free textx12 - Heading, usefull for grouping sectionsx12 - Contents like a table of contents or figuresx12 - Data Table, with data from test resultsx12 - Data Graph, for graphical representation of test resultsx12x12Each section can also have sub sectionsx12x12The cover page and overall report settings can be found on the settings pane of the Report item abovex12

[F96CC319A3D]
name = Test Result Summary
parent = TOP
type = table
changed = 1729040757.134148
colours = 0
datatype = ResultSummary
sql = SELECT r.result_name as x91Result Namex93 , round(min(rp.elapsed_time),3) 'Minimum', round(avg(rp.elapsed_time),3) 'Average', round(percentile(rp.elapsed_time, 90),3) '90x37ile', round(max(rp.elapsed_time),3) 'Maximum', round(stdev(rp.elapsed_time),3) 'Std. Dev.', count(rp.result) as 'Pass', count(rf.result) as 'Fail', count(ro.result) as 'Other' FROM Results as r LEFT JOIN Results as rp ON r.rowid == rp.rowid AND rp.result == 'PASS' LEFT JOIN Results as rf ON r.rowid == rf.rowid AND rf.result == 'FAIL' LEFT JOIN Results as ro ON r.rowid == ro.rowid AND ro.result <> 'PASS' AND ro.result <> 'FAIL' WHERE r.end_time >= 1690513420 AND r.end_time <= 1690513632 GROUP BY r.result_name ORDER BY x91Result Namex93

[F96CC3282EB]
name = Robots
parent = TOP
type = graph
changed = 1729040753.6514955

[F96CC3282EBL]
secondarymetric = total_robots
changed = 1729040768.8740733
filteragent = None
filtertype = None
datatype = Metric
sql = SELECT MetricTime as 'Time' , MetricValue as 'Value' , PrimaryMetric as x91Namex93 FROM MetricData WHERE MetricType == 'Scenario' AND SecondaryMetric == 'total_robots' AND MetricTime >= 1690513420 AND MetricTime <= 1690513632 ORDER BY MetricTime
metrictype = Scenario
axisen = 1

[F96CC3282EBR]
datatype = Metric
changed = 1729040768.8795738
axisen = 0
metrictype = Agent
filteragent = None
filtertype = None
sql = SELECT MetricTime as 'Time' , MetricValue as 'Value' , PrimaryMetric as x91Namex93 FROM MetricData WHERE MetricType == 'Agent' AND SecondaryMetric == 'Robots' AND MetricTime >= 1690513420 AND MetricTime <= 1690513632 ORDER BY MetricTime
secondarymetric = Robots

55 changes: 55 additions & 0 deletions Tests/Regression/Reporter/testdata/Issue-#140/old.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[Report]
order = F96CC319A38,F96CC319A3D,F96CC3282EB
title = OCDemo Requests
showtlogo = -1
dateformat = yyyy-mm-dd
timeformat = HH:MM
timezone = Australia/Brisbane
showstarttime = -1
showendtime = -1
font = Verdana
fontsize = 12
percentile = 90

[F96CC319A38]
name = Template
parent = TOP
type = note
changed = 1714034531.3852513
note = Define your template by adding sections and configuring the section settingsx12Each section can be:x12 - Note (like this) section, free textx12 - Heading, usefull for grouping sectionsx12 - Contents like a table of contents or figuresx12 - Data Table, with data from test resultsx12 - Data Graph, for graphical representation of test resultsx12x12Each section can also have sub sectionsx12x12The cover page and overall report settings can be found on the settings pane of the Report item abovex12

[F96CC319A3D]
name = Test Result Summary
parent = TOP
type = table
changed = 1728516305.4417443
colours = 0
datatype = ResultSummary
sql = SELECT r.result_name as x91Result Namex93 , round(min(rp.elapsed_time),3) 'Minimum', round(avg(rp.elapsed_time),3) 'Average', round(percentile(rp.elapsed_time, 90),3) '90x37ile', round(max(rp.elapsed_time),3) 'Maximum', round(stdev(rp.elapsed_time),3) 'Std. Dev.', count(rp.result) as 'Pass', count(rf.result) as 'Fail', count(ro.result) as 'Other' FROM Results as r LEFT JOIN Results as rp ON r.rowid == rp.rowid AND rp.result == 'PASS' LEFT JOIN Results as rf ON r.rowid == rf.rowid AND rf.result == 'FAIL' LEFT JOIN Results as ro ON r.rowid == ro.rowid AND ro.result <> 'PASS' AND ro.result <> 'FAIL' WHERE r.end_time >= 1695874263 AND r.end_time <= 1695877212 GROUP BY r.result_name ORDER BY x91Result Namex93

[F96CC3282EB]
name = Robots
parent = TOP
type = graph
changed = 1714034594.8325248

[F96CC3282EBL]
secondarymetric = total_robots
changed = 1728516306.583407
filteragent = None
filtertype = None
datatype = Metric
sql = SELECT MetricTime as 'Time' , MetricValue as 'Value' , PrimaryMetric as x91Namex93 FROM MetricData WHERE MetricType == 'Scenario' AND SecondaryMetric == 'total_robots' AND MetricTime >= 1695874263 AND MetricTime <= 1695877212 ORDER BY MetricTime
metrictype = Scenario
axisen = 1

[F96CC3282EBR]
datatype = Metric
changed = 1728516306.5845017
axisen = 0
metrictype = Agent
filteragent = None
filtertype = None
sql = SELECT MetricTime as 'Time' , MetricValue as 'Value' , PrimaryMetric as x91Namex93 FROM MetricData WHERE MetricType == 'Agent' AND SecondaryMetric == 'Robots' AND MetricTime >= 1695874263 AND MetricTime <= 1695877212 ORDER BY MetricTime
secondarymetric = Robots

0 comments on commit 8bd99b2

Please sign in to comment.