You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by S....@abg.com.pl on 2005/07/08 12:27:56 UTC
Is there a way to print results from listners? Varibles and datebase
problem
Hi
I'm wondering if there is a way to print resuts from listners?
And also if there is a way to save results directly to file without
keeping it in JMeter memory. I want to run long period testing(2 days) and
i don't have enought memory to save such a big result.
Is there a way to take values for varibles from datebase? Not only for one
but for all in User Parameters. For only one it would be easy to write
function but for 200 in 500 threads it is a bit troublesome. If there's a
way please tell me.
Sebastian
Ster-ABG S.A.
Re: Is there a way to print results from listners? Varibles and datebase problem
Posted by sebb <se...@gmail.com>.
On 7/8/05, S.Bloch@abg.com.pl <S....@abg.com.pl> wrote:
> Thanks!
>
> I have data from production which are changing every day so i have to take
> it from database.
Or fetch it once per day?
> I'll write it into Jmeter source code. If you would like to check it when
> i'll finish, tell me and i'll send it to you.
Thanks .
> Sebastian
>
>
>
>
> On 7/8/05, S.Bloch@abg.com.pl <S....@abg.com.pl> wrote:
> > Hi
> >
> > I'm wondering if there is a way to print resuts from listners?
>
> I think 2.0.3 includes a way to create screen dumps (^G IIRC) - if
> not, then certainly 2.1 (only available in nightlies at present) does.
> These can then be printed.
>
> > And also if there is a way to save results directly to file without
> > keeping it in JMeter memory. I want to run long period testing(2 days)
> and
> > i don't have enought memory to save such a big result.
>
> Create a testplan without any listeners.
> Set output format to CSV.
> Run as non-GUI with -l to create log file:
>
> jmeter -n -t test.jmx -l test.jtl
>
> This will make the most efficient use of memory.
>
> We frequently run tests like that over a weekend, perhaps with
> millions of transactions in total.
>
> > Is there a way to take values for varibles from datebase? Not only for
> one
> > but for all in User Parameters. For only one it would be easy to write
> > function but for 200 in 500 threads it is a bit troublesome. If there's
> a
> > way please tell me.
>
> Probably could do so using BeanShell and JDBC, but there is currently
> no built-in method of doing so.
>
> You could create a file (from the database if necessary), and read it
> with the StringFromFile or CSVRead functions (or CSVData if using a
> 2.1 nightly)
>
> This would be more efficient than reading from the database,
> particularly if you want to run a test more than once.
>
> > Sebastian
>
> ditto!
>
> ---------------------------------------------------------------------
> 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
Re: Is there a way to print results from listners? Varibles and datebase
problem
Posted by S....@abg.com.pl.
Thanks!
I have data from production which are changing every day so i have to take
it from database.
I'll write it into Jmeter source code. If you would like to check it when
i'll finish, tell me and i'll send it to you.
Sebastian
On 7/8/05, S.Bloch@abg.com.pl <S....@abg.com.pl> wrote:
> Hi
>
> I'm wondering if there is a way to print resuts from listners?
I think 2.0.3 includes a way to create screen dumps (^G IIRC) - if
not, then certainly 2.1 (only available in nightlies at present) does.
These can then be printed.
> And also if there is a way to save results directly to file without
> keeping it in JMeter memory. I want to run long period testing(2 days)
and
> i don't have enought memory to save such a big result.
Create a testplan without any listeners.
Set output format to CSV.
Run as non-GUI with -l to create log file:
jmeter -n -t test.jmx -l test.jtl
This will make the most efficient use of memory.
We frequently run tests like that over a weekend, perhaps with
millions of transactions in total.
> Is there a way to take values for varibles from datebase? Not only for
one
> but for all in User Parameters. For only one it would be easy to write
> function but for 200 in 500 threads it is a bit troublesome. If there's
a
> way please tell me.
Probably could do so using BeanShell and JDBC, but there is currently
no built-in method of doing so.
You could create a file (from the database if necessary), and read it
with the StringFromFile or CSVRead functions (or CSVData if using a
2.1 nightly)
This would be more efficient than reading from the database,
particularly if you want to run a test more than once.
> Sebastian
ditto!
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Is there a way to print results from listners? Varibles and datebase problem
Posted by sebb <se...@gmail.com>.
On 7/8/05, S.Bloch@abg.com.pl <S....@abg.com.pl> wrote:
> Hi
>
> I'm wondering if there is a way to print resuts from listners?
I think 2.0.3 includes a way to create screen dumps (^G IIRC) - if
not, then certainly 2.1 (only available in nightlies at present) does.
These can then be printed.
> And also if there is a way to save results directly to file without
> keeping it in JMeter memory. I want to run long period testing(2 days) and
> i don't have enought memory to save such a big result.
Create a testplan without any listeners.
Set output format to CSV.
Run as non-GUI with -l to create log file:
jmeter -n -t test.jmx -l test.jtl
This will make the most efficient use of memory.
We frequently run tests like that over a weekend, perhaps with
millions of transactions in total.
> Is there a way to take values for varibles from datebase? Not only for one
> but for all in User Parameters. For only one it would be easy to write
> function but for 200 in 500 threads it is a bit troublesome. If there's a
> way please tell me.
Probably could do so using BeanShell and JDBC, but there is currently
no built-in method of doing so.
You could create a file (from the database if necessary), and read it
with the StringFromFile or CSVRead functions (or CSVData if using a
2.1 nightly)
This would be more efficient than reading from the database,
particularly if you want to run a test more than once.
> Sebastian
ditto!
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Is there a way to print results from listners? Varibles and datebase problem
Posted by Peter Lin <wo...@gmail.com>.
there's a save graph feature in the nighthly which sebb mentioned. the
feature allows you to save most jmeter components to a file, including
samplers. the current file format is PNG
peter
On 7/8/05, S.Bloch@abg.com.pl <S....@abg.com.pl> wrote:
> Hi
>
> I'm wondering if there is a way to print resuts from listners?
>
> And also if there is a way to save results directly to file without
> keeping it in JMeter memory. I want to run long period testing(2 days) and
> i don't have enought memory to save such a big result.
>
> Is there a way to take values for varibles from datebase? Not only for one
> but for all in User Parameters. For only one it would be easy to write
> function but for 200 in 500 threads it is a bit troublesome. If there's a
> way please tell me.
>
> Sebastian
>
> Ster-ABG S.A.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org