How to handle/capture batch Jobs using Jmeter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to handle/capture batch Jobs using Jmeter

Anil Gaur
Hi..


I want to test batch processing in my application using Jmeter.


Below are the Inputs:-

1) Batch jobs are ruining on back end and submitting the data to DB.

2) Every 30 min batch Jobs are executed.

3) Executed in Non UI mode.



I want to do the performance for these batch jobs using Jmeter.



Please let me know how its possible and if any reference document which can help me there.



Thanks

Anil Gaur
Reply | Threaded
Open this post in threaded view
|

Re: How to handle/capture batch Jobs using Jmeter

Ivan Rancati-3
if you have access to the server running the processes,
you could look at the OS process sampler to check the execution times

And additionally a Database sampler, to validate that the correct values
are submitted.

On Mon, Jun 12, 2017 at 9:47 AM, Anil Gaur <[hidden email]> wrote:

> Hi..
>
>
> I want to test batch processing in my application using Jmeter.
>
>
> Below are the Inputs:-
>
> 1) Batch jobs are ruining on back end and submitting the data to DB.
>
> 2) Every 30 min batch Jobs are executed.
>
> 3) Executed in Non UI mode.
>
>
>
> I want to do the performance for these batch jobs using Jmeter.
>
>
>
> Please let me know how its possible and if any reference document which
> can help me there.
>
>
>
> Thanks
>
> Anil Gaur
>
Reply | Threaded
Open this post in threaded view
|

Re: How to handle/capture batch Jobs using Jmeter

sebb-2-2
In reply to this post by Anil Gaur
On 12 June 2017 at 08:47, Anil Gaur <[hidden email]> wrote:

> Hi..
>
>
> I want to test batch processing in my application using Jmeter.
>
>
> Below are the Inputs:-
>
> 1) Batch jobs are ruining on back end and submitting the data to DB.
>
> 2) Every 30 min batch Jobs are executed.
>
> 3) Executed in Non UI mode.
>
>
>
> I want to do the performance for these batch jobs using Jmeter.
>

It is possible to set up JMeter to run a batch script using the

http://jmeter.apache.org/usermanual/component_reference.html#OS_Process_Sampler

However the only useful output will be the elapsed time.

It will be a lot easier to use some other tool for measuring the batch
performance.

>
> Please let me know how its possible and if any reference document which can help me there.
>
>
>
> Thanks
>
> Anil Gaur

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: How to handle/capture batch Jobs using Jmeter

glinius@live.com
This post has NOT been accepted by the mailing list yet.
In reply to this post by Anil Gaur
Since jobs are already running you can only monitor the server and database performance using i.e. JMeter PerfMon Plugin , check out How to Monitor Your Server Health & Performance During a JMeter Load Test for details.

Another option is simulating these batch jobs using JMeter. JMeter provides JDBC Request sampler which can be used for executing arbitrary SQL queries so you can mimic these batch jobs using JMeter script if you think that the database will be the bottleneck. Check out Building a Database Test Plan
 user manual chapter for more information.