jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Cavedon <mpc...@gmail.com>
Subject Re: No longer see standard deviations in console output
Date Thu, 05 Nov 2015 18:32:15 GMT
I see the following in jmeter.properties:

#---------------------------------------------------------------------------
# Aggregate Report and Aggregate Graph - configuration
#---------------------------------------------------------------------------
#
# Percentiles to display in reports
# Can be float value between 0 and 100
# First percentile to display, defaults to 90%
aggregate_rpt_pct1=90
# Second percentile to display, defaults to 95%
aggregate_rpt_pct2=95
# Second percentile to display, defaults to 99%
aggregate_rpt_pct3=99


When I execute the following command I only see aggregate_report_90%_line
in the output:

jmeter/apache-jmeter-2.13/lib/ext/JMeterPluginsCMD.sh --generate-csv
aggregate.csv --input-jtl test.jtl --plugin-type AggregateReport

[dataxu@load-driver ~]$ cat aggregate.csv
sampler_label,aggregate_report_count,average,aggregate_report_median,aggregate_report_90%_line,aggregate_report_min,aggregate_report_max,aggregate_report_error%,aggregate_report_rate,aggregate_report_bandwidth,aggregate_report_stddev
Java Request,144251,376,336,602,10,10576,100.00%,1656.2,.0,464.01
TOTAL,144251,376,336,602,10,10576,100.00%,1656.2,.0,464.01

Is there a way to get the 90, 95 and 99 percentiles from the command line?


On Thu, Nov 5, 2015 at 10:27 AM, sebb <sebbaz@gmail.com> wrote:

> This is definitely not the original JMeter code.
>
> You can compare it with the original, which is available from the ASF
> archive site at:
>
> http://archive.apache.org/dist/jakarta/jmeter/binaries/
>
> I've just extracted the RunningSample class and it does not have any SD
> methods.
>
> ==
>
> Note: version 2.3 is from when JMeter was part of Jakarta, the current
> archives (from 2.5.1) are at:
>
> http://archive.apache.org/dist/jmeter/binaries/
>
>
> On 5 November 2015 at 13:58, Mike Cavedon <mpc755@gmail.com> wrote:
> > 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 <sebbaz@gmail.com> wrote:
> >
> >> On 4 November 2015 at 21:50, Philippe Mouawad
> >> <philippe.mouawad@gmail.com> 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 <mpc755@gmail.com>
> 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: user-unsubscribe@jmeter.apache.org
> >> For additional commands, e-mail: user-help@jmeter.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message