why jmeter not stop thread at Duraion time - jmeter

In my test plan, I create a Thread Group configured as below:
1. Action to be taken after a Sampler error: Continue
2. Number of Threads(users):10000
3. Ramp-up Period(in seconds):1
4. Loop Count:1
5. Duration(seconds):2
6. Startup delay(seconds):10
There is an Http Request Sampler in Thread Group.
After run the test plan, in jmeter.log
2019-04-30 15:46:01,558 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group-WB
2019-04-30 15:46:01,558 INFO o.a.j.e.StandardJMeterEngine: Starting 10000 threads for group Thread Group-WB.
2019-04-30 15:46:01,558 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2019-04-30 15:46:01,559 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=10000 ramp-up=1 delayedStart=false
2019-04-30 15:46:06,549 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2019-04-30 15:46:06,549 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2019-04-30 15:46:11,559 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-1
2019-04-30 15:46:11,562 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-2
2019-04-30 15:46:11,614 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-67
...
2019-04-30 15:46:15,541 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-5884
2019-04-30 15:46:15,541 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-5890
2019-04-30 15:46:15,541 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-5891
...
2019-04-30 15:46:15,367 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-7239
...
2019-04-30 15:46:21,913 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group-WB 1-8506
2019-04-30 15:46:21,912 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group-WB 1-8505
...
2019-04-30 15:46:16,872 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-8042
2019-04-30 15:46:16,872 INFO o.a.j.t.JMeterThread: Thread started: Thread Group-WB 1-8041
2019-04-30 15:46:18,767 INFO o.a.j.t.JMeterThread: Stopping because end time detected by thread: Thread Group-WB 1-7239
2019-04-30 15:46:18,767 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group-WB 1-7239
2019-04-30 15:46:18,767 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group-WB 1-7239
...
2019-04-30 15:47:35,716 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group-WB 1-9783
2019-04-30 15:47:35,716 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group-WB 1-9783
2019-04-30 15:47:36,941 INFO o.a.j.t.JMeterThread: Stopping because end time detected by thread: Thread Group-WB 1-1037
2019-04-30 15:47:36,942 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group-WB 1-1037
2019-04-30 15:47:36,942 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group-WB 1-1037
2019-04-30 15:47:36,944 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2019-04-30 15:47:36,945 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
The first Thread Group-wisebuy 1-1 start at 2019-04-30 15:46:11,559
I set Ramp-up Period as 1 second,why Thread Group-wisebuy 1-5891 started at 2019-04-30 15:46:15,541 ?
I set Duration as 2 seconds,why Thread Group-wisebuy 1-7239 stopping at 2019-04-30 15:46:18,767 ?

From the JMeter User's Manual:
The ramp-up period tells JMeter how long to take to "ramp-up" to the full number of threads chosen. If 10 threads are used, and the ramp-up period is 100 seconds, then JMeter will take 100 seconds to get all 10 threads up and running. Each thread will start 10 (100/10) seconds after the previous thread was begun.
By setting the ramp-up period to just 1 second, you're basically telling JMeter to start all 10,000 threads at once (i.e., as fast as it can).
Hence Thread 1-5891 started very soon after the first one. It looks like Thread 1-7239 started about 16s in, and therefore ended at around 18s because the duration = 2 seconds.
If you meant to start 1 user per second then you can set the ramp-up period = 1 second per # of users (10,000 seconds).

Related

Jmeter Distributed testing results 403/Forbidden

