jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Saving parameter to a csv file
Date Thu, 07 Jan 2010 17:03:30 GMT
On 07/01/2010, Deepak Shetty <shettyd@gmail.com> wrote:
> hi
>  If you run in command line mode, this is the result file you would get with
>  the -l option
>  http://jakarta.apache.org/jmeter/usermanual/get-started.html. This is what I
>  normally do
>
>  If you are running in GUI mode, select a listener(e.g. Summary report) and
>  in the field named Write Results To / Read from file, specify any file you
>  want (you'll get a warning stating that file doesnt exist the first time and
>  thats ok), once you run it you can open this file and check. I havent
>  verified the GUI mode works with sample variables though

Yes, it does work.

>  regards
>  deepak
>
>  On Thu, Jan 7, 2010 at 6:40 AM, Evandro Grezeli
>
> <grezeli.evandro@gmail.com>wrote:
>
>  >
>  > Thanks for the help Deepak, i set the property, i've got the following
>  > string
>  > in the jmeter.log:
>  >
>  > 2010/01/07 12:33:13 INFO  - jmeter.samplers.SampleEvent: 1 sample_variables
>  > have been declared: variableName
>  >
>  > But i couldn't find the jtl file that you talked about, do i have do set
>  > other config?
>  >
>  > Thanks in advance.
>  >
>  >
>  > Deepak Shetty wrote:
>  > >
>  > > Hi
>  > > Not sure what your exact requirement is but some options are
>  > > a. In jmeter.properties (in bin directory) there is a property
>  > > sample_variables which is a comma delimited value for all variables that
>  > > you
>  > > want to store along with your test result (it will store the value with
>  > > each
>  > > sample, based on the value held at that time). The result is available in
>  > > the JMeter result log (.jtl) file.
>  > > I typically do this and post process the .jtl (an XSLT to extract the
>  > > information into the format I want)
>  > > b. for custom store/reads you can add a BeanShell post processor that
>  > > writes
>  > > out whatever you want in whatever format you want. BeanShell can use
>  > > normal
>  > > Java Classes (you have to be careful in a multithreaded test though)
>  > >
>  > > regards
>  > > deepak
>  > >
>  > >
>  > > On Wed, Jan 6, 2010 at 6:31 PM, Evandro Grezeli
>  > > <grezeli.evandro@gmail.com>wrote:
>  > >
>  > >> Hi Folks,
>  > >>
>  > >> Sorry bothering the list, again, but i tried to find a way to save only
>  > >> one
>  > >> information from a variable that has been extracted from the execution
>  > to
>  > >> a
>  > >> file and couldn't find anything that looks like, so i was wondering,
>  > >> there's
>  > >> any samples or listener that could i use?
>  > >>
>  > >> thanks in advance.
>  > >>
>  > >> --
>  > >> Regards
>  > >> Evandro Grezeli de B. Neves
>  > >>
>  > >
>  > >
>  >
>  > --
>  > View this message in context:
>  > http://old.nabble.com/Saving-parameter-to-a-csv-file-tp27054271p27060999.html
>  > Sent from the JMeter - User mailing list archive at Nabble.com.
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>

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


Mime
View raw message