jmeter - replay

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

jmeter - replay

Senthilnathan D
Hi,

 

We are using JMeter(5.0) for performance testing for testing our
application.

We are using the recording and replay method. The setup has been done by
following the JMeter apache user manual.

 

1. We were able to record the scenarios (input of a Funds transfer for
our application)
2. On Replaying the scenario, JMeter does not show any error but the
transaction has not created.

 

Can anyone kindly have a look and help out

 

 

Regards

Senthil

 

 

 

Reply | Threaded
Open this post in threaded view
|

Re: jmeter - replay

Philippe Mouawad
Hello,

This is the step called Correlation, see:

   -
   https://jmeter.apache.org/usermanual/jmeter_proxy_step_by_step.html#correlate-start


To improve your load testing skills and better use JMeter and, this book
can help you :

   - https://leanpub.com/master-jmeter-from-load-test-to-devops

Disclaimer : It is written by three members of the team (Antonio, Milamber
and me) and technically reviewed by a fourth one, Felix.

Regards
Philippe M.

On Fri, Jan 11, 2019 at 9:39 AM Senthilnathan D <[hidden email]>
wrote:

> Hi,
>
>
>
> We are using JMeter(5.0) for performance testing for testing our
> application.
>
> We are using the recording and replay method. The setup has been done by
> following the JMeter apache user manual.
>
>
>
> 1.      We were able to record the scenarios (input of a Funds transfer for
> our application)
> 2.      On Replaying the scenario, JMeter does not show any error but the
> transaction has not created.
>
>
>
> Can anyone kindly have a look and help out
>
>
>
>
>
> Regards
>
> Senthil
>
>
>
>
>
>
>
>

--


[image: logo Ubik Ingenierie] <https://www.ubik-ingenierie.com> Philippe
Mouawad
Senior Performance Expert
320914981 <+33320914981> | [hidden email]
[image: ubik-ingenierie.com] ubik-ingenierie.com
<https://www.ubik-ingenierie.com> | [image: 03.20.91.49.81] 03.20.91.49.81
<+33320914981> | [image: 23 rue du chemin de fer , 59100 , Roubaix] 23 rue
du chemin de fer, 59100, Roubaix
<https://www.openstreetmap.org/#map=18/50.69454/3.16455>
Philippe M.
@philmdot
http://ubikloadpack.com
Reply | Threaded
Open this post in threaded view
|

Re: jmeter - replay

Mariusz W
In reply to this post by Senthilnathan D
Hi,
Try also use View Result tree listener to see requests/responses for your
scenario.

https://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree

Regards,
Mariusz

On Fri, Jan 11, 2019 at 9:39 AM Senthilnathan D <[hidden email]>
wrote:

> Hi,
>
>
>
> We are using JMeter(5.0) for performance testing for testing our
> application.
>
> We are using the recording and replay method. The setup has been done by
> following the JMeter apache user manual.
>
>
>
> 1.      We were able to record the scenarios (input of a Funds transfer for
> our application)
> 2.      On Replaying the scenario, JMeter does not show any error but the
> transaction has not created.
>
>
>
> Can anyone kindly have a look and help out
>
>
>
>
>
> Regards
>
> Senthil
>
>
>
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: jmeter - replay

glinius@live.com
In reply to this post by Senthilnathan D
1. JMeter automatically treats responses with  HTTP Status Codes
<https://developer.mozilla.org/en-US/docs/Web/HTTP/Status>   below 400 as
successful. It doesn't do any extra checks so you might want to introduce
Assertions
<https://www.blazemeter.com/blog/how-use-jmeter-assertions-3-easy-steps>  
in order to verify that your test is doing what it is supposed to be doing.

2. Make sure to add  HTTP Cookie Manager
<http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Cookie_Manager>  
to your Test Plan

3. Record the same scenario one more time and compare the recorded scripts.
If you see the differences - these values need to be *correlated* - to wit
extracted from the previous response using suitable JMeter  Post-Processor
<http://jmeter.apache.org/usermanual/component_reference.html#postprocessors>  
and stored into  JMeter Variables
<https://jmeter.apache.org/usermanual/functions.html>  . Once done you will
need to replace hard-coded values which need to be dynamic with the
aforementioned variables.  





--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

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