Distributed Testing Scenario

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

Distributed Testing Scenario

Anil Gaur
Hi,

I am running 1000 user load in distributed mode (1 Master, 13 Slave). While validating the result  and logs , Found that more then 5K users are trying to attempt login or other transaction but my max users are 1000 only.

Can some one help me to know the cause of more transactions vs VU's?
Also while the execution threads are not equal to VU's.  Its shows no of slaves * VU's.
Ex:- Defined VU's=50 on 13 slave then getting threads in summary=650

System Configuration.

1 Master server with 13 slaves. All Slaves and Master system are on same sub net.
No firewall .
Running on NON GUI mode


Test Setup.
Single Test plan is copied in BIN folder on Master and Slave system.
Common Test Data file is copied on all Slaves and Master system/Bin Folder
VU's are defined in Master system with proper ramp-up time.


Please let me know if some have any suggestion.


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

RE: Distributed Testing Scenario

samuel.svelta
Hi,

please can you share jmeter.log from master?

If you define e.g. Number of Threads = 50, i.e. 50 Threads x Number of Slaves. If you have e.g. 1000 user per Thread, i.e. 1000 Users x Number of Threads x Number of Slaves.

If I understand your scenario correctly - in your case:
1000 x 50 x 13 = 650 000 concurrent users during the loadtest.

Kind Regards,
s.

-----Original Message-----
From: Anil Gaur [mailto:[hidden email]]
Sent: Tuesday, January 02, 2018 4:37 PM
To: [hidden email]
Subject: Distributed Testing Scenario

Hi,

I am running 1000 user load in distributed mode (1 Master, 13 Slave). While validating the result  and logs , Found that more then 5K users are trying to attempt login or other transaction but my max users are 1000 only.

Can some one help me to know the cause of more transactions vs VU's?
Also while the execution threads are not equal to VU's.  Its shows no of slaves * VU's.
Ex:- Defined VU's=50 on 13 slave then getting threads in summary=650

System Configuration.

1 Master server with 13 slaves. All Slaves and Master system are on same sub net.
No firewall .
Running on NON GUI mode


Test Setup.
Single Test plan is copied in BIN folder on Master and Slave system.
Common Test Data file is copied on all Slaves and Master system/Bin Folder VU's are defined in Master system with proper ramp-up time.


Please let me know if some have any suggestion.


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: Distributed Testing Scenario

Anil Gaur
Hi,


Below are the Jmeter master Log.

2018/01/02 05:31:22 INFO  - jmeter.util.JMeterUtils: Setting Locale to en_US
2018/01/02 05:31:22 INFO  - jmeter.JMeter: Loading user properties from: C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin\user.properties
2018/01/02 05:31:22 INFO  - jmeter.JMeter: Copyright (c) 1998-2016 The Apache Software Foundation
2018/01/02 05:31:22 INFO  - jmeter.JMeter: Version 3.1 r1770033
2018/01/02 05:31:22 INFO  - jmeter.JMeter: java.version=1.8.0_141
2018/01/02 05:31:22 INFO  - jmeter.JMeter: java.vm.name=Java HotSpot(TM) Client VM
2018/01/02 05:31:22 INFO  - jmeter.JMeter: os.name=Windows Server 2012 R2
2018/01/02 05:31:22 INFO  - jmeter.JMeter: os.arch=x86
2018/01/02 05:31:22 INFO  - jmeter.JMeter: os.version=6.3
2018/01/02 05:31:22 INFO  - jmeter.JMeter: file.encoding=Cp1252
2018/01/02 05:31:22 INFO  - jmeter.JMeter: Max memory     =1060372480
2018/01/02 05:31:22 INFO  - jmeter.JMeter: Available Processors =8
2018/01/02 05:31:22 INFO  - jmeter.JMeter: Default Locale=English (United States)
2018/01/02 05:31:22 INFO  - jmeter.JMeter: JMeter  Locale=English (United States)
2018/01/02 05:31:22 INFO  - jmeter.JMeter: JMeterHome=C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1
2018/01/02 05:31:22 INFO  - jmeter.JMeter: user.dir  =C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin
2018/01/02 05:31:22 INFO  - jmeter.JMeter: PWD       =C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin
2018/01/02 05:31:22 INFO  - jmeter.JMeter: IP: 10.10.20.48 Name: BMSDEVXJMETER1 FullName: BMSDEVXJMETER1.BMSDEVX.com
2018/01/02 05:31:22 INFO  - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform]
2018/01/02 05:31:22 INFO  - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2018/01/02 05:31:24 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2018/01/02 05:31:24 INFO  - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2018/01/02 05:31:26 WARN  - org.jmeterplugins.repository.Plugin: Unable to load class: kg.apc.jmeter.vizualizers.PageDataExtractorOverTimeGui java.lang.NoClassDefFoundError: kg/apc/jmeter/CMDLineArgumentsProcessor
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.jmeterplugins.repository.Plugin.getJARPath(Plugin.java:178)
at org.jmeterplugins.repository.Plugin.detectInstalledPlugin(Plugin.java:92)
at org.jmeterplugins.repository.Plugin.detectInstalled(Plugin.java:81)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:64)
at org.jmeterplugins.repository.PluginManagerMenuItem.<init>(PluginManagerMenuItem.java:28)
at org.jmeterplugins.repository.PluginManagerMenuCreator.getMenuItemsAtLocation(PluginManagerMenuCreator.java:22)
at org.apache.jmeter.gui.util.JMeterMenuBar.addPluginsMenuItems(JMeterMenuBar.java:572)
at org.apache.jmeter.gui.util.JMeterMenuBar.makeOptionsMenu(JMeterMenuBar.java:349)
at org.apache.jmeter.gui.util.JMeterMenuBar.createMenuBar(JMeterMenuBar.java:268)
at org.apache.jmeter.gui.util.JMeterMenuBar.<init>(JMeterMenuBar.java:161)
at org.apache.jmeter.gui.MainFrame.init(MainFrame.java:493)
at org.apache.jmeter.gui.MainFrame.<init>(MainFrame.java:241)
at org.apache.jmeter.JMeter.startGui(JMeter.java:330)
at org.apache.jmeter.JMeter.start(JMeter.java:483)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.jmeter.NewDriver.main(NewDriver.java:259)
Caused by: java.lang.ClassNotFoundException: kg.apc.jmeter.CMDLineArgumentsProcessor
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 30 more

2018/01/02 05:31:26 INFO  - org.jmeterplugins.repository.PluginManager: Plugins Status: [jpgc-graphs-additional=0.0.0-STOCK, jpgc-autostop=0.0.0-STOCK, jpgc-dbmon=0.0.0-STOCK, jpgc-graphs-dist=0.0.0-STOCK, jpgc-ggl=0.0.0-STOCK, jpgc-httpraw=0.0.0-STOCK, jpgc-sts=0.0.0-STOCK, jpgc-jmxmon=0.0.0-STOCK, jpgc-json=2.6, jpgc-graphs-vs=0.0.0-STOCK, jpgc-lockfile=0.0.0-STOCK, jpgc-prmctl=0.0.0-STOCK, jpgc-plugins-manager=0.11, jpgc-udp=0.0.0-STOCK, jpgc-csvars=0.0.0-STOCK, jpgc-xml=0.0.0-STOCK, jmeter-core=3.1, jmeter-ftp=3.1, jmeter-http=3.1, jmeter-jdbc=3.1, jmeter-jms=3.1, jmeter-junit=3.1, jmeter-java=3.1, jmeter-ldap=3.1, jmeter-mail=3.1, jmeter-mongodb=3.1, jmeter-native=3.1, jmeter-tcp=3.1, jmeter-components=3.1]
2018/01/02 05:31:27 WARN  - jmeter.gui.util.MenuFactory: Missing jar? Could not create kg.apc.jmeter.vizualizers.MergeResultsGui. java.lang.NoClassDefFoundError: org/jmeterplugins/save/MergeResultsService
2018/01/02 05:31:27 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.assertions.BSFAssertion
2018/01/02 05:31:28 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.extractor.BSFPostProcessor
2018/01/02 05:31:28 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.modifiers.BSFPreProcessor
2018/01/02 05:31:28 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018/01/02 05:31:28 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018/01/02 05:31:28 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018/01/02 05:31:28 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser
2018/01/02 05:31:28 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2018/01/02 05:31:28 INFO  - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser
2018/01/02 05:31:29 INFO  - jorphan.exec.KeyToolUtils: keytool found at 'C:\Program Files (x86)\Java\jre1.8.0_141\bin\keytool'
2018/01/02 05:31:29 INFO  - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin\proxyserver.jks
2018/01/02 05:31:29 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.java.sampler.BSFSampler
2018/01/02 05:31:29 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.config.MongoSourceElement
2018/01/02 05:31:29 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.mongodb.sampler.MongoScriptSampler
2018/01/02 05:31:30 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.timers.BSFTimer
2018/01/02 05:31:30 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.BSFListener
2018/01/02 05:31:30 INFO  - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.visualizers.MonitorHealthVisualizer
2018/01/02 05:31:30 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
2018/01/02 05:31:30 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2018/01/02 05:31:30 INFO  - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true
2018/01/02 05:31:30 INFO  - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000
2018/01/02 05:31:43 INFO  - jmeter.services.FileServer: Default base='C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin'
2018/01/02 05:31:43 INFO  - jmeter.gui.action.Load: Loading file: C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin\JAN_R5Test_Latest_2018.jmx
2018/01/02 05:31:43 INFO  - jmeter.services.FileServer: Set new base='C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin'
2018/01/02 05:31:43 INFO  - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2018/01/02 05:31:43 INFO  - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8
2018/01/02 05:31:43 INFO  - jmeter.save.SaveService: Using SaveService properties version 3.1
2018/01/02 05:31:43 INFO  - jmeter.save.SaveService: All converter versions present and correct
2018/01/02 05:31:43 INFO  - jmeter.save.SaveService: Loading file: C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin\JAN_R5Test_Latest_2018.jmx
2018/01/02 05:31:43 INFO  - jmeter.protocol.http.control.CookieManager: Settings: Delete null: true Check: true Allow variable: true Save: false Prefix: COOKIE_
2018/01/02 05:31:43 INFO  - jmeter.protocol.http.control.CacheManager: Will only cache the following methods: [GET]
2018/01/02 05:31:45 INFO  - jmeter.services.FileServer: Set new base='C:\Users\agaur\Desktop\Jmeter Versions\apache-jmeter-3.1\bin'


________________________________
From: [hidden email] <[hidden email]>
Sent: Tuesday, January 2, 2018 9:18 PM
To: [hidden email]
Subject: RE: Distributed Testing Scenario

Hi,

please can you share jmeter.log from master?

If you define e.g. Number of Threads = 50, i.e. 50 Threads x Number of Slaves. If you have e.g. 1000 user per Thread, i.e. 1000 Users x Number of Threads x Number of Slaves.

If I understand your scenario correctly - in your case:
1000 x 50 x 13 = 650 000 concurrent users during the loadtest.

Kind Regards,
s.

-----Original Message-----
From: Anil Gaur [mailto:[hidden email]]
Sent: Tuesday, January 02, 2018 4:37 PM
To: [hidden email]
Subject: Distributed Testing Scenario

Hi,

I am running 1000 user load in distributed mode (1 Master, 13 Slave). While validating the result  and logs , Found that more then 5K users are trying to attempt login or other transaction but my max users are 1000 only.

Can some one help me to know the cause of more transactions vs VU's?
Also while the execution threads are not equal to VU's.  Its shows no of slaves * VU's.
Ex:- Defined VU's=50 on 13 slave then getting threads in summary=650

System Configuration.

1 Master server with 13 slaves. All Slaves and Master system are on same sub net.
No firewall .
Running on NON GUI mode


Test Setup.
Single Test plan is copied in BIN folder on Master and Slave system.
Common Test Data file is copied on all Slaves and Master system/Bin Folder VU's are defined in Master system with proper ramp-up time.


Please let me know if some have any suggestion.


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: Distributed Testing Scenario

glinius@live.com
In reply to this post by Anil Gaur
All JMeter slaves are *independent* and execute the same test plan. If you
define 50 users in the Thread Group and will have 1 slave - you will have 50
users. For 2 slaves it will be 100 users, 3 slaves - 150 users, etc.

This is highlighted in one of the first  Remote Testing Documentation
<http://jmeter.apache.org/usermanual/remote-test.html>   chapters:


> Note: The same test plan is run by all the servers. JMeter does not
> distribute the load between servers, each runs the full test plan. So if
> you set 1000 Threads and have 6 JMeter server, you end up injecting 6000
> Threads.

So if you need to mimic 1000 users and have 13 slaves each slave should have
something like *77 users*, amend your  Thread Group
<http://jmeter.apache.org/usermanual/component_reference.html#Thread_Group>  
settings accordingly as it appears that you have 13 000 instead.

Check out  JMeter Distributed Testing Step-by-step
<https://jmeter.apache.org/usermanual/jmeter_distributed_testing_step_by_step.pdf>  
and  How to Perform Distributed Testing in JMeter
<https://www.blazemeter.com/blog/how-to-perform-distributed-testing-in-jmeter>  
articles for more information if needed.

Also be aware that if you need to simulate 1000 users only my expectation is
that it can be done from a single host, just make sure you're following
JMeter Best Practices
<http://jmeter.apache.org/usermanual/best-practices.html>  .






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

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