Venkat Matta

it's all about the Performance Testing

Jmeter Tips & Tricks

1) Please refere the below URL  for the ADF controls recording in jmeter

http://one-size-doesnt-fit-all.blogspot.com/2010/04/configuring-apache-jmeter-specifically.html

2) Please find the jmeter adf correlation file below.

ADF_Correlation.cor

3) We need to use the below regular expression for the AFR Loop ID

_afrLoop”, “([-_0-9A-Za-z]{13,16})

4) Useful Video for the Jmeter ADF Application Recording :- http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adfjmeter/adfjmeter.html

5)  While running the large number of users , we need to adjust the below  heap parameters

Ex:-

set HEAP=-Xms1024m -Xmx2048m

set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m

set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50%

set TENURING=-XX:MaxTenuringThreshold=2

set PERM=-XX:PermSize=64m -XX:MaxPermSize=128m -XX:+CMSClassUnloadingEnabled

rem set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution

Note:- Don’t execute more than 400 per machine for 16GB RAM  because it will cause the system crashe or heap dump of jmeter which impact the execution of the jmeter as well as response times of the execution.

6)    If we have any socket time out error we need to modify the below options in jmeter.propertiers in all master and slave machines

     http.connection.stalecheck$Boolean=True –> Hc.paramters

     hc.parameters.file=hc.parameters –> Jmeter.properties

    httpclient4.retrycount=1

    httpclient3.retrycount=1

Embedded Resources in Jmeter

http://sgdev-blog.blogspot.com/2014/01/maximum-concurrent-connection-to-same.html

Advertisements

2 comments on “Jmeter Tips & Tricks

  1. glinius
    March 24, 2016

    I don’t think that there is a limitation of 400 users per machine, I ran several thousands of virtual users on mid-end modern hardware. Check out 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure article for more tweaks

    Like

    • venkatmatta
      March 24, 2016

      Thanks for the info..

      I tweak all the above mention options and currently working on Taurus & ur right , if we use taurus memory consumption is very low.

      The above mention users, i am stating for the hardware like winserv-2008 with 16gb hardware and tweak heap memory to 2gb & its dedicated salve machine . We observed memory crashes

      Please correct me if i am wrong

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Information

This entry was posted on March 22, 2016 by in Jmeter.
%d bloggers like this: