Thursday, 20 February 2014

Ajax Trueclient Transactions Define Issue

Problem Details:- We were running an Ajax Trueclient test but we were facing some issue during the test for transactions.

The issue is some transaction would be missed without status reported. Usually we would have all the status include in the scripts.

The root cause for this issue is the transaction was not started when we got an error. The error will stop the script playing but without reporting one transaction failed. Screenshot is attached. We are still trying to find out the best way to solve this issue.

During the scripting we do kept all the action into the transaction. But we are getting this error still.


Problem Solution:- 
You can always add a ‘dummy’ step (that will always end successfully, like Eval JavaScript with no argument) before the first step within the transaction and attach the transaction to that step.

2 comments: