TestPlan Metric
Document

Metric

by Group Public on Wednesday November 18 2009 @ 14:59:12 (1/1 Points)

API ↪Reference ✑ Reply ✓ Stick It ✗ Ditch It ⚐ Tag It

Metric records an explicit metric entry to the metrics log. It allows you to record metrics other than the standard timing metrics.

Metric Source Type Value

Source is simply an string of your choosing, such as the name of the test which is running. Typically you'd provide a constant name which would later be used by external programs when processing the file.

Type is to indicate what type of metric is being written. There are only a few standard ones, such as ExecTime and FailTime. You are free to use whatever string you'd like.

Value is simply a value which will be recorded with the source and type to the log file. It is expected that these values are always integers, this simplifies off-line processing of the data.

© 2008-2010 edA-qa mort-ora-y
Using Persephone and TestPlan
Tag: