Transaction with same name is already open error in performance center execution true client script
What could be the cause as it's working fine in vugen.In script parameterization done even in xpath and serch replaced with the parameter name.
Check your script logic.
You probably have two transactions started with the same name, and the first is not closed before the second is started.
It might not be a trivial flow, as you mention it works in VuGen. Try in VuGen multiple iterations and see if you manage to reproduce there too.
It does not seem like a conflict between VUsers.
Initial developed script working fine with multiple users also ,the modification did is changed the scenarios number and also added the serach term as parameter and given the parameterised xpath on few steps.
This is working fine on multiple iterations on vugen but failing with the click text box with object not found error and for next iteratins getting failures saying transaction name is already open
The same logic ( parameterised for a serch term from dat file and also xpath all same )did for few other scripts ,out of two scripts having the similar issue
@PraveenSharmaI expect that when the error occurs the open transaction is no closed, but the next iteration is started. Did you use java script to start/end the transactions? I expect that when you use the TruClient logic to start/end transactions, those open transactions will fail when an error occurs.
Try to make your script more robust and handle the " the click text box with object not found error".
Tip: protect each step with object 'validation' or wait-for-object, so you do not get out of sync with script execution.
Reward community members who take time to respond and help.
For this error ,we implemented the error handling to the dashboard so that for the first time if input text not get will catch and will reload to get to proceed .Most of the cases the dashboard page this steps was failing.
Also there was already the waitobject ,but the action even of all previous seps for the wait to check made as Document loaded end event.
Also changed the text input action end as network completed ,which was creating more error .
With these customized run get few error compared to the larger count from previuos test.