I found the following in Summariser by decompiling the class:
sb.append("/s Avg: ");
sb.append(longToSb(tmp, s.getAverage(), 5));
sb.append(" SD: ");
sb.append(doubleToSb(tmp, s.getStandardDeviation(), 5, 2));
sb.append(" 2xSD(~95%): ");
sb.append(doubleToSb(tmp, s.getDoubleStandardDeviation(), 5, 2));
sb.append(" 3xSD(~99%): ");
sb.append(doubleToSb(tmp, s.getTripleStandardDeviation(), 5, 2));
sb.append(" Min: ");
sb.append(longToSb(tmp, s.getMin(), 5));
sb.append(" Max: ");
sb.append(longToSb(tmp, s.getMax(), 5));
sb.append(" Err: ");
sb.append(longToSb(tmp, s.getErrorCount(), 5));
sb.append(" (");
sb.append(s.getErrorPercentageString());
sb.append(")");
And RunningSample:
public double getStandardDeviation()
{
return Math.sqrt(Math.abs(this.sumOfSquares / this.counter -
getAverage() * getAverage()));
}
public double getDoubleStandardDeviation()
{
return Math.sqrt(Math.abs(2L * (this.sumOfSquares / this.counter) -
getAverage() * getAverage()));
}
public double getTripleStandardDeviation()
{
return Math.sqrt(Math.abs(3L * (this.sumOfSquares / this.counter) -
getAverage() * getAverage()));
}
Unless someone has seen this before it looks like someone customized JMeter
years ago.
Thanks for the responses.
On Wed, Nov 4, 2015 at 5:34 PM, sebb <[email protected]> wrote:
> On 4 November 2015 at 21:50, Philippe Mouawad
> <[email protected]> wrote:
> > Hello,
> > I hope you found 2.13 better than 2.3 :-)
> >
> > Regarding your issue, are you sure you were in 2.3 ? are you sure you
> were
> > not using a 3rd party plugin ?
> > Looking at code (
> >
> https://github.com/apache/jmeter/blob/v2_3/src/core/org/apache/jmeter/reporters/Summariser.java
> )
> > I see nowhere SD
> >
> > Maybe sebb can answer.
>
> SD has never been part of the standard JMeter summary log.
> The output must have been from a customised version.
>
> The summary log is only intended to give a rough idea of how a test is
> progressing, so only has basic info.
>
>
> > You can see the history of changes here:
> > http://jmeter.apache.org/changes.html
> > http://jmeter.apache.org/changes_history.html
> >
> > Regards
> > @philmdot
> >
> > On Wed, Nov 4, 2015 at 10:04 PM, Mike Cavedon <[email protected]> wrote:
> >
> >> Hi,
> >>
> >> I had been working with JMeter 2.3 and recently switched to 2.13. With
> >> JMeter 2.3 I was able to get SD output as part of running a jmeter
> console
> >> test:
> >>
> >> summary + 4518 in 4.2s = 1068.6/s Avg: 1 SD: 2.00 2xSD(~95%):
> 3.00
> >> 3xSD(~99%): 3.74 Min: 1 Max: 73 Err: 0 (0.00%)
> >>
> >> I can't seem to get the SD output now with 2.13:
> >>
> >> summary + 10746 in 5.2s = 2052.7/s Avg: 10 Min: 3 Max: 4007
> Err:
> >> 0 (0.00%) Active: 25 Started: 25 Finished: 0
> >>
> >> I am using StatisticalSampleResult. At first I was getting 0's for Avg,
> Min
> >> and Max until I realized the StatisticalSampleResult constructor I was
> >> calling has been deprecated. Now I'm at least getting values for Avg,
> Min
> >> and Max.
> >>
> >> Should I still be able to see SD values as part of the JMeter console
> >> output with version 2.13?
> >>
> >> Thanks.
> >>
> >> Mike
> >>
> >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>