jakarta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [JMeter] - Get the log file parameter from plugin code (non gui mode, -j option)
Date Mon, 22 Nov 2010 21:13:08 GMT
2010/11/22 St├ęphane Hoblingre <stephane.hoblingre@gmail.com>:
> Hi,

> In non gui mode, I create my own file to collect the metrics. My idea was to
> get the name of the jtl file and create another one with same path/name but
> different extension.
>
> It is not a big deal if I cannot get the jtl file name. the user can specify
> -JperfmonFile=/path/to/file.jppm it is enough.

If the data belongs in the jtl file, then just use the standard
listener to save the data.

If not, then the file name should probably be defined separately on the GUI.

Note that there may be multiple JTL files (possibly even none) in any test run.

> I'm sorry I have diverted from the JMeter model to implement this particular
> plugin...
>
> Regards,
>
> Stephane
>
>
>
> On Tue, Nov 23, 2010 at 12:14 AM, sebb <sebbaz@gmail.com> wrote:
>
>> 2010/11/18 St├ęphane Hoblingre <stephane.hoblingre@gmail.com>:
>> > Hi,
>> >
>> > Is there a way to retrieve the jtl file path/name specified as argument
>> when
>> > running JMeter in non gui mode?
>> > I need it to implement non gui mode of our plugin:
>> > http://code.google.com/p/jmeter-plugins/wiki/PerfMon
>>
>> AFAIK, no other samplers/visualisers need this information.
>> It's the Listener's job to save the samples.
>>
>> So why does this code need it?
>>
>> > Is it possible?
>>
>> Probably, but why is it needed?
>>
>> > Regards,
>> >
>> > Stephane
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: dev-help@jakarta.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: dev-help@jakarta.apache.org


Mime
View raw message