Run jmeter distributed testing,all machines are gcp instances.Able to trigger tests from master to slaves.Problem is test results getting 100% Error rate 403/Forbidden. This happens on all the vms.I'm running a sample script with no external data files e.g csv,so it should be all pass. On running the tests on my local they pass just fine.
Master & slaves using same version of jmeter,java and plugins
server.log of one of the vms
2022-09-02 07:12:13,318 INFO o.a.j.e.RemoteJMeterEngineImpl: Running test
2022-09-02 07:12:13,330 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2022-09-02 07:12:13,330 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2022-09-02 07:12:13,356 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2022-09-02 07:12:13,356 INFO o.a.j.e.u.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2022-09-02 07:12:13,822 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Users
2022-09-02 07:12:13,822 INFO o.a.j.e.StandardJMeterEngine: Starting 10 threads for group Users.
2022-09-02 07:12:13,822 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2022-09-02 07:12:13,823 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=10 ramp-up=10 delayedStart=false
2022-09-02 07:12:13,851 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2022-09-02 07:12:13,851 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2022-09-02 07:12:13,851 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2022-09-02 07:12:13,851 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2022-09-02 07:12:13,854 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-1
2022-09-02 07:12:13,912 INFO o.a.j.p.h.s.HTTPHCAbstractImpl: Local host = jmeter-worker-prf-002
2022-09-02 07:12:13,913 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2022-09-02 07:12:13,913 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2022-09-02 07:12:13,928 INFO o.a.j.p.h.s.HTTPHC4Impl: HTTP request retry count = 0
2022-09-02 07:12:14,024 INFO o.a.j.p.h.s.h.LazyLayeredConnectionSocketFactory: Setting up HTTPS TrustAll Socket Factory
2022-09-02 07:12:14,029 INFO o.a.j.u.JsseSSLManager: Using default SSL protocol: TLS
2022-09-02 07:12:14,029 INFO o.a.j.u.JsseSSLManager: SSL session context: per-thread
2022-09-02 07:12:14,034 INFO o.a.j.u.SSLManager: JmeterKeyStore Location: type JKS
2022-09-02 07:12:14,035 INFO o.a.j.u.SSLManager: KeyStore created OK
2022-09-02 07:12:14,035 WARN o.a.j.u.SSLManager: Keystore file not found, loading empty keystore
2022-09-02 07:12:14,504 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-1
2022-09-02 07:12:14,504 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-1
2022-09-02 07:12:14,852 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-2
2022-09-02 07:12:15,094 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-2
2022-09-02 07:12:15,094 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-2
2022-09-02 07:12:15,847 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-3
2022-09-02 07:12:16,076 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-3
2022-09-02 07:12:16,076 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-3
2022-09-02 07:12:16,840 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-4
2022-09-02 07:12:17,059 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-4
2022-09-02 07:12:17,059 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-4
2022-09-02 07:12:17,840 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-5
2022-09-02 07:12:18,063 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-5
2022-09-02 07:12:18,063 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-5
2022-09-02 07:12:18,831 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-6
2022-09-02 07:12:19,052 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-6
2022-09-02 07:12:19,052 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-6
2022-09-02 07:12:19,843 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-7
2022-09-02 07:12:20,076 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-7
2022-09-02 07:12:20,076 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-7
2022-09-02 07:12:20,829 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-8
2022-09-02 07:12:21,148 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-8
2022-09-02 07:12:21,148 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-8
2022-09-02 07:12:21,845 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-9
2022-09-02 07:12:22,052 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-9
2022-09-02 07:12:22,052 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-9
2022-09-02 07:12:22,841 INFO o.a.j.t.JMeterThread: Thread started: 10.10.52.197-Users 1-10
2022-09-02 07:12:23,092 INFO o.a.j.t.JMeterThread: Thread is done: 10.10.52.197-Users 1-10
2022-09-02 07:12:23,092 INFO o.a.j.t.JMeterThread: Thread finished: 10.10.52.197-Users 1-10
the only error i see is
2022-09-02 07:12:14,035 WARN o.a.j.u.SSLManager: Keystore file not
found, loading empty keystore
could that be the issue?though i didnt load any keystore on local
jmeter.log file doesn't tell the full story (at least until you enable debug logging)
First of all try temporarily enabling saving of request and response details for local and remote runs and compare resulting .jtl files. By default JMeter stores metrics in CSV format so you either need to amend Results File Configuration or add a Listener like Simple Data Writer and configure what and where to store
if the requests are the same enable debug logging and compare jmeter.log files. If there are no suspicious entries there try running your test from a machine on GCP in command-line non-GUI mode (not-distributed test run) as it might be the case your application doesn't allow incoming traffic from there

