Skip to content

Add autoscroll, autoscroll stop on 1st failed, preferred width and goto selected sampler name in ViewResultsTree listener#6245

Open
KingRabbid wants to merge 5 commits intoapache:masterfrom
KingRabbid:VRFV-enhancements
Open

Add autoscroll, autoscroll stop on 1st failed, preferred width and goto selected sampler name in ViewResultsTree listener#6245
KingRabbid wants to merge 5 commits intoapache:masterfrom
KingRabbid:VRFV-enhancements

Conversation

@KingRabbid
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

.append(JMeterUtils
.getResString("view_results_thread_name")) //$NON-NLS-1$
.append(sampleResult.getThreadName()).append(NL);
statsBuff
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

More changes included

@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
@KingRabbid KingRabbid changed the title Add autoscroll, preferred width and selected sampler name in ViewResultsTree listener Add autoscroll, autoscroll stop on 1st failed, preferred width and goto selected sampler name in ViewResultsTree listener Oct 22, 2025
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