I want to preserve my transaction once i call my sequence and again next time when i call the same sequence again i want to retrieve the previous transaction fields .. can anyone suggest how can i get that?

i want to preserve my transaction once i call my sequence and again next time when i call the same sequence again i want to retrieve the previous transaction fields … can anyone suggest how can i get that?

In reply to Ayush_1:

It is not really clear to me what you want to do. But the randomizaion is repeatable. Running your testcase again you’ll get the same transactions. Is zt this what you want to do?

Yes a sort of repeatable randomization , actually i want the same transaction attributes as my previous call to the sequence, but the issue is , when i am calling the sequence again the old transaction attributes are no longer available, i want to use old transaction attributes to be used now in current transaction. But as i am calling the sequence again even storing in a queue is not fruitful as with each call to sequence the queue get refreshed…

In reply to Ayush_1:

To clarify:
(1) transaction attributes means the data members of the transaction class.
(2) When calling your sequence you want to see exactly the same transaction as the first time.

Is this correct?

Yes

  1. I need the same datamember values of the transaction as my previous call to the sequence
  2. Yes when i am calling the sequence i want to see the same values of datamembers of transaction class again with the new call to sequence … and usually what is happening is with the new call all my datamembers are getting refreshed but i want them to be set to previous call values of data members…

actually i have the transaction class object inside the sequence so that object get randomised and all the properties get randomised… now when i am calling with the same sequence handl again the transaction objects in the class get randomized to a new value but i need the same previous values… can i get them