On 11/11/05, James Bull <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I've got a jmeter web script that works fine. At the moment it writes its
> results out to a file. I want to do an automated report web page that takes
> it's results from a DB.
>
> I thought after each sample has completed there might be a variable which
> contains the time for the last sample that I could just pop into a jdbc
> request to store the data.
>
> Is this possible? Does such a variable exist and if so what is it called?

There is no such variable at present.

You could probably persuade the BeanShell Assertion to extract the
information and put it in a variable.

However for performance testing storing the data would add quite an overhead.
Effectively you would also be testing the JDBC connection as well.

Why not just write a script to load the data into the database at the
end of a test? Most databases can easily be populated from CSV files,
and it would be much more efficient to load all the data at once.

If you really want to use a database to store the data, it would be
best implemented as a Listener. There has been some discussion on
implementing this - see the JMeter Developer list.

S.

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

Reply via email to