How to fix the script issue in Jmeter?

I'm trying to do JMeter testing in Mac and I have recorded a script in JMeter and when tried to playback the script, it doesn't run and gives the below error
2019-04-15 11:36:04,484 INFO o.a.j.e.StandardJMeterEngine: Running the test!
2019-04-15 11:36:04,489 INFO o.a.j.s.SampleEvent: List of sample_variables: []
2019-04-15 11:36:04,489 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)
2019-04-15 11:36:04,690 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2019-04-15 11:36:04,690 INFO o.a.j.e.StandardJMeterEngine: Starting 5 threads for group Thread Group.
2019-04-15 11:36:04,690 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2019-04-15 11:36:04,691 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=5 ramp-up=1 delayedStart=false
2019-04-15 11:36:04,692 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2019-04-15 11:36:04,691 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1
2019-04-15 11:36:04,692 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2019-04-15 11:36:04,692 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-1
2019-04-15 11:36:04,692 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1
2019-04-15 11:36:04,895 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-2
2019-04-15 11:36:04,896 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-2
2019-04-15 11:36:04,896 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-2
2019-04-15 11:36:05,096 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-3
2019-04-15 11:36:05,097 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-3
2019-04-15 11:36:05,097 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-3
2019-04-15 11:36:05,294 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-4
2019-04-15 11:36:05,294 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-4
2019-04-15 11:36:05,294 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-4
2019-04-15 11:36:05,495 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-5
2019-04-15 11:36:05,496 INFO o.a.j.t.JMeterThread: Thread is done: Thread Group 1-5
2019-04-15 11:36:05,496 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-5
2019-04-15 11:36:05,496 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2019-04-15 11:36:05,496 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)
There is no error in your log.
Usually after recording, there is some correlation work to do.
First check you added a HTTP Cookie Manager then check:
header
parameter
ids that change between 2 recordings
just go to thread group and ptut infinite to 1

Getting Transformer exception while running Jmeter script

