Software Engineering Group

Defining Transition Guards and Actions

Next: Creating User Behavior Models Up: Using Markov4JMeter Previous: Adding Markov States

Defining Transition Guards and Actions

When selecting a Markov State within the Test Plan, the configuration dialog including the table to define guards and actions for transitions to all states of the same Markov Session Controller appears. The table is automatically updated each time Markov States are added, removed or renamed. Transitions can be assigned guards in order to allow a transition to be taken only if the specified expression evaluates to true. By selecting the respective check box, transitions can be deactivated completely, which is equivalent to entering a guard evaluating to false. An action is a list of statements, such as function calls or variable assignments, separated by a semicolon which is evaluated when a transition is taken.

In our example a variable signedOn is used to remember whether a user has logged in or not. A User Parameters Pre-Processor to the Markov Session Controller with a new variable named signedOn with the value false to initialize the variable. The check box “Update Once Per Iteration” needs to be activated. The guards and actions of the transitions should be configured as listed in Table 2.

 

table2

Table 2: Guards and actions used to restrict transitions to the states “Sign On” and “Sign Off”. The variable signedOn is used to remember whether a user has logged in or not.

Next: Creating User Behavior Models Up: Using Markov4JMeter Previous: Adding Markov States

Upcoming Events

  • Feb 18, 2019 09:00 AM to Feb 22, 2019 01:00 PM Stuttgart Software Engineering 2019
  • Mar 25, 2019 09:00 AM to Mar 29, 2019 02:00 PM Hamburg ICSA 2019
  • Apr 07, 2019 12:00 AM to Apr 11, 2019 12:00 AM Mumbai, India ICPE 2019
  • Jun 04, 2019 12:00 AM to Jun 06, 2019 12:00 AM Potsdam deRSE19
  • Jun 24, 2019 12:00 AM to Jun 26, 2019 12:00 AM Prague, Czech Republic ICFC 2019
Research Projects

  • more...

     ExplorVizLogo160x37[1].png    iobserve-logo-small    CloudMIG Xpress

     

    Future-Ocean-logo    kieker-logo       PubFlow

     

    teetime-logo   SpratGeRDI

Teaching