1:<?xml version="1.0" encoding="ISO-8859-1" ?>
   2:<scenario>
   3:
   4:<counter>
   5:  <counterdef name="session-counter" init="0"> </counterdef>
   6:</counter>
   7:
   8:<init>
   9:   <send channel="channel-1">
  10:     <command-synchro name="CMD_INITSYNCHRO">
  11:     </command-synchro>
  12:   </send>
  13:   <receive channel="channel-1">
  14:     <command-synchro name="CMD_INITSYNCHRO">
  15:     </command-synchro>
  16:   </receive>
  17:</init>
  18:
  19:<traffic>
  20:   <send channel="channel-1">
  21:     <action>
  22:        <inc-counter name="session-counter"></inc-counter>
  23:        <set-value name="user-id-1" format="$(session-counter)"></set-value>
  24:     </action>
  25:     <command-synchro name="CMD_CALLCREATE">
  26:     </command-synchro>
  27:     <action>
  28:       <store name="SESSION-ID" entity="user-id-1"></store> 
  29:     </action>
  30:   </send>
  31:   <receive channel="channel-1">
  32:     <command-synchro name="CMD_CALLCREATE">
  33:     </command-synchro>
  34:   </receive>
  35:</traffic>
  36:
  37:</scenario>