While running my JMeter script with 3 threads, ramp-up 5 sec I am getting transformer exception. Actually in my scenario I want to click on the multiple links to the page randomly so I have used the random variable in JMeter But after running, I am getting below error, however, my XPath expression in XPath extractor looks fine.
2016/09/23 23:44:03 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2016/09/23 23:44:03 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2016/09/23 23:44:03 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2016/09/23 23:44:03 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2016/09/23 23:44:03 INFO - jmeter.engine.StandardJMeterEngine: Starting 3 threads for group Thread Group.
2016/09/23 23:44:03 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2016/09/23 23:44:03 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 3 ramp-up 5 perThread 1666.6666 delayedStart=false
2016/09/23 23:44:03 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2016/09/23 23:44:03 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2016/09/23 23:44:03 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2016/09/23 23:44:05 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2016/09/23 23:44:07 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-3
2016/09/23 23:44:09 WARN - jmeter.extractor.XPathExtractor: TransformerException while processing ((//span[#class="title"]/a/#href)[$(RandomNumber)]) Expected ], but found: RandomNumber
2016/09/23 23:44:10 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2016/09/23 23:44:10 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2016/09/23 23:44:10 WARN - jmeter.extractor.XPathExtractor: TransformerException while processing ((//span[#class="title"]/a/#href)[$(RandomNumber)]) Expected ], but found: RandomNumber
2016/09/23 23:44:11 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-3
2016/09/23 23:44:11 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3
2016/09/23 23:44:11 WARN - jmeter.extractor.XPathExtractor: TransformerException while processing ((//span[#class="title"]/a/#href)[$(RandomNumber)]) Expected ], but found: RandomNumber
2016/09/23 23:44:12 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-2
2016/09/23 23:44:12 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-2
2016/09/23 23:44:12 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2016/09/23 23:44:12 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
JMeter Variables are referenced as ${RandomNumber} - you need to use braces instead of parentheses. Alternatively you can use __V() function like
${__V(RandomNumber)}
So you need to change your XPath query to one of the following:
(//span[#class="title"]/a/#href)[${RandomNumber}]
(//span[#class="title"]/a/#href)[${__V(RandomNumber)}]
Your approach seems to be fragile. I don't know how many links are at the page and how do you generate your ${RandomNumber} variable, however I would rather go the following way:
Store all links at the page into JMeter variables like:
link_1=http://example.com
link_2=http://jmeter.apache.org
...
link_matchNr=50
Use random JMeter variable from previously extracted ones where required via aforementioned __V() and __Random() functions combination like:
${__V(link_${__Random(1,${link_matchNr},)})}
Demo:
See Here’s What to Do to Combine Multiple JMeter Variables article for more information on how you can combine different JMeter Functions and Variables into a single expression.

Jmeter thread execution internal process?

when i ran jmeter script , i can see the below logs: Why it is repeatedly printed thread group 1-1,1-1,1-1...1-2 ?? I understood that 1-1 means first thread group - first thread but it is printed again and again what does that mean in execution side??
2014/11/27 03:45:59 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:00 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:02 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:03 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:05 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:06 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:08 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:09 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:11 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:12 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:14 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-3 jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3 2014/11/27 03:47:51 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3
I
From what i understand. Since you have only 1 thread group in your test plan, That is why your Log shows
014/11/27 03:45:59 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-1 2014/11/27 03:46:00 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2014/11/27 03:46:02 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-1 2014/11/27 03:46:03 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2014/11/27 03:46:05 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-1 2014/11/27 03:46:06 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:08 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-2 2014/11/27 03:46:09 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:11 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-2 2014/11/27 03:46:12 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:14 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-3
The first number represent the Thread group started: Thread Group 1-1, Thread Group 1-2, Thread Group 1-3 ..........
The second number represents the user.

How jmeter execute threads?

I have set as per following :
**
- Users : 20 Ramp-up Period : 30 Loop count :1
**
What actually it means Thread group 1-2 , 1-3 ... How jmeter consider my 20 user to execute request?
When my jmeter script runs , I can see following in Log viewer :
2014/11/27 03:45:59 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:00 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-3
2014/11/27 03:46:02 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-4
2014/11/27 03:46:03 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-5
2014/11/27 03:46:05 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-6
2014/11/27 03:46:06 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-7
2014/11/27 03:46:08 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-8
2014/11/27 03:46:09 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-9
2014/11/27 03:46:11 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-10
2014/11/27 03:46:12 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-11
2014/11/27 03:46:14 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-12
2014/11/27 03:46:15 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-13
2014/11/27 03:46:17 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2014/11/27 03:46:17 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-14
2014/11/27 03:46:18 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-15
2014/11/27 03:46:20 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-16
2014/11/27 03:46:21 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-17
2014/11/27 03:46:22 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-2
2014/11/27 03:46:23 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-18
2014/11/27 03:46:24 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-19
2014/11/27 03:46:26 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-20
2014/11/27 03:46:27 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3
2014/11/27 03:46:37 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-4
2014/11/27 03:46:41 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-5
2014/11/27 03:46:43 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-6
2014/11/27 03:47:09 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-7
2014/11/27 03:47:25 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-8
2014/11/27 03:47:26 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-9
2014/11/27 03:47:32 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-10
2014/11/27 03:47:40 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-11
2014/11/27 03:47:51 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-12
2014/11/27 03:47:58 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-13
2014/11/27 03:48:06 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-15
2014/11/27 03:48:07 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-14
2014/11/27 03:48:11 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-16
2014/11/27 03:48:15 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-17
2014/11/27 03:48:16 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-18
2014/11/27 03:48:17 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-19
2014/11/27 03:48:18 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-20
Jmeter is a Java application which uses multithreading.
Since your Thread Group settings are: Users : 20 Ramp-up Period : 30 Loop count :1
So it will create 20 threads representing 20 Users, and each user will execute your thread group 1 time.
Since you have only 1 thread group in your test plan, That is why your Log shows
Thread started: Thread Group 1-1, Thread Group 1-2, Thread Group 1-3 ..........
The second number represents the user.
hope this will help.

Resources