Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

TruClient Transaction Editor: End Point for Modal Windows (AJAX)

$
0
0

I have recorded a test script on a TruClient for a web system using Ajax. The test script itself works fine. With TransactionEditor I have set start and end points for measuring time on several tranactions.

One transaction is clicking on a button and waiting for a second browser window to open and load content. I used Action Complete as Start Transaction (so after clicking the button has been performed) and DOM Content Loaded as End Event (as all content needed is loaded). This works fine and times measured for this in replay mode are fine.

The web application itself uses Ajax. And this is where I'm running into problems measuring realistic times (compared to manual stopped times; e.g. I try to measure time from clicking a button to open u a modal window --> manual stopped time 8 sec, TruClient 0,2 sec). 

I think TruClient is running into problems because of Ajax. In my test script I have recorded a step Click Button, on click a modal window opens, next step would be some action in the modal window. I neither want the time it takes clicking the button nor the time from clicking the button to performing the next step. Is there any possibility measuring the time it takes until the modal window has popped up and content is fully loaded? Maybe by setting the trigger on the specific modal window object? Same problem appears when clicking on a button which affects a new page to load.

I do know the definitions of the start and end points of the transaction editor and tried different start and end points for measuring, but I'm not getting realistic values for time measuring - either very small values (e.g. 0,2 seconds etc.) or I'm running into a timeout (e.g. using Document Loaded as end point).

Can anyone help why I'm not getting realistic results and how I would be able to trigger Ajax events using the Transaction Editor?

Thanks!


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>