There are ways to write the values of variables (or other text) to
files, but all require some extra work currently.

The log() and logn() functions can write a line to jmeter.log. You
would have to extract the information from the file after the run.

Another way of writing to a file is to create a sample result, and use
a Listener to write the result to a file.

The easiest way to do this is probably to use the Java Sampler.
You can then attach a Listener to it; by suitable choice of
configuration you may be able to write only the items you want, or you
may have to process the file further.

However, this sample will also appear in any other listeners in scope;
it may or may not be possible to arrange the test plan so that there
is a separate scope for the Java Sampler; it is certainly likely to
complicate the testplan.

Or you could use the BeanShell function or BeanShell Assertion. These
don't generate automatic sample results. You can write whatever Java
code you like in them, so you can write to a file.

S.
On 05/03/06, sudhir cheemalavagupalli <[EMAIL PROTECTED]> wrote:
> I know we can go and get values from database. But, what i want is,
> Can we directly save in a file from JMeter, while it is saving the
> values to the database.
> I mean the values should be saved in database as well as in a file
> simultaneously.
>
> Is it possible with JMeter?
>
>
> On 3/4/06, sebb <[EMAIL PROTECTED]> wrote:
> > Why not just extract the values from the database?
> >
> > S.
> > On 04/03/06, sudhir cheemalavagupalli <[EMAIL PROTECTED]> wrote:
> > >     I'm not having much knowledge in JMeter.I'm facing an issue, I'm
> > > using a regular expression, within which i am getting values created
> > > by the system. After creation, they stores in database. Now i want to
> > > save them in a file, so that i can use that file (for eg. CSV file)
> > > for other test plans as input. This is my requirement. Is it possible
> > > to do? Can we save Regular expression values to a file?
> > >
> > >     Advance thanks to everybody who helps me.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to