In this article, I’ll show you how to use shortcuts/icons in JMeter to increase productivity while creating Test Plan. We have 2 separated section, one for existing shortcuts and one for new shortcuts (available from JMeter 3.0)
1. Shortcuts/Icons:
These shortcuts below work well from JMeter 3.0 on OS Window (if you’re using version 2.13, some of them might not work).
For Mac, just change the Ctrl
key by Command (⌘)
key
Icon | Hot Keys | Menu Path | Description |
---|---|---|---|
![]() |
Create new Test Plan | ||
![]() |
Alt + F + T | File > Templates | Open Templates popup |
![]() |
Ctrl + O | File > Open | Open and import .jmx file |
![]() |
Ctrl + L | File > Close | Close current Test Plan |
![]() |
Ctrl + S | File > Save | Save Test Plan |
![]() |
Ctrl + Shift + S | File > Save Selection As.. | Save only the current component |
![]() |
Edit > Undo | Undo | |
![]() |
Edit > Redo | Redo | |
![]() |
Ctrl + X | Edit > Cut | Cut the component |
![]() |
Ctrl + C | Edit > Copy | Copy the component |
![]() |
Ctrl + V | Edit > Paste | Paste the component |
Ctrl + Shift + C | Menu > Duplicate | Duplicate the component | |
![]() |
Ctrl + Shift + Minus | Options > Collapse All | Expand all components |
![]() |
Ctrl + Minus | Options > Expand All | Collapse all components |
![]() |
Ctrl + T | Edit > Toggle | Enable/Disable component |
![]() |
Ctrl + R | Run > Start | Start the test |
![]() |
Run > Start no pause | Start the test with no pause | |
![]() |
Ctrl + Period | Run > Stop | Stop immediate – threads are killed |
![]() |
Ctrl + Comma | Run > Shutdown | Shutdown means stop gradually – threads exit at next opportunity, ie: when current samplers have finished |
![]() |
Ctrl + Shift + R | Run > Remote Start All | Remote Start All |
![]() |
Alt + A | Run > Remote Stop All | Remote Stop All |
![]() |
Alt + Z | Run > Remote Shutdown All | Remote Shutdown All |
![]() |
Ctrl + Shift + E | Run > Clear | Clear current result |
![]() |
Ctrl + E | Run > Clear All | Clear all results |
![]() |
Ctrl + F | Search > Search | Search text in all Test elements properties |
![]() |
Search > Reset Search | Clear all search results | |
![]() |
Ctrl + Shift + F1 | Options > Function Helper Dialog | Open Function Helper Dialog |
![]() |
Ctrl + H | Help > Help | Show the help for current component |
![]() |
Options > Log Viewer | Show Low Viewer panel | |
Windows: Delete MAC: Fn + Delete |
Edit > Remove | Delete the component | |
Ctrl + Shift + D | Help > Enable Debug | Enable Debug | |
Ctrl + D | Help > Disable Debug | Disable Debug |
2. New shortcuts (from JMeter 3.0):
From JMeter 3.0 we have new hotkeys to add JMeter components (most used elements), will add elements when you press Ctrl+0 .. Ctrl+9 (Command+0 .. Command+9 on Mac).
By default
Ctrl+0=ThreadGroupGui Ctrl+1=HttpTestSampleGui Ctrl+2=RegexExtractorGui Ctrl+3=AssertionGui Ctrl+4=ConstantTimerGui Ctrl+5=TestActionGui Ctrl+6=JSR223PostProcessor Ctrl+7=JSR223PreProcessor Ctrl+8=DebugSampler Ctrl+9=ViewResultsFullVisualizer
These shortcuts is configurable through gui.quick_XXX
properties in jmeter.properties
file (under /JMETER_HOME/bin/ folder):
gui.quick_0=ThreadGroupGui gui.quick_1=HttpTestSampleGui gui.quick_2=RegexExtractorGui gui.quick_3=AssertionGui gui.quick_4=ConstantTimerGui gui.quick_5=TestActionGui gui.quick_6=JSR223PostProcessor gui.quick_7=JSR223PreProcessor gui.quick_8=DebugSampler gui.quick_9=ViewResultsFullVisualizer
You can change them by yourself, just change the position and put the class name of components/element which you are familiar, for example:
gui.quick_0=SummaryReport gui.quick_1=ThreadGroupGui gui.quick_2=HttpTestSampleGui gui.quick_3=ViewResultsFullVisualizer gui.quick_4=JDBCSampler gui.quick_5=JSR223PostProcessor gui.quick_6=JSR223PreProcessor gui.quick_7=DebugSampler gui.quick_8=AssertionGui gui.quick_9=RegexExtractorGui
But how can we know the exactly class name of the other components? Don’t worry, I prepared list of amost JMeter components with the class name, you can refer it for your edit.
(Note: Unfortunately, we cannot add the component/elements from plugins, like jp@gc - Dummy Sample
, or jp@gc - JSON Path Extractor
or anything else from plugins)
Components | Elements | ClassName |
---|---|---|
Thread Groups | Thread Group | ThreadGroupGui |
setUp Thread Group | SetupThreadGroupGui | |
tearDown Thread Group | PostThreadGroupGui | |
Controllers | Critical Section Controller | CriticalSectionControllerGui |
ForEach Controller | ForeachControlPanel | |
If Controller | IfControllerPanel | |
Include Controller | IncludeControllerGui | |
Interleave Controller | InterleaveControlGui | |
Loop Controller | LoopControlPanel | |
Module Controller | ModuleControllerGui | |
Once Only Controller | OnceOnlyControllerGui | |
Random Controller | RandomControlGui | |
Recording Controller | RecordingController | |
Runtime Controller | RunTimeGui | |
Switch Controller | SwitchControllerGui | |
Simple Controller | SimpleConfigGui | |
Throughput Controller | ThroughputControllerGui | |
Transaction Controller | TransactionControllerGui | |
While Controller | WhileControllerGui | |
Config Elements | CSV Data Set Config | CSVDataSet |
FTP Request Defaults | FtpConfigGui | |
DNS Cache Manager | DNSCachePanel | |
HTTP Authorization Manager | AuthPanel | |
HTTP Cache Manager | CacheManagerGui | |
HTTP Cookie Manager | CookiePanel | |
HTTP Request Defaults | HttpDefaultsGui | |
HTTP Header Manager | HeaderPanel | |
Java Request Defaults | JavaConfigGui | |
JDBC Connection Configuration | JDBCDataSource | |
Keystore Configuration | KeystoreConfig | |
Login Config Element | LoginConfigGui | |
LDAP Request Defaults | LdapConfigGui | |
LDAP Extended Request Defaults | LdapExtConfigGui | |
TCP Sampler Config | TCPConfigGui | |
User Defined Variables | ArgumentsPanel | |
Random Variable | RandomVariableConfig | |
Counter | CounterConfigGui | |
Simple Config Element | SimpleConfigGui | |
Timers | Constant Timer | ConstantTimerGui |
Gaussian Random Timer | GaussianRandomTimerGui | |
Uniform Random Timer | UniformRandomTimerGui | |
Constant Throughput Timer | ConstantThroughputTimer | |
Synchronizing Timer | SyncTimer | |
BeanShell Timer | BeanShellTimer | |
BSF Timer | BSFTimer | |
JSR223 Timer | JSR223Timer | |
Poisson Random Timer | PoissonRandomTimerGui | |
PreProcessor | HTML Link Parser | AnchorModifierGui |
HTTP URL Re-writing Modifier | URLRewritingModifierGui | |
User Parameters | UserParametersGui | |
BeanShell PreProcessor | BeanShellPreProcessor | |
BSF PreProcessor | BSFPreProcessor | |
JSR223 PreProcessor | JSR223PreProcessor | |
JDBC PreProcessor | JDBCPreProcessor | |
RegEx User Parameters | RegExUserParametersGui | |
Sample Timeout | SampleTimeoutGui | |
Samplers | FTP Request | FtpTestSamplerGui |
Debug Sampler | DebugSampler | |
HTTP Request | HttpTestSampleGui | |
JDBC Request | JDBCSampler | |
Java Request | JavaTestSamplerGui | |
SOAP/XML-RPC Request | SoapSamplerGui | |
LDAP Request | LdapTestSamplerGui | |
LDAP Extended Request | LdapExtTestSamplerGui | |
Access Log Sampler | AccessLogSampler | |
BeanShell Sampler | BeanShellSamplerGui | |
BSF Sampler | BSFSampler | |
JSR223 Sampler | JSR223Sampler | |
TCP Sampler | TCPSamplerGui | |
JMS Publisher | JMSPublisherGui | |
JMS Subscriber | JMSSubscriberGui | |
JMS Point-to-Point | JMSSamplerGui | |
JUnit Request | JUnitTestSamplerGui | |
Mail Reader Sampler | MailReaderSamplerGui | |
Test Action | TestActionGui | |
SMTP Sampler | SmtpSamplerGui | |
OS Process Sampler | SystemSamplerGui | |
AJP/1.3 Sampler | AjpSamplerGui | |
Postprocessor | Regular Expression Extractor | RegexExtractorGui |
Debug PostProcessor | DebugPostProcessor | |
CSS/JQuery Extractor | HtmlExtractorGui | |
XPath Extractor | XPathExtractorGui | |
Result Status Action Handler | ResultActionGui | |
BeanShell PostProcessor | BeanShellPostProcessor | |
BSF PostProcessor | BSFPostProcessor | |
JSR223 PostProcessor | JSR223PostProcessor | |
JDBC PostProcessor | JDBCPostProcessor | |
JSON Path PostProcessor | JSONPostProcessorGui | |
Assertion | Response Assertion | AssertionGui |
Duration Assertion | DurationAssertionGui | |
Size Assertion | SizeAssertionGui | |
XML Assertion | XMLAssertionGui | |
BeanShell Assertion | BeanShellAssertionGui | |
MD5Hex Assertion | MD5HexAssertionGUI | |
HTML Assertion | HTMLAssertionGui | |
XPath Assertion | XPathAssertionGui | |
XML Schema Assertion | XMLSchemaAssertionGUI | |
BSF Assertion | BSFAssertion | |
JSR223 Assertion | JSR223Assertion | |
Compare Assertion | CompareAssertion | |
SMIME Assertion | SMIMEAssertionGui | |
Listener | Graph Results | GraphVisualizer |
Assertion Results | AssertionVisualizer | |
View Results Tree | ViewResultsFullVisualizer | |
Aggregate Report | StatVisualizer | |
View Results in Table | TableVisualizer | |
Simple Data Writer | SimpleDataWriter | |
Monitor Results | MonitorHealthVisualizer | |
Aggregate Graph | StatGraphVisualizer | |
Response Time Graph | RespTimeGraphVisualizer | |
Mailer Visualizer | MailerVisualizer | |
BeanShell Listener | BeanShellListener | |
Summary Report | SummaryReport | |
Save Responses to a file | ResultSaverGui | |
BSF Listener | BSFListener | |
JSR223 Listener | JSR223Listener | |
Generate Summary Results | SummariserGui | |
Comparison Assertion Visualizer | ComparisonVisualizer | |
Backend Listener | BackendListenerGui |
Fresh about page after throw:
http://isabella.web1.telrock.net
LikeLike
Actually we can add the shortcuts for the plugins too. Just enable the Log level to ALL and add the plugin you need in an empty Thread Group now in the logs you will see the exact name for the plugin
But since its a plugin we need to add the entire namespace
Eg. Dummy Sampler —–> kg.apc.jmeter.samplers.DummySamplerGui
LikeLike
Here is a sample from Logs
DEBUG o.a.j.g.GuiPackage: Gui retrieved = org.apache.jmeter.threads.gui.ThreadGroupGui
LikeLike