Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autoscroll, preferred width and selected sampler name in ViewResultsTree listener #6245

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KingRabbid
Copy link

Description

Add 2 configurable parameters to allow enabling by default the scroll tick in the ViewResultsTree box and also to set the width of the tree to desired value. Parameters are defined in jmeter.properties file.

Motivation and Context

I have to load & run many JMXs per day and every time I have to adjust the tick and the width to a personal preference, it's annoying. Also with various resolutions the width makes sense to have different values than the standard one.

How Has This Been Tested?

Run with multiple values in the .properties file, see the outcome.

Screenshots (if appropriate):

Types of changes

  • New feature

Checklist:

  • My code follows the [code style][style-guide] of this project.
  • I have updated the documentation accordingly.

Copy link
Contributor

@FSchumacher FSchumacher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the comment, it looks good to me.

@@ -263,6 +263,10 @@ public void setupTabPane() {
.append(JMeterUtils
.getResString("view_results_thread_name")) //$NON-NLS-1$
.append(sampleResult.getThreadName()).append(NL);
statsBuff
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be mentioned in the title of this PR. Was this intended to be included?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yes, this was an later add-on. Purpose is: dealing with a long samplers listing in a View Results Tree one can easily lose relation between scroll on left side and selected sampler on right side.
Having the sampler name included can help in tracking between the 2 sources of information.
I will update PR title.

@KingRabbid KingRabbid changed the title Add autoscroll and preferred width in ViewResultsTree listener Add autoscroll, preferred width and selected sampler name in ViewResultsTree listener Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants