Editor layer extension points
The editor layer enables you to write protocol extensions. During the initialization process, a number of extension points are checked for extensions that define different aspects of the test editor.
The editor layer extends classes from the common framework layer to provide specific implementations for their models. The extensions must be defined in the protocol-specific plug-ins extending the test editor.
Extension point | Description |
---|---|
dataCorrelationHandler |
|
dataCorrelationUICategory |
|
dataCorrelatorUIDescriptor |
|
wizardPageContributor |
|
The protocol handler can make a contribution to the details
page of the test to protocol-specific test-wide options. If your protocol
needs to support data correlation, you can use the class DataCorrelationLabelProvider
. The class contains several methods to use with data correlation.
Many of the methods deal with display aspects of the data correlation
objects.
In data correlation there must be an attribute name
assigned to every field or property of a model object that supports
data correlation. These names are used for many purposes, one of which
is to provide formatted labels for data correlation objects. Because
the LoadTest
editor creates labels early in a process
cycle, these labels may not contain detailed formatting instructions.
To overcome this issue, higher level protocol extensions or plug-ins
can register LabelFormatters
that are called when
needed.