apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.26k stars 2.09k forks source link

Add sample numbering option to View Results Tree #2675

Open asfimport opened 12 years ago

asfimport commented 12 years ago

Colin Jackson (Bug 52307): I often need to compare an entry in the View Results Tree component to a list of Thread-specific test data. This would be made much easier if the entries in the View Results Tree could be numbered. It is hard to identify the 1027th entry in the list in the current component, for example.

OS: All

asfimport commented 12 years ago

Sebb (migrated from Bugzilla): Not quite sure what you want: the title refers to Thread Number, but the comment seems to want a sequence number.

What is required?

asfimport commented 12 years ago

Colin Jackson (migrated from Bugzilla): This screenshot explains the change request more explicitly.

Created attachment threads.jpg: Explanatory screenshot

Explanatory screenshot
asfimport commented 12 years ago

Colin Jackson (migrated from Bugzilla): Please see the explanatory screenshot. The list of results per thread in the results tree is not numbered. In this case, for example, if I attempt to login using 5000 user login details, and user 3276 fails, it's hard to determine which thread has failed, as they are not numbered, just coloured differently. I have to manually count through the list to see which number failed. If they were numbered, I could immediately cross-reference the thread number with the line number in my accounts spreadsheet and examine the failed user details.

This numbering might not always work (for example, if the thread step being examined does not complete in the same order as the thread was started, or other random elements are in play), but in many circumstances it would be very useful.

asfimport commented 12 years ago

Colin Jackson (migrated from Bugzilla): To clarify, I only need the items in the results tree to be numbered sequentially to aid identification. It is not necessary that these numbers are tied into an actual explicit thread number.

asfimport commented 12 years ago

Sebb (migrated from Bugzilla): Have you tried using a Counter variable in the sampler label?

asfimport commented 12 years ago

Colin Jackson (migrated from Bugzilla):

Have you tried using a Counter variable in the sampler label?

Hi Sebb, I don't know what you mean but I'll have a look into it. I'm not a power user by any means so I don't know some of the intricacies of what's possible.

asfimport commented 12 years ago

Sebb (migrated from Bugzilla): Presumably you are using a variable reference in the sampler to pass in the user name?

Why not just add that to the sampler name, e.g. "Login ${user}"

asfimport commented 12 years ago

Colin Jackson (migrated from Bugzilla): (In reply to comment 7)

Presumably you are using a variable reference in the sampler to pass in the user name?

Why not just add that to the sampler name, e.g. "Login ${user}"

Great that worked fine. Thanks for the tip - it never occurred to me.

asfimport commented 12 years ago

Colin Jackson (migrated from Bugzilla):

Why not just add that to the sampler name, e.g. "Login ${user}"

The problem with this for me, and also with including a counter variable, is that it forces each action in each thread to be listed separately in the Aggregate Report (as each has a different name, effectively). This pretty much renders the report useless, as I'd have a report with thousands of different summaries.

I really need a way to number these actions per thread, but for it not to be a name change for the action, just a display feature, because of these knock-on effects in Listeners.