VirtualUserScript RecordMetric Method C# API
Records a user metric.

Namespace: Facilita.Fc.Runtime
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.5.77
Syntax

public void RecordMetric(
	string name,
	int value
)

Parameters

name
Type: System String
The metric identifier.
value
Type: System Int32
The metric value.
Remarks

This can be any numeric value which is considered relevant to the test, such as the number of search results returned by a web page, or a count of files in a directory.

The metric value is written to the Virtual User event log. A chart showing how the metric value changes during the test will be available in Test Controller and Analyzer.

See Also