Num of transaction - dummy transaction

Hi,

I need to send last transaction - dummy transaction ,so
I want to define a variable that counts the transactions and will be familiar to both the driver and the monitor,
So that I will not get lost between one transaction and the other,
Where do I define it?

In reply to saraTel:
You could insert a transaction count variable into the transaction, but the monitor would have no way to know if the sequence is going to generate 10 or 10000 transaction. i.e. which one is the last it will receive.

If you need the monitor to recognize the ‘dummy’ transaction from the others, you could just add that a variable in the traction class.

int unsigned dummy_trans; ## 0=real; 1=dummy

In reply to graeme_jessiman:

thank,
It works