how to identify start and end time of a thread group

2,770 views
Skip to first unread message

shanky

unread,
Jun 22, 2011, 1:23:59 AM6/22/11
to jmeter-plugins
hi iam very new to jmeter, can anyone guide me on how to pick the
start time and end time (so i can caluclate the total time taken for a
thread to complete) of a thread group
thanks and regards
shanky

Andrey Pohilko

unread,
Jun 22, 2011, 3:07:54 AM6/22/11
to jmeter-...@googlegroups.com
if you take those times from JTL file, then all you have is maximum and minimum timestamp. Their difference gives you test duration.

shanky

unread,
Jun 22, 2011, 3:15:06 AM6/22/11
to jmeter-plugins
sorry to bother... where can i find the jtl file ??? iam using a
simple summary report listner for a set of requests... now i want to
caluclate the total time taken for these requests

Andrey Pohilko

unread,
Jun 22, 2011, 3:46:37 AM6/22/11
to jmeter-...@googlegroups.com
Summary Report will not give you information about test durations.
I suggest you to look at Active Threads Over Time plugin.

JTL files saving may be set up in any of JMeter listeners - Save Results to File block. Then you may parse raw results yourself. But you better find existing solution.

shanky

unread,
Jun 22, 2011, 3:56:03 AM6/22/11
to jmeter-plugins
but andrey active threads over time plugin gives me the number of
thread's that are active right... i want to know the time taken for a
set of requests... lets say for an example "i want to check the time
taken of a login request"

Andrey Pohilko

unread,
Jun 22, 2011, 4:25:45 AM6/22/11
to jmeter-...@googlegroups.com
Then use Transaction Controller - its purpose is to group requests into sets.

shanky

unread,
Jun 22, 2011, 5:26:44 AM6/22/11
to jmeter-plugins
andrey can you just guide me how to use transaction controller, i
tried adding by right clicking the set of requests, iam confused how
to go further???

Andrey Pohilko

unread,
Jun 22, 2011, 5:34:44 AM6/22/11
to jmeter-...@googlegroups.com
Add transaction controller and place all your login sequence elements inside it as children. That's it.

shanky

unread,
Jun 22, 2011, 5:42:07 AM6/22/11
to jmeter-plugins
andrey i have added all the requests that i want... do i need to add
any listener or any variable to check the total time taken for these
transactions?

Andrey Pohilko

unread,
Jun 22, 2011, 6:12:55 AM6/22/11
to jmeter-...@googlegroups.com
Aggregate Report will be enough. Also you may take a look at Response Times Over Time

shanky

unread,
Jun 22, 2011, 6:29:12 AM6/22/11
to jmeter-plugins
andrey what i dont understand is... we need to add a threadgroup for
which we can add a controller

so i need to add

thread group1 -->(iam adding transaction controller to this
threadgroup) http requests --> another thread group 2--> now when i
add an aggregate report to thread group 1 and run my jmeter it is
generating the same report as the normal one

kindly bare me iam a functional automation tester not exposed to load
any time....

i want to check the load time totaly taken for the above requests

Andrey Pohilko

unread,
Jun 22, 2011, 6:46:57 AM6/22/11
to jmeter-...@googlegroups.com
Could you show the screenshot of your test plan tree?

shanky

unread,
Jun 22, 2011, 6:51:38 AM6/22/11
to jmeter-plugins
sure right now

shanky

unread,
Jun 22, 2011, 7:22:15 AM6/22/11
to jmeter-plugins

andrey i just sent you a mail to your id a...@apc.kg kindly check it
out as i cannot add screen shot over here

kindly bareo me

On Jun 22, 3:51 pm, shanky <shankarkurella...@gmail.com> wrote:
> sure right now
>
> On Jun 22, 3:46 pm, Andrey Pohilko <a...@apc.kg> wrote:
>
>
>
> > Could you show the screenshot of your test plan tree?- Hide quoted text -
>
> - Show quoted text -

Andrey Pohilko

unread,
Jun 22, 2011, 7:55:10 AM6/22/11
to jmeter-...@googlegroups.com
At the screenshot I see that you have nothing under your transaction controller. So you will not see the transactions. 
Please, add some listeners to transaction controller. Add them as children.

Also use Aggregate Report, not summary report.

Also avoid requesting static elements of webpages, such as jpg, css, js. Use "download embedded resources" option of HTTP sampler instead.

Go on, you'll do it!

shanky

unread,
Jun 22, 2011, 8:09:06 AM6/22/11
to jmeter-plugins
andrey thanks a lot for the quicker responses... i got some idea on
it.... i started working on today... so i dont have much idea on the
static elements or dynamic elements .... andrey can i mail you with
all my set of queries...if you can guide me on these, i will be
working on it, what is download embedded resources???

Andrey Pohilko

