What is Peach
Installing
Tutorials
Methodology
Introduction
Training
Enterprise
FAQ
Support Forums
Peach 3
Peach Pits
 General Conf
 Data Modeling
 State Modeling
 Agents
  Monitors
 Test
  Publishers
  Loggers
Running
Minset
Peach 2.3

License

LengthCalc Type Attribute

The lengthCalc attribute defines a scripting expression that returns the elements length as an integer value.

Special variables available:

  • self — Element we are calculating the length of

Examples

<String value="MAGIC" lengthType="calc" lengthCalc="4+1"/>

<String value="MAGIC" lengthType="calc" lengthCalc="len(self.name)"/>