Professional Documents
Culture Documents
Spirent Testcenter Results Reporter
Spirent Testcenter Results Reporter
Results Reporter
www.spirentcampus.com
Topic Overview
Results Reporter Overview
Results Tree and Statistics views
Table, Graph, and Template views
Applying Templates
Creating Graphs
Exporting data to CSV, PDF, and HTML
Applying Filters to Table view data
Command Line Interface
Custom Queries
The Template Editor
2
Spirent TestCenter Results Reporter
Results Reporter Overview
Spirent TestCenter hardware records statistics during a test.
This information can be saved externally using
File > Save Results…
This information is composed of statistics, configuration, and views
saved in an SQLite database (.db file).
Results Reporter is a reporting tool application used to
display and analyze this data.
Tests results are displayed in tabular, spreadsheet and graphic
formats.
A test may contain a single or multiple test iterations.
Results Reporter can open, display, and analyze any
number of SQLite databases.
You can open results from multiple test runs and view them
simultaneously.
3
Spirent TestCenter Results Reporter
Cross-Platform Support
Results Reporter is Fully Cross-Platform
It runs on Windows, Solaris, Linux
Same code base for all platforms
Same features are available on all platforms
4
Spirent TestCenter Results Reporter
Accessing Results Reporter
5
Spirent TestCenter Results Reporter
Results Reporter Window Format
Each test result is listed in the Results Tree grouped by the path to the result database.
You can expand or drill down into a set of test results to get more information.
To do this, click on the [+] symbol to the left of the node. This will expand the test results.
You can select each item in the results tree to see detailed information and graphs on the
right (Statistics pane).
Statistics pane
Results Tree pane
6
Spirent TestCenter Results Reporter
Menu Bar
File – open a Database (single
iteration) or Folder (entire test,
multiple tests, multiple
iterations)
Tools – Set preferences,
open a Tcl workspace, access
the Template Editor.
Report – Generate PDF, XLS,
HTML, CSV results files.
7
Spirent TestCenter Results Reporter
Tool Bar
Create graph
Create query Export to CSV file
Refresh
Generate XLS
Open / Close Generate PDF
result database
Create Tcl workspace
8
Spirent TestCenter Results Reporter
Expanding the Tree Node View
9
Spirent TestCenter Results Reporter
Viewing Tree Node Objects
When you select a Tree Node object, the statistics for that object appear in the
right pane.
Each node in the results tree has a view type associated with it.
The typical views are:
Table, Graph, Template, and None
10
Spirent TestCenter Results Reporter
None
11
Spirent TestCenter Results Reporter
Tree Node Objects Tabs
Some Tree Node views provide multiple tabs to give you various
statistics to view.
It depends on the “Template” assigned.
To see detailed results you must check the Collect Detailed Results
when saving the test results.
Template view,
multiple tabs
Table view,
one tab only
12
Spirent TestCenter Results Reporter
Template Nodes
Blue box with rectangles on a grey background are Template Nodes
The pages of the template are shown as tabs.
Any template can be applied to any database but the results displayed may
not always be very useful though.
DetailStats Template can usually be applied to any database that has
Stream Results for example.
However the QoSForwarding template really only applied to a Service Class
Validation test.
There is also a Template Editor to create custom templates.
13
Spirent TestCenter Results Reporter
Applying Templates
14
Spirent TestCenter Results Reporter
Applying Templates continued
Templates can be applied to any set of test results.
To do so, click on a results database node (a child of the top level
Results node) to get a drop-down list in the right window.
Choose from a list of available templates.
The choice of template will dictate the tabs displayed below the
templates list and how certain results will be formulated.
Certain templates apply only to certain types of tests (i.e., RFC 2544).
16
Spirent TestCenter Results Reporter
Graph View
To create a graph select a node in the results tree that displays a table
view in the Grid on the right-hand side.
The Create Graph icon will become accessible.
The data for the chart comes from the selected table view.
You can use all the data from the table or a subset.
The entire table is used if no selection is made.
17
Spirent TestCenter Results Reporter
Graph View continued
Depending on the “Template” you select, some graphs may
already be rendered for you.
18
Spirent TestCenter Results Reporter
Creating Graphs – Step 1
19
Spirent TestCenter Results Reporter
Creating Graphs – Step 2
20
Spirent TestCenter Results Reporter
Creating Graphs – Step 3
21
Spirent TestCenter Results Reporter
Customizing Graphs
22
Spirent TestCenter Results Reporter
Graph Title
23
Spirent TestCenter Results Reporter
Graph Name
24
Spirent TestCenter Results Reporter
Graph Axis Labels
25
Spirent TestCenter Results Reporter
Orientation
26
Spirent TestCenter Results Reporter
Horizontal Orientation
27
Spirent TestCenter Results Reporter
Exporting to a CSV File
28
Spirent TestCenter Results Reporter
CSV File Name
29
Spirent TestCenter Results Reporter
Generating PDF Files – Step 1
30
Spirent TestCenter Results Reporter
Generating PDF Files – Step 2
31
Spirent TestCenter Results Reporter
Generating PDF Files – Results
32
Spirent TestCenter Results Reporter
Filters
33
Spirent TestCenter Results Reporter
Creating a Filter
34
Spirent TestCenter Results Reporter
Filter Objects
35
Spirent TestCenter Results Reporter
Filter Range
36
Spirent TestCenter Results Reporter
Filtered Results
37
Spirent TestCenter Results Reporter
Command Line Interface
Results Reporter provides a command-line interface to generate reports
without running the GUI.
Command: ResultsReporterCLI.sh
Parameters specify the source file, destination file and format of the
report.
There are terse and verbose versions of each parameter.
Entering the command with no parameters displays the command-line
help.
Example:
To generate a PDF report from MyResults.db, using the template
CustomStats.rtp, and write the report to MyResults.pdf:
./ResultsReporterCLI.sh -o MyResults.db -f pdf -d MyResults.pdf -t
templates/CustomStats.rtp
38
Spirent TestCenter Results Reporter
Custom Queries
Spirent TestCenter results are stored in an SQLite database. These results
can be accessed vis SQL statements. With Results Reporter, you can create
your own SQL statements and execute them against a results database. A
command reference for SQLite is available at www.SQLite.org. To create a
new query:
Click the Create Query toolbar icon to create a SQL query.
Clicking the Create Query icon adds a new Untitled Query to the results tree.
You can rename the query by double-clicking on its name in the results tree.
Selecting the query in the results tree shows the current SQL statement and the
results of executing that statement.
Initially, the SQL statement SELECTs all tables containing information about a
test run.
In particular, the TableName column contains the names of all other tables in the
results database.
The SQL statement can be edited and executed by pressing the Evaluate
button.
39
Spirent TestCenter Results Reporter
Custom Queries continued
• SQLlite supports a special table named sqlite_master. This
table contains a list of all tables in the database and the
schema used to create them. Executing select * from
sqlite_master will display this table.
40
Spirent TestCenter Results Reporter
Template Editor Overview
41
Spirent TestCenter Results Reporter
Accessing the Template Editor
42
Spirent TestCenter Results Reporter
Template Editor
Administrative Icons
Object Tabs
Render Box
Properties Box
43
Spirent TestCenter Results Reporter
Layout Tab
Add pages and objects on pages
Save as a Template
44
Spirent TestCenter Results Reporter
Template Files
45
Spirent TestCenter Results Reporter
Table Tab
46
Spirent TestCenter Results Reporter
Table Tab continued
Allows you to build columns and rows from Calculated and Reported
Stats
Uses HTML TABLE functions
Example:
<table>
<tr>
<td bgcolor="#eeeeee">Test</td>
</tr>
<tr iterate="=$TxPortName$">
<td halign="right" bgcolor="#eeeeee">=$Test$</td>
</tr>
</table>
47
Spirent TestCenter Results Reporter
Results Reporter - Graphing Tab
48
Spirent TestCenter Results Reporter
Graphing - Chart Types
49
Spirent TestCenter Results Reporter
Computed Stats
50
Spirent TestCenter Results Reporter
DB Explorer – Viewing the Schema
51
Spirent TestCenter Results Reporter
DB Explorer Example
52
Spirent TestCenter Results Reporter
End of Topic
www.spirentcampus.com
53
Spirent TestCenter Results Reporter