Skip to content

Add KeyStroke for start_no_timers (Start no pauses: CRTL+SHIFT+n) - #5792

Merged
milamberspace merged 1 commit into
apache:masterfrom
dgetzlaf:master
Apr 24, 2023
Merged

Add KeyStroke for start_no_timers (Start no pauses: CRTL+SHIFT+n)#5792
milamberspace merged 1 commit into
apache:masterfrom
dgetzlaf:master

Conversation

@dgetzlaf

Copy link
Copy Markdown
Contributor

Description

Add an additional KeyStroke to Start a local test, skipping the Timers.

Motivation and Context

In our daily doing we setup load tests, using Timers.
For faster test preparation, we want to skip timers.

How Has This Been Tested?

./gradlew createDist
./bin/jmeter -t Testplan-with-pauses.jmx

Execute Testplan with Crtl-R
Execute Testplan with Ctrl-Shift-N

Testplan will be executed, skipping the timers

Types of changes

  • New feature (non-breaking change which adds functionality)

@dgetzlaf

Copy link
Copy Markdown
Contributor Author

Also this page needs to be updated afterwards:
https://cwiki.apache.org/confluence/display/JMETER/JMeterShortcuts

public static final KeyStroke OPEN = KeyStroke.getKeyStroke(KeyEvent.VK_O, CONTROL_MASK);
public static final KeyStroke EXIT = KeyStroke.getKeyStroke(KeyEvent.VK_Q, CONTROL_MASK);
public static final KeyStroke ACTION_START = KeyStroke.getKeyStroke(KeyEvent.VK_R, CONTROL_MASK);
public static final KeyStroke ACTION_START_NO_PAUSE = KeyStroke.getKeyStroke(KeyEvent.VK_N, CONTROL_MASK | InputEvent.SHIFT_DOWN_MASK);

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.

Ctrl+Shift+N feels a bit like a command to create something new. But as the menu shortcut uses n already, this seems to be a natural choice here.

@FSchumacher FSchumacher left a comment

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.

Looks good to me.

@dgetzlaf dgetzlaf closed this Apr 24, 2023
@milamberspace

Copy link
Copy Markdown
Contributor

Why close the PR? they aren't merge into main source?

@dgetzlaf dgetzlaf reopened this Apr 24, 2023
@dgetzlaf

Copy link
Copy Markdown
Contributor Author

@milamberspace yes, you are absolutely right!
I do not know what my head was thinking at that moment @.@
I've re-opened this PR..

@milamberspace
milamberspace self-requested a review April 24, 2023 13:56
@milamberspace milamberspace self-assigned this Apr 24, 2023

@milamberspace milamberspace left a comment

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.

LGTM

@milamberspace
milamberspace merged commit f7ff28e into apache:master Apr 24, 2023
@milamberspace milamberspace changed the title Add KeyStroke for start_no_timers (Start no pauses) Add KeyStroke for start_no_timers (Start no pauses: CRTL+SHIFT+n) Apr 24, 2023
asfgit pushed a commit that referenced this pull request Apr 24, 2023
@milamberspace

Copy link
Copy Markdown
Contributor

Also this page needs to be updated afterwards: https://cwiki.apache.org/confluence/display/JMETER/JMeterShortcuts

Done

@vlsi vlsi added this to the 5.6 milestone May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants