You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by rakesh mailgroups <ra...@gmail.com> on 2012/10/10 15:50:40 UTC

Getting throughput when running via command line

*** Reposting because my thread was hijacked ****

Hi,

I've developed my test plan on my local computer via the GUI.

I've now run this test plan using the command line (because its going to
run in a non-GUI environment) but I cannot see the aggregate numbers in the
listener files.

I have the Summary Report and the Aggregate Report listeners configured but
both files contain data on individual calls only.

I want to pass/fail based on a target throughput figure.

I google'd around and it seems I should either use the Hudson plugin or
calculate it myself.

Really? I get this data in the GUI, surely it should also be available in
non-GUI mode?

Thanks

Rakesh

Re: Getting throughput when running via command line

Posted by Shmuel Krakower <sh...@gmail.com>.
Hi,
Take a look on the JMeter Plugins command line:
http://code.google.com/p/jmeter-plugins/wiki/JMeterPluginsCMD

I am using it to generate summary results after each load test, this way I
don't need to open JMeter for jtl analysis for most of the load tests.
Maybe you'll find your way with it.

Best,
Shmuel.


On Wed, Oct 10, 2012 at 9:43 PM, sebb <se...@gmail.com> wrote:

> On 10 October 2012 14:50, rakesh mailgroups <ra...@gmail.com>
> wrote:
> > *** Reposting because my thread was hijacked ****
> >
> > Hi,
> >
> > I've developed my test plan on my local computer via the GUI.
> >
> > I've now run this test plan using the command line (because its going to
> > run in a non-GUI environment) but I cannot see the aggregate numbers in
> the
> > listener files.
>
> Listeners always write raw data to the files.
>
> > I have the Summary Report and the Aggregate Report listeners configured
> but
> > both files contain data on individual calls only.
> >
> > I want to pass/fail based on a target throughput figure.
>
> That is not available in GUI mode either.
>
> > I google'd around and it seems I should either use the Hudson plugin or
> > calculate it myself.
> >
> > Really?
>
> Yes.
>
> > I get this data in the GUI, surely it should also be available in
> non-GUI mode?
>
> It's only available in GUI mode as a display; it's not available as an
> Assertion, so cannot be used to automate setting pass/fail.
> In GUI mode the operator has to determine the pass/fail status.
>
> You can load the raw data into a Summary Listener when the test has
> completed.
>
> You can also use:
>
>
> http://jmeter.apache.org/usermanual/component_reference.html#Generate_Summary_Results
>
> which may give sufficient info.
>
> > Thanks
> >
> > Rakesh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: Getting throughput when running via command line

Posted by sebb <se...@gmail.com>.
On 10 October 2012 14:50, rakesh mailgroups <ra...@gmail.com> wrote:
> *** Reposting because my thread was hijacked ****
>
> Hi,
>
> I've developed my test plan on my local computer via the GUI.
>
> I've now run this test plan using the command line (because its going to
> run in a non-GUI environment) but I cannot see the aggregate numbers in the
> listener files.

Listeners always write raw data to the files.

> I have the Summary Report and the Aggregate Report listeners configured but
> both files contain data on individual calls only.
>
> I want to pass/fail based on a target throughput figure.

That is not available in GUI mode either.

> I google'd around and it seems I should either use the Hudson plugin or
> calculate it myself.
>
> Really?

Yes.

> I get this data in the GUI, surely it should also be available in non-GUI mode?

It's only available in GUI mode as a display; it's not available as an
Assertion, so cannot be used to automate setting pass/fail.
In GUI mode the operator has to determine the pass/fail status.

You can load the raw data into a Summary Listener when the test has completed.

You can also use:

http://jmeter.apache.org/usermanual/component_reference.html#Generate_Summary_Results

which may give sufficient info.

> Thanks
>
> Rakesh

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org