This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Load Test CSV report: Why is "total_duration" "val"x2 for some measurements?

Dear MicroFocus community, 

While inspecting the CSV reports I observed that for over 50% of "average trt" metrics, the "total_duration" is just "val" multiplied by 2. However, I cannot find duplicate "val" values. So why is "val" doubled to get "total_duration"? What is the meaning then of "total_duration" apart from being just "val"x2? 

Regards,

Leif

  • 0

    UPDATE 

    I have found out that:

    • for total_duration/val = 1, the corresponding transaction average trt will be equal to max trt and min trt, suggesting that the quotient (total_duration/val) is the number of data points that were averaged to get average trt..
    • the quotient can go beyond 2 (I had some go as high as 9 in my recent load tests)

    It would seem that the quotient is the number of vusers executing a corresponding transaction..

    For example, for a particular transaction, let the individual trt (in seconds) of four Vusers be 2, 1, 3, and 5. This gives a total of 11. 

    Their average trt would be 2.75. And quotient 11/2.75 = 4. Ergo, quotient = number of Vusers executing a transaction.

    I'll leave this here for someone to correct me if I am wrong about this.

  • Verified Answer

    +1   in reply to 

    The data is aggregated, there is a value per interval (5 seconds interval). 

    Say LRC captured the following three response times of the same transaction within an interval: TRT1=1sec, TRT2=2sec and TRT3=3sec. In this example, the duration of the three transactions is summed up to 6 seconds, 1+2+3=6. Thus LRC will report in the CSV "total_duration" = 6" 

    The "value" for this interval is the average of the three transactions measured during the interval, 6/3=2 seconds. Thus LRC will report in the CSV "value" = 2". 

    I hope this is clearer, we will enhance the LRC documentation as needed. 

    Thanks!  

  • 0 in reply to   

    Much clearer, thanks! 

    Although in case you'd still check this thread.. is there documentation on how LRC computes the values displayed in the Report? We are trying to code the computation (using the csv) ourselves and include it in our pipeline..