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

License

onStart Attribute

The onStart attribute is an expression that is evaluated brefore preforming an action. This expression can be used to increment a counter or preform other functions defined in seperate files included with the Import tag.

Examples

    <PythonPath path="./"/>
    <Import import="xyz"/>
    ...


    <StateModel name="TheState" initialState="InitialReset">

        <State name="InitialReset">
                <Action type="changeState" ref="NextState" onStart="xyz.reset_counter(self)"/>
        </State>
        ...

     </StateModel>