Forum Discussion

fdelmoro's avatar
fdelmoro
Occasional Contributor
4 years ago

Doubts about "think time" interpretations

Hi everybody,

we have a question regarding the correct interpretation of the think time in the reports we are receiving after the end of a LoadNinja testing session.

We performed a test in order to stress a single page of our application; in the Loadninja recorder script we only load the page including some validations just to be sure that te page is properly loaded.

From the script recording, we see that we have a think time of around 2 seconds and we selected the "recorder think time option" for our test.

On the reports that we attach here as example, we noticed that the avergage think time is around 8 seconds.

Why is there this increase? 

If we load the same page on our browser while the LoadNinja test is running, we are experiencing a load time which is totally in line with the "Total nav timings (s)" reported in the final charts.

For the sake of our performance test (single page load), should we consider the "total nav timing (s)" and ignore the think time? Or do we have to consider the "think time" as a relevant performance indicator?

  • Hi fdelmoro 

     

    Hope you are well 

     

    Are you sure think time is a total a 2 seconds per step. 

     

    there could multiple instances of Think time per step. 

     

    This could lead me to believe there is differences with what you see in the reports. 

     

    That being said you can also change the Think time in the playback to minimum. 

     

    At any instance where think time needs to be used LoadNinja will use the minimum amount. 

     

    For your last question, using a minimum think time makes sense, especially if you need to benchmark your SPA under test and then run different load tests against it. 

     

    Here is some nice info on Think time.

     

    https://loadninja.com/resources/articles/performance-testing/3-common-load-testing-mistakes/

     

    https://support.smartbear.com/loadninja/docs/scripts/settings.html

     

    KR

    Vinnie

    • fdelmoro's avatar
      fdelmoro
      Occasional Contributor

      Hi, thanks for the kind answer.

      Your answer seems reasonable, but could you please confirm us that the "think time" duration is not influenced by the page loading time?

      In other words: the time that a virtual user waits for the page to load is not included in the think time reported in final statistic summary?

       

      Thanks in advance