unread,
Jun 22, 2011, 8:24:41 AM6/22/11
to jmeter-...@googlegroups.com
Please find info on "Retrieve Embedded Resources" here:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Request

В сообщении от 22 июня 2011 16:09:06 автор shanky написал:

shanky

unread,
Jun 22, 2011, 8:42:09 AM6/22/11
to jmeter-plugins
thanks andrey i will refer the user manual... can i know why should i
not include the static pages, in my load test and how can i
differentiate between static and dynamic http requests ???

On Jun 22, 5:24 pm, Andrey Pohilko <a...@apc.kg> wrote:
> Please find info on "Retrieve Embedded Resources" here:http://jakarta.apache.org/jmeter/usermanual/component_reference.html#...
>
> В сообщении от 22 июня 2011 16:09:06 автор shanky написал:
>
>
>
> > andrey thanks a lot for the quicker responses... i got some idea on
> > it.... i started working on today... so i dont have much idea on the
> > static elements or dynamic elements .... andrey can i mail you with
> > all my set of queries...if you can guide me on these, i will be
> > working on it, what is download embedded resources???
>
> > On Jun 22, 4:55 pm, Andrey Pohilko <a...@apc.kg> wrote:
> > > At the screenshot I see that you have nothing under your transaction
> > > controller. So you will not see the transactions.
> > > Please, add some listeners to transaction controller. Add them as
> > > children.
>
> > > Also use Aggregate Report, not summary report.
>
> > > Also avoid requesting static elements of webpages, such as jpg, css, js.
> > > Use "download embedded resources" option of HTTP sampler instead.
>
> > > Go on, you'll do it!- Hide quoted text -

Andrey Pohilko

unread,
Jun 22, 2011, 9:08:43 AM6/22/11
to jmeter-...@googlegroups.com
Its just convenient - not to have all this static hell in test plan. But if you need it - you may have it.

shanky

unread,
Jun 22, 2011, 10:49:02 PM6/22/11
to jmeter-plugins
hi andrey gud morning

does jmeter loads data into application as a functional tool???? what
i mean is, i will start jmeter and login as some user and do some task
of registration in a page.... can i insert data into that registration
page again by parametrization??

Andrey Pohilko

unread,
Jun 23, 2011, 2:47:39 AM6/23/11
to jmeter-...@googlegroups.com
Yes, you can.
But this is not general JMeter support list. Please ask such questions here: http://jmeter.512774.n5.nabble.com/JMeter-User-f512775.html

shanky

unread,
Jun 23, 2011, 2:53:04 AM6/23/11
to jmeter-plugins
sorry andrey... thanks for the response i wont trouble further until
it is related to jmeter plug in

shanky

unread,
Jun 23, 2011, 8:08:38 AM6/23/11
to jmeter-plugins

hi andrey thanks for this plugin, i successfully runned the plugin
using the listners server performance monitor and response time vs
hits per second, can u just brief on the graph????
> > here:http://jmeter.512774.n5.nabble.com/JMeter-User-f512775.html- Hide quoted text -

Andrey Pohilko

unread,
Jun 23, 2011, 8:43:12 AM6/23/11
to jmeter-...@googlegroups.com
response time vs threads shows how response times changes with active test threads increase. Top line fluctuation is known bug, small circle represents whole average point - average active threads vs average response time.

Memory monitoring just shows you test elapsed time and used memory level from monitored server...

shanky

unread,
Jun 23, 2011, 9:03:26 AM6/23/11
to jmeter-plugins
thanks a lot for the quick responses andrey

pravee...@gmail.com

unread,
Jan 20, 2015, 1:35:45 AM1/20/15
to jmeter-...@googlegroups.com, shankark...@gmail.com
Dear Shanky,

Please can you help me to understand and get the total time taken to complete the thread/Request execution?

I have fallowed below steps as discussed previous conversation you and andrey.
1. Created one thread is Performance
2. Added Transaction Controller (child of parent thread)
3. Added HTTP Request, Aggregate Report listner and view Result tree( Child of Transaction Controller)

Here I could not able to get total performance time. Please do needful and thanks in advance.

pravee...@gmail.com

unread,
Jan 20, 2015, 1:38:51 AM1/20/15
to jmeter-...@googlegroups.com, shankark...@gmail.com
Hi,

Please can you help me to understand and get the total time taken to complete the thread/Request execution?

I have fallowed below steps as discussed previous conversation .
1. Created one thread is Performance
2. Added Transaction Controller (child of parent thread)
3. Added HTTP Request, Aggregate Report listner and view Result tree( Child of Transaction Controller)

Here I could not able to get total performance time. Please do needful and thanks in advance.

On Thursday, 23 June 2011 18:33:26 UTC+5:30, shanky wrote:
Reply all
Reply to author
Forward
0 new messages