You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by Andrey Pokhilko <ap...@ya.ru> on 2015/06/02 12:46:08 UTC
Re: Component adding hotkeys
Hi,
I fixed issue with Ctrl+9, changed defaults slightly, added doc and
bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
If there are no objections, I will commit this change within 24 hours.
Andrey Pokhilko
On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
> Hi,
> I think it's a nice idea, we have same the same feedback.
>
> For me it should be in core once linux issue is fixed, what about tested
> platforms:
> - Windows 8? 7 ?
> - Linux
> - Mac OSX ? which os ?
>
> Regarding other questions, answers inline.
>
> Regards
> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>
>> Hi,
>>
>> I have colleagues that do heavy JMeter scripting and they come with idea
>> to speed-up the process: have hotkeys to add JMeter components to test
>> plan. Using a hotkey eliminates the need to walk through context menus.
>> As always, Pareto principle states that 80% of a time people use 20% of
>> components, so small set of hotkeys would cover most of situations.
>>
>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set, with
>> components configurable through properties. Components are added as a
>> child of current position, if possible, or a sibling at the nearest
>> possible scope. I provided my colleagues with patched JMeter and they
>> found the feature working smoothly.
>>
>> Pull request for easy review is here:
>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla for
>> this when needed.
>>
>> As always I ask if other committers support adding this into main JMeter
>> codebase or not.
>>
>> Some notes/questions from my side:
>>
>> * Where is appropriate place in the docs to document this feature?
> Somewhere where Search Feature and templates are documented
>
>
>
>> * Are defaults good? What are most used JMeter components?
>
> I would remove or put them at end:
> View Results Tree
> User Defined Variables
> Test Fragment
>
> as although popular you rarely add more than 2 or 3.
>
> I would add :
> - Css/JQuery extractor
> - Jsr223 Post processor
> - Test Action for the timer discussion we had
> - JSR223 Pre processir
> -Debug Sampler
>
>
>
>> * Is there a way to specify component names in properties instead of
>> classes?
>
> There are name shortcuts in saveservice.properties
>
>
>
>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>> somebody knows why.
>>
>> --
>> Andrey Pokhilko
>>
>>
Re: Component adding hotkeys
Posted by Felix Schumacher <fe...@internetallee.de>.
Am 07.06.2015 um 11:46 schrieb Milamber:
>
>
> On 07/06/2015 07:52, Andrey Pokhilko wrote:
>> Sounds strange, as I tested them properly working on colleague's Mac
>> with wireless keyboard and mine KUbuntu Linux 14.04.
>
> for Linux, probably a behavior of Gnome. I play with your code for
> quick key by adding some logs/debug, on my gnome, not possible to
> catch the Ctrl+number (or ctrl+shift-number).
On my ubuntu 14.04 LTS with gnome 3.10.1 the keys ctrl+0 to ctrl+9 are
working fine. This is on a laptop with a german qwertz layout. (The
keypad on the right side is not working, nor did I expect it to work)
I used oracle java 1.7.0.80.
Regards
Felix
>
> If I change the keystroke Crtl+0 to Ctrl+U (example), the code catch
> the shortcut, but the algorithm don't works (tweak on the string
> gui.quick_X)
>
>
> Log with tail -f jmeter.log
> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
> through property: gui.quick_
> ==> The last char is the code "0015" (display on my terminal a box
> with small number 0015)
>
> Log view with "less" command;
> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
> through property: gui.quick_^U
> ==> seems meaning Ctrl+U I think
>
>
>
>>
>> Andrey Pokhilko
>>
>> On 06/06/2015 10:20 AM, Milamber wrote:
>>> On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
>>> Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
>>> French Azerty keyboard the number are available with Shift+X)
>>>
>>> On 05/06/2015 22:06, Philippe Mouawad wrote:
>>>> Hello,
>>>> I started testing this evening and I have an issue, on Mac Book pro
>>>> there
>>>> is no numeric keypad.
>>>> So I had to change the properties to this and it works:
>>>> gui.quick_à=ThreadGroupGui
>>>> gui.quick_&=HttpTestSampleGui
>>>> gui.quick_é=RegexExtractorGui
>>>> gui.quick_"=AssertionGui
>>>> gui.quick_'=ConstantTimerGui
>>>> gui.quick_(=TestActionGui
>>>> gui.quick_§=JSR223PostProcessor
>>>> gui.quick_è=JSR223PreProcessor
>>>> gui.quick_!=DebugSampler
>>>> gui.quick_ç=ViewResultsFullVisualizer
>>>>
>>>>
>>>> Is there a better way on Mac Book Pro ?
>>>> Regards
>>>>
>>>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>>>
>>>>> "Most used" depends on every user. I believe first keys 1-5 will be
>>>>> most
>>>>> used and we already set them fine. I have just committed it into
>>>>> SVN, it
>>>>> is your right to change everything as you see it :) I set it like I
>>>>> see it.
>>>>>
>>>>> Andrey Pokhilko
>>>>>
>>>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>
>>>>>>> Not having a Thread Group in hotkeys disbles "fluent start",
>>>>>>> when you
>>>>>>> just opened JMeter and immediately start building Test Plan with
>>>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>>>>>>> is the
>>>>>>> most rightsided key, that reflects rarity of usage.
>>>>>>>
>>>>>> Agreed
>>>>>>
>>>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>>>> because you need them not frequently, but always urgently when you
>>>>>>> want
>>>>>>> to troubleshoot your script and instant usage will gratify hurrying
>>>>> user.
>>>>>> But not having CSS/JQuery extractor is not a good thing, In our
>>>>>> scripting
>>>>>> experience it is among the top 5 elements used.
>>>>>> Although new element it is great for html extraction and makes
>>>>>> tests more
>>>>>> maintainable
>>>>>>
>>>>>>> Finally, user can always set up his preferred keys to reflect his
>>>>>>> style
>>>>>>> of usage.
>>>>>>>
>>>>>> But hotkeys should reflect most used components.
>>>>>>
>>>>>>> Andrey Pokhilko
>>>>>>>
>>>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad
>>>>>>>> <philippe.mouawad@gmail.com
>>>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>>
>>>>>>> wrote:
>>>>>>>>> Hi,
>>>>>>>>> Thanks for taking into account some notes.
>>>>>>>>>
>>>>>>>>> 1/ I would put these defaults:
>>>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>>>> Although that is needed for every test, often only one is needed.
>>>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>>>
>>>>>>>> Maybe a ThreadGroup should be automatically added to a new test
>>>>>>>> plan.
>>>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>>>> Listener at plan level), and make that the default.
>>>>>>>>
>>>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>>>> gui.quick_4=AssertionGui
>>>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>>>> gui.quick_7=TestActionGui
>>>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>>>> ViewResultsTree.
>>>>>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>>>>>>> needed.
>>>>>>>>> 2/ Is it a good thing to try to add element somewhere in the
>>>>>>>>> tree
>>>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>>>>>>>>>> and
>>>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>>>
>>>>>>>>>> If there are no objections, I will commit this change within 24
>>>>> hours.
>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>
>>>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>>>
>>>>>>>>>>> For me it should be in core once linux issue is fixed, what
>>>>>>>>>>> about
>>>>>>> tested
>>>>>>>>>>> platforms:
>>>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>>>> - Linux
>>>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>>>
>>>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they
>>>>>>>>>>>> come with
>>>>>>> idea
>>>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter
>>>>>>>>>>>> components to
>>>>>>> test
>>>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through
>>>>>>>>>>>> context
>>>>>>> menus.
>>>>>>>>>>>> As always, Pareto principle states that 80% of a time
>>>>>>>>>>>> people use
>>>>> 20%
>>>>>>> of
>>>>>>>>>>>> components, so small set of hotkeys would cover most of
>>>>>>>>>>>> situations.
>>>>>>>>>>>>
>>>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey
>>>>>>>>>>>> set,
>>>>> with
>>>>>>>>>>>> components configurable through properties. Components are
>>>>>>>>>>>> added
>>>>> as a
>>>>>>>>>>>> child of current position, if possible, or a sibling at the
>>>>>>>>>>>> nearest
>>>>>>>>>>>> possible scope. I provided my colleagues with patched
>>>>>>>>>>>> JMeter and
>>>>> they
>>>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>>>
>>>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>>>>>>>>>>>> bugzilla
>>>>>>> for
>>>>>>>>>>>> this when needed.
>>>>>>>>>>>>
>>>>>>>>>>>> As always I ask if other committers support adding this into
>>>>>>>>>>>> main
>>>>>>> JMeter
>>>>>>>>>>>> codebase or not.
>>>>>>>>>>>>
>>>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>>>
>>>>>>>>>>>> * Where is appropriate place in the docs to document this
>>>>> feature?
>>>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>>>>>>> I would remove or put them at end:
>>>>>>>>>>> View Results Tree
>>>>>>>>>>> User Defined Variables
>>>>>>>>>>> Test Fragment
>>>>>>>>>>>
>>>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>>>
>>>>>>>>>>> I would add :
>>>>>>>>>>> - Css/JQuery extractor
>>>>>>>>>>> - Jsr223 Post processor
>>>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>>>> - JSR223 Pre processir
>>>>>>>>>>> -Debug Sampler
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> * Is there a way to specify component names in properties
>>>>>>>>>>>> instead
>>>>>>> of
>>>>>>>>>>>> classes?
>>>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>>>>>>>>>>>> wonder if
>>>>>>>>>>>> somebody knows why.
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Cordialement.
>>>>>>>>> Philippe Mouawad.
>>
>
Re: Component adding hotkeys
Posted by Andrey Pokhilko <ap...@ya.ru>.
I did not think of this feature to be used with numeric keyboard, I
planned it to be used with regular number keys above QWERTY keys. Do you
use those keys? Numeric keyboard is indeed not consistent over different
stations and we should not rely on it.
Andrey Pokhilko
On 06/07/2015 01:20 PM, Milamber wrote:
>
> In addition, some tests on Windows 7 (VM in my virtualbox on my Linux).
>
> The shortcut works: 1, 2, 3, 4, 5, not 6, 7, 8, not 9, not 0
>
> 2015/06/07 11:12:38 INFO - jmeter.gui.MainFrame: Event gui.quick_1:
> HttpTestSampleGui
> 2015/06/07 11:12:39 INFO - jmeter.gui.MainFrame: Event gui.quick_2:
> RegexExtractorGui
> 2015/06/07 11:12:40 INFO - jmeter.gui.MainFrame: Event gui.quick_3:
> AssertionGui
> 2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_4:
> ConstantTimerGui
> 2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_5:
> TestActionGui
> <== missing 6 (I think that is an issue with the Collapse shortcut
> (Ctrl+- : on FR Keybord, the minus is the same touch than the number 6
> (shift+- ==> 6)
> 2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_7:
> JSR223PreProcessor
> 2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
> DebugSampler
> 2015/06/07 11:12:45 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
> DebugSampler
> 2015/06/07 11:12:46 INFO - jmeter.gui.MainFrame: Event
> gui.quick_null: null <==== 9
> 2015/06/07 11:12:46 WARN - jmeter.gui.MainFrame: No component set
> through property: gui.quick_null
> 2015/06/07 11:13:00 INFO - jmeter.gui.MainFrame: Event
> gui.quick_null: null <==== 0
>
> Note, for this tests, I don't use Ctrl+Shift+number (don't work), I
> need enable CapsLocks, and after Ctrl+number... not very friendly.
>
>
>
> On 07/06/2015 10:46, Milamber wrote:
>>
>>
>> On 07/06/2015 07:52, Andrey Pokhilko wrote:
>>> Sounds strange, as I tested them properly working on colleague's Mac
>>> with wireless keyboard and mine KUbuntu Linux 14.04.
>>
>> for Linux, probably a behavior of Gnome. I play with your code for
>> quick key by adding some logs/debug, on my gnome, not possible to
>> catch the Ctrl+number (or ctrl+shift-number).
>>
>> If I change the keystroke Crtl+0 to Ctrl+U (example), the code catch
>> the shortcut, but the algorithm don't works (tweak on the string
>> gui.quick_X)
>>
>>
>> Log with tail -f jmeter.log
>> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
>> through property: gui.quick_
>> ==> The last char is the code "0015" (display on my terminal a box
>> with small number 0015)
>>
>> Log view with "less" command;
>> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
>> through property: gui.quick_^U
>> ==> seems meaning Ctrl+U I think
>>
>>
>>
>>>
>>> Andrey Pokhilko
>>>
>>> On 06/06/2015 10:20 AM, Milamber wrote:
>>>> On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
>>>> Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
>>>> French Azerty keyboard the number are available with Shift+X)
>>>>
>>>> On 05/06/2015 22:06, Philippe Mouawad wrote:
>>>>> Hello,
>>>>> I started testing this evening and I have an issue, on Mac Book pro
>>>>> there
>>>>> is no numeric keypad.
>>>>> So I had to change the properties to this and it works:
>>>>> gui.quick_à=ThreadGroupGui
>>>>> gui.quick_&=HttpTestSampleGui
>>>>> gui.quick_é=RegexExtractorGui
>>>>> gui.quick_"=AssertionGui
>>>>> gui.quick_'=ConstantTimerGui
>>>>> gui.quick_(=TestActionGui
>>>>> gui.quick_§=JSR223PostProcessor
>>>>> gui.quick_è=JSR223PreProcessor
>>>>> gui.quick_!=DebugSampler
>>>>> gui.quick_ç=ViewResultsFullVisualizer
>>>>>
>>>>>
>>>>> Is there a better way on Mac Book Pro ?
>>>>> Regards
>>>>>
>>>>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>>>>
>>>>>> "Most used" depends on every user. I believe first keys 1-5 will be
>>>>>> most
>>>>>> used and we already set them fine. I have just committed it into
>>>>>> SVN, it
>>>>>> is your right to change everything as you see it :) I set it like I
>>>>>> see it.
>>>>>>
>>>>>> Andrey Pokhilko
>>>>>>
>>>>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>
>>>>>>>> Not having a Thread Group in hotkeys disbles "fluent start",
>>>>>>>> when you
>>>>>>>> just opened JMeter and immediately start building Test Plan with
>>>>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>>>>>>>> is the
>>>>>>>> most rightsided key, that reflects rarity of usage.
>>>>>>>>
>>>>>>> Agreed
>>>>>>>
>>>>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>>>>> because you need them not frequently, but always urgently when you
>>>>>>>> want
>>>>>>>> to troubleshoot your script and instant usage will gratify
>>>>>>>> hurrying
>>>>>> user.
>>>>>>> But not having CSS/JQuery extractor is not a good thing, In our
>>>>>>> scripting
>>>>>>> experience it is among the top 5 elements used.
>>>>>>> Although new element it is great for html extraction and makes
>>>>>>> tests more
>>>>>>> maintainable
>>>>>>>
>>>>>>>> Finally, user can always set up his preferred keys to reflect his
>>>>>>>> style
>>>>>>>> of usage.
>>>>>>>>
>>>>>>> But hotkeys should reflect most used components.
>>>>>>>
>>>>>>>> Andrey Pokhilko
>>>>>>>>
>>>>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad
>>>>>>>>> <philippe.mouawad@gmail.com
>>>>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>>
>>>>>>>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>> Thanks for taking into account some notes.
>>>>>>>>>>
>>>>>>>>>> 1/ I would put these defaults:
>>>>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>>>>> Although that is needed for every test, often only one is needed.
>>>>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>>>>
>>>>>>>>> Maybe a ThreadGroup should be automatically added to a new test
>>>>>>>>> plan.
>>>>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>>>>> Listener at plan level), and make that the default.
>>>>>>>>>
>>>>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>>>>> gui.quick_4=AssertionGui
>>>>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>>>>> gui.quick_7=TestActionGui
>>>>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>>>>> ViewResultsTree.
>>>>>>>>> I tend to use ViewResultsTree a lot, but again usually only
>>>>>>>>> one is
>>>>>>>> needed.
>>>>>>>>>> 2/ Is it a good thing to try to add element somewhere in the
>>>>>>>>>> tree
>>>>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>>>>>>>>>>> and
>>>>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>>>>
>>>>>>>>>>> If there are no objections, I will commit this change within 24
>>>>>> hours.
>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>
>>>>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>>>>
>>>>>>>>>>>> For me it should be in core once linux issue is fixed, what
>>>>>>>>>>>> about
>>>>>>>> tested
>>>>>>>>>>>> platforms:
>>>>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>>>>> - Linux
>>>>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>>>>
>>>>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards
>>>>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they
>>>>>>>>>>>>> come with
>>>>>>>> idea
>>>>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter
>>>>>>>>>>>>> components to
>>>>>>>> test
>>>>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through
>>>>>>>>>>>>> context
>>>>>>>> menus.
>>>>>>>>>>>>> As always, Pareto principle states that 80% of a time
>>>>>>>>>>>>> people use
>>>>>> 20%
>>>>>>>> of
>>>>>>>>>>>>> components, so small set of hotkeys would cover most of
>>>>>>>>>>>>> situations.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey
>>>>>>>>>>>>> set,
>>>>>> with
>>>>>>>>>>>>> components configurable through properties. Components are
>>>>>>>>>>>>> added
>>>>>> as a
>>>>>>>>>>>>> child of current position, if possible, or a sibling at the
>>>>>>>>>>>>> nearest
>>>>>>>>>>>>> possible scope. I provided my colleagues with patched
>>>>>>>>>>>>> JMeter and
>>>>>> they
>>>>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>>>>>>>>>>>>> bugzilla
>>>>>>>> for
>>>>>>>>>>>>> this when needed.
>>>>>>>>>>>>>
>>>>>>>>>>>>> As always I ask if other committers support adding this into
>>>>>>>>>>>>> main
>>>>>>>> JMeter
>>>>>>>>>>>>> codebase or not.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>>>>
>>>>>>>>>>>>> * Where is appropriate place in the docs to document this
>>>>>> feature?
>>>>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> * Are defaults good? What are most used JMeter
>>>>>>>>>>>>> components?
>>>>>>>>>>>> I would remove or put them at end:
>>>>>>>>>>>> View Results Tree
>>>>>>>>>>>> User Defined Variables
>>>>>>>>>>>> Test Fragment
>>>>>>>>>>>>
>>>>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>>>>
>>>>>>>>>>>> I would add :
>>>>>>>>>>>> - Css/JQuery extractor
>>>>>>>>>>>> - Jsr223 Post processor
>>>>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>>>>> - JSR223 Pre processir
>>>>>>>>>>>> -Debug Sampler
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> * Is there a way to specify component names in properties
>>>>>>>>>>>>> instead
>>>>>>>> of
>>>>>>>>>>>>> classes?
>>>>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>>>>>>>>>>>>> wonder if
>>>>>>>>>>>>> somebody knows why.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Cordialement.
>>>>>>>>>> Philippe Mouawad.
>>>
>>
>>
>
Re: Component adding hotkeys
Posted by Milamber <mi...@apache.org>.
On 07/06/2015 11:33, Andrey Pokhilko wrote:
> I did not think of this feature to be used with numeric keyboard, I
> planned it to be used with regular number keys above QWERTY keys. Do you
> use those keys? Numeric keyboard is indeed not consistent over different
> stations.
My tests are only with the numeric touch above the alpha touches. (My
computer is a laptop without number keyboard at right)
>
> Andrey Pokhilko
>
> On 06/07/2015 01:20 PM, Milamber wrote:
>> In addition, some tests on Windows 7 (VM in my virtualbox on my Linux).
>>
>> The shortcut works: 1, 2, 3, 4, 5, not 6, 7, 8, not 9, not 0
>>
>> 2015/06/07 11:12:38 INFO - jmeter.gui.MainFrame: Event gui.quick_1:
>> HttpTestSampleGui
>> 2015/06/07 11:12:39 INFO - jmeter.gui.MainFrame: Event gui.quick_2:
>> RegexExtractorGui
>> 2015/06/07 11:12:40 INFO - jmeter.gui.MainFrame: Event gui.quick_3:
>> AssertionGui
>> 2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_4:
>> ConstantTimerGui
>> 2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_5:
>> TestActionGui
>> <== missing 6 (I think that is an issue with the Collapse shortcut
>> (Ctrl+- : on FR Keybord, the minus is the same touch than the number 6
>> (shift+- ==> 6)
>> 2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_7:
>> JSR223PreProcessor
>> 2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
>> DebugSampler
>> 2015/06/07 11:12:45 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
>> DebugSampler
>> 2015/06/07 11:12:46 INFO - jmeter.gui.MainFrame: Event
>> gui.quick_null: null <==== 9
>> 2015/06/07 11:12:46 WARN - jmeter.gui.MainFrame: No component set
>> through property: gui.quick_null
>> 2015/06/07 11:13:00 INFO - jmeter.gui.MainFrame: Event
>> gui.quick_null: null <==== 0
>>
>> Note, for this tests, I don't use Ctrl+Shift+number (don't work), I
>> need enable CapsLocks, and after Ctrl+number... not very friendly.
>>
>>
>>
>> On 07/06/2015 10:46, Milamber wrote:
>>>
>>> On 07/06/2015 07:52, Andrey Pokhilko wrote:
>>>> Sounds strange, as I tested them properly working on colleague's Mac
>>>> with wireless keyboard and mine KUbuntu Linux 14.04.
>>> for Linux, probably a behavior of Gnome. I play with your code for
>>> quick key by adding some logs/debug, on my gnome, not possible to
>>> catch the Ctrl+number (or ctrl+shift-number).
>>>
>>> If I change the keystroke Crtl+0 to Ctrl+U (example), the code catch
>>> the shortcut, but the algorithm don't works (tweak on the string
>>> gui.quick_X)
>>>
>>>
>>> Log with tail -f jmeter.log
>>> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
>>> through property: gui.quick_
>>> ==> The last char is the code "0015" (display on my terminal a box
>>> with small number 0015)
>>>
>>> Log view with "less" command;
>>> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
>>> through property: gui.quick_^U
>>> ==> seems meaning Ctrl+U I think
>>>
>>>
>>>
>>>> Andrey Pokhilko
>>>>
>>>> On 06/06/2015 10:20 AM, Milamber wrote:
>>>>> On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
>>>>> Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
>>>>> French Azerty keyboard the number are available with Shift+X)
>>>>>
>>>>> On 05/06/2015 22:06, Philippe Mouawad wrote:
>>>>>> Hello,
>>>>>> I started testing this evening and I have an issue, on Mac Book pro
>>>>>> there
>>>>>> is no numeric keypad.
>>>>>> So I had to change the properties to this and it works:
>>>>>> gui.quick_à=ThreadGroupGui
>>>>>> gui.quick_&=HttpTestSampleGui
>>>>>> gui.quick_é=RegexExtractorGui
>>>>>> gui.quick_"=AssertionGui
>>>>>> gui.quick_'=ConstantTimerGui
>>>>>> gui.quick_(=TestActionGui
>>>>>> gui.quick_§=JSR223PostProcessor
>>>>>> gui.quick_è=JSR223PreProcessor
>>>>>> gui.quick_!=DebugSampler
>>>>>> gui.quick_ç=ViewResultsFullVisualizer
>>>>>>
>>>>>>
>>>>>> Is there a better way on Mac Book Pro ?
>>>>>> Regards
>>>>>>
>>>>>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>>>>>
>>>>>>> "Most used" depends on every user. I believe first keys 1-5 will be
>>>>>>> most
>>>>>>> used and we already set them fine. I have just committed it into
>>>>>>> SVN, it
>>>>>>> is your right to change everything as you see it :) I set it like I
>>>>>>> see it.
>>>>>>>
>>>>>>> Andrey Pokhilko
>>>>>>>
>>>>>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>>>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>>
>>>>>>>>> Not having a Thread Group in hotkeys disbles "fluent start",
>>>>>>>>> when you
>>>>>>>>> just opened JMeter and immediately start building Test Plan with
>>>>>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>>>>>>>>> is the
>>>>>>>>> most rightsided key, that reflects rarity of usage.
>>>>>>>>>
>>>>>>>> Agreed
>>>>>>>>
>>>>>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>>>>>> because you need them not frequently, but always urgently when you
>>>>>>>>> want
>>>>>>>>> to troubleshoot your script and instant usage will gratify
>>>>>>>>> hurrying
>>>>>>> user.
>>>>>>>> But not having CSS/JQuery extractor is not a good thing, In our
>>>>>>>> scripting
>>>>>>>> experience it is among the top 5 elements used.
>>>>>>>> Although new element it is great for html extraction and makes
>>>>>>>> tests more
>>>>>>>> maintainable
>>>>>>>>
>>>>>>>>> Finally, user can always set up his preferred keys to reflect his
>>>>>>>>> style
>>>>>>>>> of usage.
>>>>>>>>>
>>>>>>>> But hotkeys should reflect most used components.
>>>>>>>>
>>>>>>>>> Andrey Pokhilko
>>>>>>>>>
>>>>>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad
>>>>>>>>>> <philippe.mouawad@gmail.com
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>>
>>>>>>>>> wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>> Thanks for taking into account some notes.
>>>>>>>>>>>
>>>>>>>>>>> 1/ I would put these defaults:
>>>>>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>>>>>> Although that is needed for every test, often only one is needed.
>>>>>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>>>>>
>>>>>>>>>> Maybe a ThreadGroup should be automatically added to a new test
>>>>>>>>>> plan.
>>>>>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>>>>>> Listener at plan level), and make that the default.
>>>>>>>>>>
>>>>>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>>>>>> gui.quick_4=AssertionGui
>>>>>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>>>>>> gui.quick_7=TestActionGui
>>>>>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>>>>>> ViewResultsTree.
>>>>>>>>>> I tend to use ViewResultsTree a lot, but again usually only
>>>>>>>>>> one is
>>>>>>>>> needed.
>>>>>>>>>>> 2/ Is it a good thing to try to add element somewhere in the
>>>>>>>>>>> tree
>>>>>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>>>>>>>>>>>> and
>>>>>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>>>>>
>>>>>>>>>>>> If there are no objections, I will commit this change within 24
>>>>>>> hours.
>>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>>
>>>>>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>>>>>
>>>>>>>>>>>>> For me it should be in core once linux issue is fixed, what
>>>>>>>>>>>>> about
>>>>>>>>> tested
>>>>>>>>>>>>> platforms:
>>>>>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>>>>>> - Linux
>>>>>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Regards
>>>>>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they
>>>>>>>>>>>>>> come with
>>>>>>>>> idea
>>>>>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter
>>>>>>>>>>>>>> components to
>>>>>>>>> test
>>>>>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through
>>>>>>>>>>>>>> context
>>>>>>>>> menus.
>>>>>>>>>>>>>> As always, Pareto principle states that 80% of a time
>>>>>>>>>>>>>> people use
>>>>>>> 20%
>>>>>>>>> of
>>>>>>>>>>>>>> components, so small set of hotkeys would cover most of
>>>>>>>>>>>>>> situations.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey
>>>>>>>>>>>>>> set,
>>>>>>> with
>>>>>>>>>>>>>> components configurable through properties. Components are
>>>>>>>>>>>>>> added
>>>>>>> as a
>>>>>>>>>>>>>> child of current position, if possible, or a sibling at the
>>>>>>>>>>>>>> nearest
>>>>>>>>>>>>>> possible scope. I provided my colleagues with patched
>>>>>>>>>>>>>> JMeter and
>>>>>>> they
>>>>>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>>>>>>>>>>>>>> bugzilla
>>>>>>>>> for
>>>>>>>>>>>>>> this when needed.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> As always I ask if other committers support adding this into
>>>>>>>>>>>>>> main
>>>>>>>>> JMeter
>>>>>>>>>>>>>> codebase or not.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> * Where is appropriate place in the docs to document this
>>>>>>> feature?
>>>>>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> * Are defaults good? What are most used JMeter
>>>>>>>>>>>>>> components?
>>>>>>>>>>>>> I would remove or put them at end:
>>>>>>>>>>>>> View Results Tree
>>>>>>>>>>>>> User Defined Variables
>>>>>>>>>>>>> Test Fragment
>>>>>>>>>>>>>
>>>>>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I would add :
>>>>>>>>>>>>> - Css/JQuery extractor
>>>>>>>>>>>>> - Jsr223 Post processor
>>>>>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>>>>>> - JSR223 Pre processir
>>>>>>>>>>>>> -Debug Sampler
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> * Is there a way to specify component names in properties
>>>>>>>>>>>>>> instead
>>>>>>>>> of
>>>>>>>>>>>>>> classes?
>>>>>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>>>>>>>>>>>>>> wonder if
>>>>>>>>>>>>>> somebody knows why.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Cordialement.
>>>>>>>>>>> Philippe Mouawad.
>>>
>
Re: Component adding hotkeys
Posted by Andrey Pokhilko <ap...@ya.ru>.
I did not think of this feature to be used with numeric keyboard, I
planned it to be used with regular number keys above QWERTY keys. Do you
use those keys? Numeric keyboard is indeed not consistent over different
stations.
Andrey Pokhilko
On 06/07/2015 01:20 PM, Milamber wrote:
>
> In addition, some tests on Windows 7 (VM in my virtualbox on my Linux).
>
> The shortcut works: 1, 2, 3, 4, 5, not 6, 7, 8, not 9, not 0
>
> 2015/06/07 11:12:38 INFO - jmeter.gui.MainFrame: Event gui.quick_1:
> HttpTestSampleGui
> 2015/06/07 11:12:39 INFO - jmeter.gui.MainFrame: Event gui.quick_2:
> RegexExtractorGui
> 2015/06/07 11:12:40 INFO - jmeter.gui.MainFrame: Event gui.quick_3:
> AssertionGui
> 2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_4:
> ConstantTimerGui
> 2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_5:
> TestActionGui
> <== missing 6 (I think that is an issue with the Collapse shortcut
> (Ctrl+- : on FR Keybord, the minus is the same touch than the number 6
> (shift+- ==> 6)
> 2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_7:
> JSR223PreProcessor
> 2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
> DebugSampler
> 2015/06/07 11:12:45 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
> DebugSampler
> 2015/06/07 11:12:46 INFO - jmeter.gui.MainFrame: Event
> gui.quick_null: null <==== 9
> 2015/06/07 11:12:46 WARN - jmeter.gui.MainFrame: No component set
> through property: gui.quick_null
> 2015/06/07 11:13:00 INFO - jmeter.gui.MainFrame: Event
> gui.quick_null: null <==== 0
>
> Note, for this tests, I don't use Ctrl+Shift+number (don't work), I
> need enable CapsLocks, and after Ctrl+number... not very friendly.
>
>
>
> On 07/06/2015 10:46, Milamber wrote:
>>
>>
>> On 07/06/2015 07:52, Andrey Pokhilko wrote:
>>> Sounds strange, as I tested them properly working on colleague's Mac
>>> with wireless keyboard and mine KUbuntu Linux 14.04.
>>
>> for Linux, probably a behavior of Gnome. I play with your code for
>> quick key by adding some logs/debug, on my gnome, not possible to
>> catch the Ctrl+number (or ctrl+shift-number).
>>
>> If I change the keystroke Crtl+0 to Ctrl+U (example), the code catch
>> the shortcut, but the algorithm don't works (tweak on the string
>> gui.quick_X)
>>
>>
>> Log with tail -f jmeter.log
>> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
>> through property: gui.quick_
>> ==> The last char is the code "0015" (display on my terminal a box
>> with small number 0015)
>>
>> Log view with "less" command;
>> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
>> through property: gui.quick_^U
>> ==> seems meaning Ctrl+U I think
>>
>>
>>
>>>
>>> Andrey Pokhilko
>>>
>>> On 06/06/2015 10:20 AM, Milamber wrote:
>>>> On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
>>>> Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
>>>> French Azerty keyboard the number are available with Shift+X)
>>>>
>>>> On 05/06/2015 22:06, Philippe Mouawad wrote:
>>>>> Hello,
>>>>> I started testing this evening and I have an issue, on Mac Book pro
>>>>> there
>>>>> is no numeric keypad.
>>>>> So I had to change the properties to this and it works:
>>>>> gui.quick_à=ThreadGroupGui
>>>>> gui.quick_&=HttpTestSampleGui
>>>>> gui.quick_é=RegexExtractorGui
>>>>> gui.quick_"=AssertionGui
>>>>> gui.quick_'=ConstantTimerGui
>>>>> gui.quick_(=TestActionGui
>>>>> gui.quick_§=JSR223PostProcessor
>>>>> gui.quick_è=JSR223PreProcessor
>>>>> gui.quick_!=DebugSampler
>>>>> gui.quick_ç=ViewResultsFullVisualizer
>>>>>
>>>>>
>>>>> Is there a better way on Mac Book Pro ?
>>>>> Regards
>>>>>
>>>>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>>>>
>>>>>> "Most used" depends on every user. I believe first keys 1-5 will be
>>>>>> most
>>>>>> used and we already set them fine. I have just committed it into
>>>>>> SVN, it
>>>>>> is your right to change everything as you see it :) I set it like I
>>>>>> see it.
>>>>>>
>>>>>> Andrey Pokhilko
>>>>>>
>>>>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>
>>>>>>>> Not having a Thread Group in hotkeys disbles "fluent start",
>>>>>>>> when you
>>>>>>>> just opened JMeter and immediately start building Test Plan with
>>>>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>>>>>>>> is the
>>>>>>>> most rightsided key, that reflects rarity of usage.
>>>>>>>>
>>>>>>> Agreed
>>>>>>>
>>>>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>>>>> because you need them not frequently, but always urgently when you
>>>>>>>> want
>>>>>>>> to troubleshoot your script and instant usage will gratify
>>>>>>>> hurrying
>>>>>> user.
>>>>>>> But not having CSS/JQuery extractor is not a good thing, In our
>>>>>>> scripting
>>>>>>> experience it is among the top 5 elements used.
>>>>>>> Although new element it is great for html extraction and makes
>>>>>>> tests more
>>>>>>> maintainable
>>>>>>>
>>>>>>>> Finally, user can always set up his preferred keys to reflect his
>>>>>>>> style
>>>>>>>> of usage.
>>>>>>>>
>>>>>>> But hotkeys should reflect most used components.
>>>>>>>
>>>>>>>> Andrey Pokhilko
>>>>>>>>
>>>>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad
>>>>>>>>> <philippe.mouawad@gmail.com
>>>>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>>
>>>>>>>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>> Thanks for taking into account some notes.
>>>>>>>>>>
>>>>>>>>>> 1/ I would put these defaults:
>>>>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>>>>> Although that is needed for every test, often only one is needed.
>>>>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>>>>
>>>>>>>>> Maybe a ThreadGroup should be automatically added to a new test
>>>>>>>>> plan.
>>>>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>>>>> Listener at plan level), and make that the default.
>>>>>>>>>
>>>>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>>>>> gui.quick_4=AssertionGui
>>>>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>>>>> gui.quick_7=TestActionGui
>>>>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>>>>> ViewResultsTree.
>>>>>>>>> I tend to use ViewResultsTree a lot, but again usually only
>>>>>>>>> one is
>>>>>>>> needed.
>>>>>>>>>> 2/ Is it a good thing to try to add element somewhere in the
>>>>>>>>>> tree
>>>>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>>>>>>>>>>> and
>>>>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>>>>
>>>>>>>>>>> If there are no objections, I will commit this change within 24
>>>>>> hours.
>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>
>>>>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>>>>
>>>>>>>>>>>> For me it should be in core once linux issue is fixed, what
>>>>>>>>>>>> about
>>>>>>>> tested
>>>>>>>>>>>> platforms:
>>>>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>>>>> - Linux
>>>>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>>>>
>>>>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>>>>
>>>>>>>>>>>> Regards
>>>>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they
>>>>>>>>>>>>> come with
>>>>>>>> idea
>>>>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter
>>>>>>>>>>>>> components to
>>>>>>>> test
>>>>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through
>>>>>>>>>>>>> context
>>>>>>>> menus.
>>>>>>>>>>>>> As always, Pareto principle states that 80% of a time
>>>>>>>>>>>>> people use
>>>>>> 20%
>>>>>>>> of
>>>>>>>>>>>>> components, so small set of hotkeys would cover most of
>>>>>>>>>>>>> situations.
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey
>>>>>>>>>>>>> set,
>>>>>> with
>>>>>>>>>>>>> components configurable through properties. Components are
>>>>>>>>>>>>> added
>>>>>> as a
>>>>>>>>>>>>> child of current position, if possible, or a sibling at the
>>>>>>>>>>>>> nearest
>>>>>>>>>>>>> possible scope. I provided my colleagues with patched
>>>>>>>>>>>>> JMeter and
>>>>>> they
>>>>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>>>>>>>>>>>>> bugzilla
>>>>>>>> for
>>>>>>>>>>>>> this when needed.
>>>>>>>>>>>>>
>>>>>>>>>>>>> As always I ask if other committers support adding this into
>>>>>>>>>>>>> main
>>>>>>>> JMeter
>>>>>>>>>>>>> codebase or not.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>>>>
>>>>>>>>>>>>> * Where is appropriate place in the docs to document this
>>>>>> feature?
>>>>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> * Are defaults good? What are most used JMeter
>>>>>>>>>>>>> components?
>>>>>>>>>>>> I would remove or put them at end:
>>>>>>>>>>>> View Results Tree
>>>>>>>>>>>> User Defined Variables
>>>>>>>>>>>> Test Fragment
>>>>>>>>>>>>
>>>>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>>>>
>>>>>>>>>>>> I would add :
>>>>>>>>>>>> - Css/JQuery extractor
>>>>>>>>>>>> - Jsr223 Post processor
>>>>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>>>>> - JSR223 Pre processir
>>>>>>>>>>>> -Debug Sampler
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> * Is there a way to specify component names in properties
>>>>>>>>>>>>> instead
>>>>>>>> of
>>>>>>>>>>>>> classes?
>>>>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>>>>>>>>>>>>> wonder if
>>>>>>>>>>>>> somebody knows why.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Cordialement.
>>>>>>>>>> Philippe Mouawad.
>>>
>>
>>
>
Re: Component adding hotkeys
Posted by Milamber <mi...@apache.org>.
In addition, some tests on Windows 7 (VM in my virtualbox on my Linux).
The shortcut works: 1, 2, 3, 4, 5, not 6, 7, 8, not 9, not 0
2015/06/07 11:12:38 INFO - jmeter.gui.MainFrame: Event gui.quick_1:
HttpTestSampleGui
2015/06/07 11:12:39 INFO - jmeter.gui.MainFrame: Event gui.quick_2:
RegexExtractorGui
2015/06/07 11:12:40 INFO - jmeter.gui.MainFrame: Event gui.quick_3:
AssertionGui
2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_4:
ConstantTimerGui
2015/06/07 11:12:41 INFO - jmeter.gui.MainFrame: Event gui.quick_5:
TestActionGui
<== missing 6 (I think that is an issue with the Collapse shortcut
(Ctrl+- : on FR Keybord, the minus is the same touch than the number 6
(shift+- ==> 6)
2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_7:
JSR223PreProcessor
2015/06/07 11:12:44 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
DebugSampler
2015/06/07 11:12:45 INFO - jmeter.gui.MainFrame: Event gui.quick_8:
DebugSampler
2015/06/07 11:12:46 INFO - jmeter.gui.MainFrame: Event gui.quick_null:
null <==== 9
2015/06/07 11:12:46 WARN - jmeter.gui.MainFrame: No component set
through property: gui.quick_null
2015/06/07 11:13:00 INFO - jmeter.gui.MainFrame: Event gui.quick_null:
null <==== 0
Note, for this tests, I don't use Ctrl+Shift+number (don't work), I need
enable CapsLocks, and after Ctrl+number... not very friendly.
On 07/06/2015 10:46, Milamber wrote:
>
>
> On 07/06/2015 07:52, Andrey Pokhilko wrote:
>> Sounds strange, as I tested them properly working on colleague's Mac
>> with wireless keyboard and mine KUbuntu Linux 14.04.
>
> for Linux, probably a behavior of Gnome. I play with your code for
> quick key by adding some logs/debug, on my gnome, not possible to
> catch the Ctrl+number (or ctrl+shift-number).
>
> If I change the keystroke Crtl+0 to Ctrl+U (example), the code catch
> the shortcut, but the algorithm don't works (tweak on the string
> gui.quick_X)
>
>
> Log with tail -f jmeter.log
> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
> through property: gui.quick_
> ==> The last char is the code "0015" (display on my terminal a box
> with small number 0015)
>
> Log view with "less" command;
> 2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
> through property: gui.quick_^U
> ==> seems meaning Ctrl+U I think
>
>
>
>>
>> Andrey Pokhilko
>>
>> On 06/06/2015 10:20 AM, Milamber wrote:
>>> On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
>>> Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
>>> French Azerty keyboard the number are available with Shift+X)
>>>
>>> On 05/06/2015 22:06, Philippe Mouawad wrote:
>>>> Hello,
>>>> I started testing this evening and I have an issue, on Mac Book pro
>>>> there
>>>> is no numeric keypad.
>>>> So I had to change the properties to this and it works:
>>>> gui.quick_à=ThreadGroupGui
>>>> gui.quick_&=HttpTestSampleGui
>>>> gui.quick_é=RegexExtractorGui
>>>> gui.quick_"=AssertionGui
>>>> gui.quick_'=ConstantTimerGui
>>>> gui.quick_(=TestActionGui
>>>> gui.quick_§=JSR223PostProcessor
>>>> gui.quick_è=JSR223PreProcessor
>>>> gui.quick_!=DebugSampler
>>>> gui.quick_ç=ViewResultsFullVisualizer
>>>>
>>>>
>>>> Is there a better way on Mac Book Pro ?
>>>> Regards
>>>>
>>>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>>>
>>>>> "Most used" depends on every user. I believe first keys 1-5 will be
>>>>> most
>>>>> used and we already set them fine. I have just committed it into
>>>>> SVN, it
>>>>> is your right to change everything as you see it :) I set it like I
>>>>> see it.
>>>>>
>>>>> Andrey Pokhilko
>>>>>
>>>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>
>>>>>>> Not having a Thread Group in hotkeys disbles "fluent start",
>>>>>>> when you
>>>>>>> just opened JMeter and immediately start building Test Plan with
>>>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>>>>>>> is the
>>>>>>> most rightsided key, that reflects rarity of usage.
>>>>>>>
>>>>>> Agreed
>>>>>>
>>>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>>>> because you need them not frequently, but always urgently when you
>>>>>>> want
>>>>>>> to troubleshoot your script and instant usage will gratify hurrying
>>>>> user.
>>>>>> But not having CSS/JQuery extractor is not a good thing, In our
>>>>>> scripting
>>>>>> experience it is among the top 5 elements used.
>>>>>> Although new element it is great for html extraction and makes
>>>>>> tests more
>>>>>> maintainable
>>>>>>
>>>>>>> Finally, user can always set up his preferred keys to reflect his
>>>>>>> style
>>>>>>> of usage.
>>>>>>>
>>>>>> But hotkeys should reflect most used components.
>>>>>>
>>>>>>> Andrey Pokhilko
>>>>>>>
>>>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad
>>>>>>>> <philippe.mouawad@gmail.com
>>>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>>
>>>>>>> wrote:
>>>>>>>>> Hi,
>>>>>>>>> Thanks for taking into account some notes.
>>>>>>>>>
>>>>>>>>> 1/ I would put these defaults:
>>>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>>>> Although that is needed for every test, often only one is needed.
>>>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>>>
>>>>>>>> Maybe a ThreadGroup should be automatically added to a new test
>>>>>>>> plan.
>>>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>>>> Listener at plan level), and make that the default.
>>>>>>>>
>>>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>>>> gui.quick_4=AssertionGui
>>>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>>>> gui.quick_7=TestActionGui
>>>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>>>> ViewResultsTree.
>>>>>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>>>>>>> needed.
>>>>>>>>> 2/ Is it a good thing to try to add element somewhere in the
>>>>>>>>> tree
>>>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>>
>>>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>>>>>>>>>> and
>>>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>>>
>>>>>>>>>> If there are no objections, I will commit this change within 24
>>>>> hours.
>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>
>>>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>>>
>>>>>>>>>>> For me it should be in core once linux issue is fixed, what
>>>>>>>>>>> about
>>>>>>> tested
>>>>>>>>>>> platforms:
>>>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>>>> - Linux
>>>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>>>
>>>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>>>
>>>>>>>>>>> Regards
>>>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they
>>>>>>>>>>>> come with
>>>>>>> idea
>>>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter
>>>>>>>>>>>> components to
>>>>>>> test
>>>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through
>>>>>>>>>>>> context
>>>>>>> menus.
>>>>>>>>>>>> As always, Pareto principle states that 80% of a time
>>>>>>>>>>>> people use
>>>>> 20%
>>>>>>> of
>>>>>>>>>>>> components, so small set of hotkeys would cover most of
>>>>>>>>>>>> situations.
>>>>>>>>>>>>
>>>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey
>>>>>>>>>>>> set,
>>>>> with
>>>>>>>>>>>> components configurable through properties. Components are
>>>>>>>>>>>> added
>>>>> as a
>>>>>>>>>>>> child of current position, if possible, or a sibling at the
>>>>>>>>>>>> nearest
>>>>>>>>>>>> possible scope. I provided my colleagues with patched
>>>>>>>>>>>> JMeter and
>>>>> they
>>>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>>>
>>>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>>>>>>>>>>>> bugzilla
>>>>>>> for
>>>>>>>>>>>> this when needed.
>>>>>>>>>>>>
>>>>>>>>>>>> As always I ask if other committers support adding this into
>>>>>>>>>>>> main
>>>>>>> JMeter
>>>>>>>>>>>> codebase or not.
>>>>>>>>>>>>
>>>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>>>
>>>>>>>>>>>> * Where is appropriate place in the docs to document this
>>>>> feature?
>>>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>>>>>>> I would remove or put them at end:
>>>>>>>>>>> View Results Tree
>>>>>>>>>>> User Defined Variables
>>>>>>>>>>> Test Fragment
>>>>>>>>>>>
>>>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>>>
>>>>>>>>>>> I would add :
>>>>>>>>>>> - Css/JQuery extractor
>>>>>>>>>>> - Jsr223 Post processor
>>>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>>>> - JSR223 Pre processir
>>>>>>>>>>> -Debug Sampler
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> * Is there a way to specify component names in properties
>>>>>>>>>>>> instead
>>>>>>> of
>>>>>>>>>>>> classes?
>>>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>>>>>>>>>>>> wonder if
>>>>>>>>>>>> somebody knows why.
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Cordialement.
>>>>>>>>> Philippe Mouawad.
>>
>
>
Re: Component adding hotkeys
Posted by Milamber <mi...@apache.org>.
On 07/06/2015 07:52, Andrey Pokhilko wrote:
> Sounds strange, as I tested them properly working on colleague's Mac
> with wireless keyboard and mine KUbuntu Linux 14.04.
for Linux, probably a behavior of Gnome. I play with your code for quick
key by adding some logs/debug, on my gnome, not possible to catch the
Ctrl+number (or ctrl+shift-number).
If I change the keystroke Crtl+0 to Ctrl+U (example), the code catch the
shortcut, but the algorithm don't works (tweak on the string gui.quick_X)
Log with tail -f jmeter.log
2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
through property: gui.quick_
==> The last char is the code "0015" (display on my terminal a box with
small number 0015)
Log view with "less" command;
2015/06/07 09:17:43 WARN - jmeter.gui.MainFrame: No component set
through property: gui.quick_^U
==> seems meaning Ctrl+U I think
>
> Andrey Pokhilko
>
> On 06/06/2015 10:20 AM, Milamber wrote:
>> On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
>> Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
>> French Azerty keyboard the number are available with Shift+X)
>>
>> On 05/06/2015 22:06, Philippe Mouawad wrote:
>>> Hello,
>>> I started testing this evening and I have an issue, on Mac Book pro
>>> there
>>> is no numeric keypad.
>>> So I had to change the properties to this and it works:
>>> gui.quick_à=ThreadGroupGui
>>> gui.quick_&=HttpTestSampleGui
>>> gui.quick_é=RegexExtractorGui
>>> gui.quick_"=AssertionGui
>>> gui.quick_'=ConstantTimerGui
>>> gui.quick_(=TestActionGui
>>> gui.quick_§=JSR223PostProcessor
>>> gui.quick_è=JSR223PreProcessor
>>> gui.quick_!=DebugSampler
>>> gui.quick_ç=ViewResultsFullVisualizer
>>>
>>>
>>> Is there a better way on Mac Book Pro ?
>>> Regards
>>>
>>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>>
>>>> "Most used" depends on every user. I believe first keys 1-5 will be
>>>> most
>>>> used and we already set them fine. I have just committed it into
>>>> SVN, it
>>>> is your right to change everything as you see it :) I set it like I
>>>> see it.
>>>>
>>>> Andrey Pokhilko
>>>>
>>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>
>>>>>> Not having a Thread Group in hotkeys disbles "fluent start", when you
>>>>>> just opened JMeter and immediately start building Test Plan with
>>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>>>>>> is the
>>>>>> most rightsided key, that reflects rarity of usage.
>>>>>>
>>>>> Agreed
>>>>>
>>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>>> because you need them not frequently, but always urgently when you
>>>>>> want
>>>>>> to troubleshoot your script and instant usage will gratify hurrying
>>>> user.
>>>>> But not having CSS/JQuery extractor is not a good thing, In our
>>>>> scripting
>>>>> experience it is among the top 5 elements used.
>>>>> Although new element it is great for html extraction and makes
>>>>> tests more
>>>>> maintainable
>>>>>
>>>>>> Finally, user can always set up his preferred keys to reflect his
>>>>>> style
>>>>>> of usage.
>>>>>>
>>>>> But hotkeys should reflect most used components.
>>>>>
>>>>>> Andrey Pokhilko
>>>>>>
>>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad
>>>>>>> <philippe.mouawad@gmail.com
>>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>>>>>>>> Hi,
>>>>>>>> Thanks for taking into account some notes.
>>>>>>>>
>>>>>>>> 1/ I would put these defaults:
>>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>>> Although that is needed for every test, often only one is needed.
>>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>>
>>>>>>> Maybe a ThreadGroup should be automatically added to a new test
>>>>>>> plan.
>>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>>> Listener at plan level), and make that the default.
>>>>>>>
>>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>>> gui.quick_4=AssertionGui
>>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>>> gui.quick_7=TestActionGui
>>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>>
>>>>>>>>
>>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>>> ViewResultsTree.
>>>>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>>>>>> needed.
>>>>>>>> 2/ Is it a good thing to try to add element somewhere in the tree
>>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>>
>>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>>>>>>>>> and
>>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>>
>>>>>>>>> If there are no objections, I will commit this change within 24
>>>> hours.
>>>>>>>>> Andrey Pokhilko
>>>>>>>>>
>>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>>> Hi,
>>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>>
>>>>>>>>>> For me it should be in core once linux issue is fixed, what about
>>>>>> tested
>>>>>>>>>> platforms:
>>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>>> - Linux
>>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>>
>>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>>
>>>>>>>>>> Regards
>>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they
>>>>>>>>>>> come with
>>>>>> idea
>>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter
>>>>>>>>>>> components to
>>>>>> test
>>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through context
>>>>>> menus.
>>>>>>>>>>> As always, Pareto principle states that 80% of a time people use
>>>> 20%
>>>>>> of
>>>>>>>>>>> components, so small set of hotkeys would cover most of
>>>>>>>>>>> situations.
>>>>>>>>>>>
>>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>>>> with
>>>>>>>>>>> components configurable through properties. Components are added
>>>> as a
>>>>>>>>>>> child of current position, if possible, or a sibling at the
>>>>>>>>>>> nearest
>>>>>>>>>>> possible scope. I provided my colleagues with patched JMeter and
>>>> they
>>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>>
>>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>>>>>>>>>>> bugzilla
>>>>>> for
>>>>>>>>>>> this when needed.
>>>>>>>>>>>
>>>>>>>>>>> As always I ask if other committers support adding this into
>>>>>>>>>>> main
>>>>>> JMeter
>>>>>>>>>>> codebase or not.
>>>>>>>>>>>
>>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>>
>>>>>>>>>>> * Where is appropriate place in the docs to document this
>>>> feature?
>>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>>>>>> I would remove or put them at end:
>>>>>>>>>> View Results Tree
>>>>>>>>>> User Defined Variables
>>>>>>>>>> Test Fragment
>>>>>>>>>>
>>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>>
>>>>>>>>>> I would add :
>>>>>>>>>> - Css/JQuery extractor
>>>>>>>>>> - Jsr223 Post processor
>>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>>> - JSR223 Pre processir
>>>>>>>>>> -Debug Sampler
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> * Is there a way to specify component names in properties
>>>>>>>>>>> instead
>>>>>> of
>>>>>>>>>>> classes?
>>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>>>>>>>>>>> wonder if
>>>>>>>>>>> somebody knows why.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> --
>>>>>>>> Cordialement.
>>>>>>>> Philippe Mouawad.
>
Re: Component adding hotkeys
Posted by Andrey Pokhilko <ap...@ya.ru>.
Sounds strange, as I tested them properly working on colleague's Mac
with wireless keyboard and mine KUbuntu Linux 14.04.
Andrey Pokhilko
On 06/06/2015 10:20 AM, Milamber wrote:
>
> On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
> Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
> French Azerty keyboard the number are available with Shift+X)
>
> On 05/06/2015 22:06, Philippe Mouawad wrote:
>> Hello,
>> I started testing this evening and I have an issue, on Mac Book pro
>> there
>> is no numeric keypad.
>> So I had to change the properties to this and it works:
>> gui.quick_à=ThreadGroupGui
>> gui.quick_&=HttpTestSampleGui
>> gui.quick_é=RegexExtractorGui
>> gui.quick_"=AssertionGui
>> gui.quick_'=ConstantTimerGui
>> gui.quick_(=TestActionGui
>> gui.quick_§=JSR223PostProcessor
>> gui.quick_è=JSR223PreProcessor
>> gui.quick_!=DebugSampler
>> gui.quick_ç=ViewResultsFullVisualizer
>>
>>
>> Is there a better way on Mac Book Pro ?
>> Regards
>>
>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>
>>> "Most used" depends on every user. I believe first keys 1-5 will be
>>> most
>>> used and we already set them fine. I have just committed it into
>>> SVN, it
>>> is your right to change everything as you see it :) I set it like I
>>> see it.
>>>
>>> Andrey Pokhilko
>>>
>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>
>>>>> Not having a Thread Group in hotkeys disbles "fluent start", when you
>>>>> just opened JMeter and immediately start building Test Plan with
>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>>>>> is the
>>>>> most rightsided key, that reflects rarity of usage.
>>>>>
>>>> Agreed
>>>>
>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>> because you need them not frequently, but always urgently when you
>>>>> want
>>>>> to troubleshoot your script and instant usage will gratify hurrying
>>> user.
>>>> But not having CSS/JQuery extractor is not a good thing, In our
>>>> scripting
>>>> experience it is among the top 5 elements used.
>>>> Although new element it is great for html extraction and makes
>>>> tests more
>>>> maintainable
>>>>
>>>>> Finally, user can always set up his preferred keys to reflect his
>>>>> style
>>>>> of usage.
>>>>>
>>>> But hotkeys should reflect most used components.
>>>>
>>>>> Andrey Pokhilko
>>>>>
>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad
>>>>>> <philippe.mouawad@gmail.com
>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>>>>>>> Hi,
>>>>>>> Thanks for taking into account some notes.
>>>>>>>
>>>>>>> 1/ I would put these defaults:
>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>> Although that is needed for every test, often only one is needed.
>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>
>>>>>> Maybe a ThreadGroup should be automatically added to a new test
>>>>>> plan.
>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>> Listener at plan level), and make that the default.
>>>>>>
>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>> gui.quick_4=AssertionGui
>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>> gui.quick_7=TestActionGui
>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>
>>>>>>>
>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>> ViewResultsTree.
>>>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>>>>> needed.
>>>>>>> 2/ Is it a good thing to try to add element somewhere in the tree
>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>>>>>>>> and
>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>
>>>>>>>> If there are no objections, I will commit this change within 24
>>> hours.
>>>>>>>> Andrey Pokhilko
>>>>>>>>
>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>> Hi,
>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>
>>>>>>>>> For me it should be in core once linux issue is fixed, what about
>>>>> tested
>>>>>>>>> platforms:
>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>> - Linux
>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>
>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they
>>>>>>>>>> come with
>>>>> idea
>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter
>>>>>>>>>> components to
>>>>> test
>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through context
>>>>> menus.
>>>>>>>>>> As always, Pareto principle states that 80% of a time people use
>>> 20%
>>>>> of
>>>>>>>>>> components, so small set of hotkeys would cover most of
>>>>>>>>>> situations.
>>>>>>>>>>
>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>>> with
>>>>>>>>>> components configurable through properties. Components are added
>>> as a
>>>>>>>>>> child of current position, if possible, or a sibling at the
>>>>>>>>>> nearest
>>>>>>>>>> possible scope. I provided my colleagues with patched JMeter and
>>> they
>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>
>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>>>>>>>>>> bugzilla
>>>>> for
>>>>>>>>>> this when needed.
>>>>>>>>>>
>>>>>>>>>> As always I ask if other committers support adding this into
>>>>>>>>>> main
>>>>> JMeter
>>>>>>>>>> codebase or not.
>>>>>>>>>>
>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>
>>>>>>>>>> * Where is appropriate place in the docs to document this
>>> feature?
>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>>>>> I would remove or put them at end:
>>>>>>>>> View Results Tree
>>>>>>>>> User Defined Variables
>>>>>>>>> Test Fragment
>>>>>>>>>
>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>
>>>>>>>>> I would add :
>>>>>>>>> - Css/JQuery extractor
>>>>>>>>> - Jsr223 Post processor
>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>> - JSR223 Pre processir
>>>>>>>>> -Debug Sampler
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> * Is there a way to specify component names in properties
>>>>>>>>>> instead
>>>>> of
>>>>>>>>>> classes?
>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>>>>>>>>>> wonder if
>>>>>>>>>> somebody knows why.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> --
>>>>>>> Cordialement.
>>>>>>> Philippe Mouawad.
>>>
>>
>
Re: Component adding hotkeys
Posted by Milamber <mi...@apache.org>.
On Linux (Debian 8 / Gnome 3 / Java7/8) no shortcut works.
Works on Windows 7, but need to do : Ctrl + Shift + 1,2,3, etc (on
French Azerty keyboard the number are available with Shift+X)
On 05/06/2015 22:06, Philippe Mouawad wrote:
> Hello,
> I started testing this evening and I have an issue, on Mac Book pro there
> is no numeric keypad.
> So I had to change the properties to this and it works:
> gui.quick_à=ThreadGroupGui
> gui.quick_&=HttpTestSampleGui
> gui.quick_é=RegexExtractorGui
> gui.quick_"=AssertionGui
> gui.quick_'=ConstantTimerGui
> gui.quick_(=TestActionGui
> gui.quick_§=JSR223PostProcessor
> gui.quick_è=JSR223PreProcessor
> gui.quick_!=DebugSampler
> gui.quick_ç=ViewResultsFullVisualizer
>
>
> Is there a better way on Mac Book Pro ?
> Regards
>
> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>
>> "Most used" depends on every user. I believe first keys 1-5 will be most
>> used and we already set them fine. I have just committed it into SVN, it
>> is your right to change everything as you see it :) I set it like I see it.
>>
>> Andrey Pokhilko
>>
>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>
>>>> Not having a Thread Group in hotkeys disbles "fluent start", when you
>>>> just opened JMeter and immediately start building Test Plan with
>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
>>>> most rightsided key, that reflects rarity of usage.
>>>>
>>> Agreed
>>>
>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>> because you need them not frequently, but always urgently when you want
>>>> to troubleshoot your script and instant usage will gratify hurrying
>> user.
>>> But not having CSS/JQuery extractor is not a good thing, In our scripting
>>> experience it is among the top 5 elements used.
>>> Although new element it is great for html extraction and makes tests more
>>> maintainable
>>>
>>>> Finally, user can always set up his preferred keys to reflect his style
>>>> of usage.
>>>>
>>> But hotkeys should reflect most used components.
>>>
>>>> Andrey Pokhilko
>>>>
>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>> On 2 June 2015 at 20:42, Philippe Mouawad <philippe.mouawad@gmail.com
>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>>>>>> Hi,
>>>>>> Thanks for taking into account some notes.
>>>>>>
>>>>>> 1/ I would put these defaults:
>>>>>> gui.quick_0=ThreadGroupGui
>>>>> Although that is needed for every test, often only one is needed.
>>>>> It seems wasteful to use up a quick key for this.
>>>>>
>>>>> Maybe a ThreadGroup should be automatically added to a new test plan.
>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>> Listener at plan level), and make that the default.
>>>>>
>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>> gui.quick_2=RegexExtractorGui
>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>> gui.quick_4=AssertionGui
>>>>>> gui.quick_5=ConstantTimerGui
>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>> gui.quick_7=TestActionGui
>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>
>>>>>>
>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>> ViewResultsTree.
>>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>>>> needed.
>>>>>> 2/ Is it a good thing to try to add element somewhere in the tree
>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>
>>>>>>> If there are no objections, I will commit this change within 24
>> hours.
>>>>>>> Andrey Pokhilko
>>>>>>>
>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>> Hi,
>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>
>>>>>>>> For me it should be in core once linux issue is fixed, what about
>>>> tested
>>>>>>>> platforms:
>>>>>>>> - Windows 8? 7 ?
>>>>>>>> - Linux
>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>
>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I have colleagues that do heavy JMeter scripting and they come with
>>>> idea
>>>>>>>>> to speed-up the process: have hotkeys to add JMeter components to
>>>> test
>>>>>>>>> plan. Using a hotkey eliminates the need to walk through context
>>>> menus.
>>>>>>>>> As always, Pareto principle states that 80% of a time people use
>> 20%
>>>> of
>>>>>>>>> components, so small set of hotkeys would cover most of situations.
>>>>>>>>>
>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>> with
>>>>>>>>> components configurable through properties. Components are added
>> as a
>>>>>>>>> child of current position, if possible, or a sibling at the nearest
>>>>>>>>> possible scope. I provided my colleagues with patched JMeter and
>> they
>>>>>>>>> found the feature working smoothly.
>>>>>>>>>
>>>>>>>>> Pull request for easy review is here:
>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla
>>>> for
>>>>>>>>> this when needed.
>>>>>>>>>
>>>>>>>>> As always I ask if other committers support adding this into main
>>>> JMeter
>>>>>>>>> codebase or not.
>>>>>>>>>
>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>
>>>>>>>>> * Where is appropriate place in the docs to document this
>> feature?
>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>>>> I would remove or put them at end:
>>>>>>>> View Results Tree
>>>>>>>> User Defined Variables
>>>>>>>> Test Fragment
>>>>>>>>
>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>
>>>>>>>> I would add :
>>>>>>>> - Css/JQuery extractor
>>>>>>>> - Jsr223 Post processor
>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>> - JSR223 Pre processir
>>>>>>>> -Debug Sampler
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> * Is there a way to specify component names in properties instead
>>>> of
>>>>>>>>> classes?
>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>>>>>>>>> somebody knows why.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Andrey Pokhilko
>>>>>>>>>
>>>>>>>>>
>>>>>> --
>>>>>> Cordialement.
>>>>>> Philippe Mouawad.
>>
>
Re: Component adding hotkeys
Posted by Andrey Pokhilko <ap...@ya.ru>.
Tried on my colleague's Windows 7 laptop, all keys except Ctrl+6 do
work, the latter shows "gui.quick_null" warning. I wonder why Ctrl+6 is
so special...
Andrey Pokhilko
On 06/07/2015 05:53 PM, Andrey Pokhilko wrote:
> Tried on my colleague's mac, works as Command+0 .. Command+9 flawlessly.
>
> java version "1.8.0_31"
> Darwin MacBook-Pro.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23
> 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
>
> Andrey Pokhilko
>
> On 06/06/2015 12:06 AM, Philippe Mouawad wrote:
>> Hello,
>> I started testing this evening and I have an issue, on Mac Book pro there
>> is no numeric keypad.
>> So I had to change the properties to this and it works:
>> gui.quick_à=ThreadGroupGui
>> gui.quick_&=HttpTestSampleGui
>> gui.quick_é=RegexExtractorGui
>> gui.quick_"=AssertionGui
>> gui.quick_'=ConstantTimerGui
>> gui.quick_(=TestActionGui
>> gui.quick_§=JSR223PostProcessor
>> gui.quick_è=JSR223PreProcessor
>> gui.quick_!=DebugSampler
>> gui.quick_ç=ViewResultsFullVisualizer
>>
>>
>> Is there a better way on Mac Book Pro ?
>> Regards
>>
>> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>
>>> "Most used" depends on every user. I believe first keys 1-5 will be most
>>> used and we already set them fine. I have just committed it into SVN, it
>>> is your right to change everything as you see it :) I set it like I see it.
>>>
>>> Andrey Pokhilko
>>>
>>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>
>>>>> Not having a Thread Group in hotkeys disbles "fluent start", when you
>>>>> just opened JMeter and immediately start building Test Plan with
>>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
>>>>> most rightsided key, that reflects rarity of usage.
>>>>>
>>>> Agreed
>>>>
>>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>>> because you need them not frequently, but always urgently when you want
>>>>> to troubleshoot your script and instant usage will gratify hurrying
>>> user.
>>>> But not having CSS/JQuery extractor is not a good thing, In our scripting
>>>> experience it is among the top 5 elements used.
>>>> Although new element it is great for html extraction and makes tests more
>>>> maintainable
>>>>
>>>>> Finally, user can always set up his preferred keys to reflect his style
>>>>> of usage.
>>>>>
>>>> But hotkeys should reflect most used components.
>>>>
>>>>> Andrey Pokhilko
>>>>>
>>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>>> On 2 June 2015 at 20:42, Philippe Mouawad <philippe.mouawad@gmail.com
>>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>>>>>>> Hi,
>>>>>>> Thanks for taking into account some notes.
>>>>>>>
>>>>>>> 1/ I would put these defaults:
>>>>>>> gui.quick_0=ThreadGroupGui
>>>>>> Although that is needed for every test, often only one is needed.
>>>>>> It seems wasteful to use up a quick key for this.
>>>>>>
>>>>>> Maybe a ThreadGroup should be automatically added to a new test plan.
>>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>>> Listener at plan level), and make that the default.
>>>>>>
>>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>>> gui.quick_2=RegexExtractorGui
>>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>>> gui.quick_4=AssertionGui
>>>>>>> gui.quick_5=ConstantTimerGui
>>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>>> gui.quick_7=TestActionGui
>>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>>
>>>>>>>
>>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>>> ViewResultsTree.
>>>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>>>>> needed.
>>>>>>> 2/ Is it a good thing to try to add element somewhere in the tree
>>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>>
>>>>>>>> If there are no objections, I will commit this change within 24
>>> hours.
>>>>>>>> Andrey Pokhilko
>>>>>>>>
>>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>>> Hi,
>>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>>
>>>>>>>>> For me it should be in core once linux issue is fixed, what about
>>>>> tested
>>>>>>>>> platforms:
>>>>>>>>> - Windows 8? 7 ?
>>>>>>>>> - Linux
>>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>>
>>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>>
>>>>>>>>> Regards
>>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I have colleagues that do heavy JMeter scripting and they come with
>>>>> idea
>>>>>>>>>> to speed-up the process: have hotkeys to add JMeter components to
>>>>> test
>>>>>>>>>> plan. Using a hotkey eliminates the need to walk through context
>>>>> menus.
>>>>>>>>>> As always, Pareto principle states that 80% of a time people use
>>> 20%
>>>>> of
>>>>>>>>>> components, so small set of hotkeys would cover most of situations.
>>>>>>>>>>
>>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>>> with
>>>>>>>>>> components configurable through properties. Components are added
>>> as a
>>>>>>>>>> child of current position, if possible, or a sibling at the nearest
>>>>>>>>>> possible scope. I provided my colleagues with patched JMeter and
>>> they
>>>>>>>>>> found the feature working smoothly.
>>>>>>>>>>
>>>>>>>>>> Pull request for easy review is here:
>>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla
>>>>> for
>>>>>>>>>> this when needed.
>>>>>>>>>>
>>>>>>>>>> As always I ask if other committers support adding this into main
>>>>> JMeter
>>>>>>>>>> codebase or not.
>>>>>>>>>>
>>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>>
>>>>>>>>>> * Where is appropriate place in the docs to document this
>>> feature?
>>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>>>>> I would remove or put them at end:
>>>>>>>>> View Results Tree
>>>>>>>>> User Defined Variables
>>>>>>>>> Test Fragment
>>>>>>>>>
>>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>>
>>>>>>>>> I would add :
>>>>>>>>> - Css/JQuery extractor
>>>>>>>>> - Jsr223 Post processor
>>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>>> - JSR223 Pre processir
>>>>>>>>> -Debug Sampler
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> * Is there a way to specify component names in properties instead
>>>>> of
>>>>>>>>>> classes?
>>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>>>>>>>>>> somebody knows why.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Andrey Pokhilko
>>>>>>>>>>
>>>>>>>>>>
>>>>>>> --
>>>>>>> Cordialement.
>>>>>>> Philippe Mouawad.
Re: Component adding hotkeys
Posted by sebb <se...@gmail.com>.
On 7 June 2015 at 16:01, Philippe Mouawad <ph...@gmail.com> wrote:
> Hi Andrei,
> On Mac Book Pro the issue is keyboard type:
> - Qwerty => OK
>
> - Azerty => KO as you have the following layout (1st line is when you input
> SHIFT, 2nd line is what you have without it:
> 1 2 3 4 5 6 7 8 9 0
> & é " ' ( § è ! ç à
>
> To get 1, 2 ... you need to do SHIFT + key
>
> so it does not work on Azerty keyboard unless you change shortcuts.
>
>
> I tested what sebb proposed KeyEvent.VK_0, CONTROL_MASK |
> InputEvent.SHIFT_DOWN_MASK, it works but CMD + SHIFT + 4 is a reserved
> system key , and I think it will be KO for QWERTY keyboard.
>
Also:
Command + Shift + 3 = screenshot.
I don't think there is any way around that as the keys will be
intercepted before reaching Java.
Is there a way to use the physical 0-9 keys regardless of keyboard type?
That would avoid needing to use Shift.
Or perhaps we can use a different modifier, for example Control?
However there might be system keys on some OS that use Control+Shift+digit.
>
>
> Regards
>
> On Sun, Jun 7, 2015 at 4:53 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>
>> Tried on my colleague's mac, works as Command+0 .. Command+9 flawlessly.
>>
>> java version "1.8.0_31"
>> Darwin MacBook-Pro.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23
>> 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
>>
>> Andrey Pokhilko
>>
>> On 06/06/2015 12:06 AM, Philippe Mouawad wrote:
>> > Hello,
>> > I started testing this evening and I have an issue, on Mac Book pro there
>> > is no numeric keypad.
>> > So I had to change the properties to this and it works:
>> > gui.quick_à=ThreadGroupGui
>> > gui.quick_&=HttpTestSampleGui
>> > gui.quick_é=RegexExtractorGui
>> > gui.quick_"=AssertionGui
>> > gui.quick_'=ConstantTimerGui
>> > gui.quick_(=TestActionGui
>> > gui.quick_§=JSR223PostProcessor
>> > gui.quick_è=JSR223PreProcessor
>> > gui.quick_!=DebugSampler
>> > gui.quick_ç=ViewResultsFullVisualizer
>> >
>> >
>> > Is there a better way on Mac Book Pro ?
>> > Regards
>> >
>> > On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>> >
>> >> "Most used" depends on every user. I believe first keys 1-5 will be most
>> >> used and we already set them fine. I have just committed it into SVN, it
>> >> is your right to change everything as you see it :) I set it like I see
>> it.
>> >>
>> >> Andrey Pokhilko
>> >>
>> >> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>> >>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>> >>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>> >>>
>> >>>> Not having a Thread Group in hotkeys disbles "fluent start", when you
>> >>>> just opened JMeter and immediately start building Test Plan with
>> >>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is
>> the
>> >>>> most rightsided key, that reflects rarity of usage.
>> >>>>
>> >>> Agreed
>> >>>
>> >>>> Having Debug Sampler and View Results Tree also required UX-wise,
>> >>>> because you need them not frequently, but always urgently when you
>> want
>> >>>> to troubleshoot your script and instant usage will gratify hurrying
>> >> user.
>> >>> But not having CSS/JQuery extractor is not a good thing, In our
>> scripting
>> >>> experience it is among the top 5 elements used.
>> >>> Although new element it is great for html extraction and makes tests
>> more
>> >>> maintainable
>> >>>
>> >>>> Finally, user can always set up his preferred keys to reflect his
>> style
>> >>>> of usage.
>> >>>>
>> >>> But hotkeys should reflect most used components.
>> >>>
>> >>>> Andrey Pokhilko
>> >>>>
>> >>>> On 06/03/2015 03:34 AM, sebb wrote:
>> >>>>> On 2 June 2015 at 20:42, Philippe Mouawad <
>> philippe.mouawad@gmail.com
>> >>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>> >>>>>> Hi,
>> >>>>>> Thanks for taking into account some notes.
>> >>>>>>
>> >>>>>> 1/ I would put these defaults:
>> >>>>>> gui.quick_0=ThreadGroupGui
>> >>>>> Although that is needed for every test, often only one is needed.
>> >>>>> It seems wasteful to use up a quick key for this.
>> >>>>>
>> >>>>> Maybe a ThreadGroup should be automatically added to a new test plan.
>> >>>>> Or a template added that includes a ThreadGroup (possibly plus a
>> >>>>> Listener at plan level), and make that the default.
>> >>>>>
>> >>>>>> gui.quick_1=HttpTestSampleGui
>> >>>>>> gui.quick_2=RegexExtractorGui
>> >>>>>> gui.quick_3=HtmlExtractorGui
>> >>>>>> gui.quick_4=AssertionGui
>> >>>>>> gui.quick_5=ConstantTimerGui
>> >>>>>> gui.quick_6=GaussianRandomTimerGui
>> >>>>>> gui.quick_7=TestActionGui
>> >>>>>> gui.quick_8=JSR223PostProcessor
>> >>>>>> gui.quick_9=JSR223PreProcessor
>> >>>>>>
>> >>>>>>
>> >>>>>> As for me DebugSampler is not added very frequently, same for
>> >>>>>> ViewResultsTree.
>> >>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>> >>>> needed.
>> >>>>>> 2/ Is it a good thing to try to add element somewhere in the tree
>> >>>>>> hierarchy ? I would fail if current node does not allow it.
>> >>>>>>
>> >>>>>> Regards
>> >>>>>>
>> >>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>> >>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>> >>>>>>> Hi,
>> >>>>>>>
>> >>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>> >>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>> >>>>>>>
>> >>>>>>> If there are no objections, I will commit this change within 24
>> >> hours.
>> >>>>>>> Andrey Pokhilko
>> >>>>>>>
>> >>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>> >>>>>>>> Hi,
>> >>>>>>>> I think it's a nice idea, we have same the same feedback.
>> >>>>>>>>
>> >>>>>>>> For me it should be in core once linux issue is fixed, what about
>> >>>> tested
>> >>>>>>>> platforms:
>> >>>>>>>> - Windows 8? 7 ?
>> >>>>>>>> - Linux
>> >>>>>>>> - Mac OSX ? which os ?
>> >>>>>>>>
>> >>>>>>>> Regarding other questions, answers inline.
>> >>>>>>>>
>> >>>>>>>> Regards
>> >>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>> >>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>> >>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>> >>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>> >>>>>>>>> Hi,
>> >>>>>>>>>
>> >>>>>>>>> I have colleagues that do heavy JMeter scripting and they come
>> with
>> >>>> idea
>> >>>>>>>>> to speed-up the process: have hotkeys to add JMeter components to
>> >>>> test
>> >>>>>>>>> plan. Using a hotkey eliminates the need to walk through context
>> >>>> menus.
>> >>>>>>>>> As always, Pareto principle states that 80% of a time people use
>> >> 20%
>> >>>> of
>> >>>>>>>>> components, so small set of hotkeys would cover most of
>> situations.
>> >>>>>>>>>
>> >>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>> >> with
>> >>>>>>>>> components configurable through properties. Components are added
>> >> as a
>> >>>>>>>>> child of current position, if possible, or a sibling at the
>> nearest
>> >>>>>>>>> possible scope. I provided my colleagues with patched JMeter and
>> >> they
>> >>>>>>>>> found the feature working smoothly.
>> >>>>>>>>>
>> >>>>>>>>> Pull request for easy review is here:
>> >>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>> bugzilla
>> >>>> for
>> >>>>>>>>> this when needed.
>> >>>>>>>>>
>> >>>>>>>>> As always I ask if other committers support adding this into main
>> >>>> JMeter
>> >>>>>>>>> codebase or not.
>> >>>>>>>>>
>> >>>>>>>>> Some notes/questions from my side:
>> >>>>>>>>>
>> >>>>>>>>> * Where is appropriate place in the docs to document this
>> >> feature?
>> >>>>>>>> Somewhere where Search Feature and templates are documented
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>> * Are defaults good? What are most used JMeter components?
>> >>>>>>>> I would remove or put them at end:
>> >>>>>>>> View Results Tree
>> >>>>>>>> User Defined Variables
>> >>>>>>>> Test Fragment
>> >>>>>>>>
>> >>>>>>>> as although popular you rarely add more than 2 or 3.
>> >>>>>>>>
>> >>>>>>>> I would add :
>> >>>>>>>> - Css/JQuery extractor
>> >>>>>>>> - Jsr223 Post processor
>> >>>>>>>> - Test Action for the timer discussion we had
>> >>>>>>>> - JSR223 Pre processir
>> >>>>>>>> -Debug Sampler
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>> * Is there a way to specify component names in properties
>> instead
>> >>>> of
>> >>>>>>>>> classes?
>> >>>>>>>> There are name shortcuts in saveservice.properties
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder
>> if
>> >>>>>>>>> somebody knows why.
>> >>>>>>>>>
>> >>>>>>>>> --
>> >>>>>>>>> Andrey Pokhilko
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>> --
>> >>>>>> Cordialement.
>> >>>>>> Philippe Mouawad.
>> >>
>> >
>>
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
Re: Component adding hotkeys
Posted by Philippe Mouawad <ph...@gmail.com>.
Hi Andrei,
On Mac Book Pro the issue is keyboard type:
- Qwerty => OK
- Azerty => KO as you have the following layout (1st line is when you input
SHIFT, 2nd line is what you have without it:
1 2 3 4 5 6 7 8 9 0
& é " ' ( § è ! ç à
To get 1, 2 ... you need to do SHIFT + key
so it does not work on Azerty keyboard unless you change shortcuts.
I tested what sebb proposed KeyEvent.VK_0, CONTROL_MASK |
InputEvent.SHIFT_DOWN_MASK, it works but CMD + SHIFT + 4 is a reserved
system key , and I think it will be KO for QWERTY keyboard.
Regards
On Sun, Jun 7, 2015 at 4:53 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
> Tried on my colleague's mac, works as Command+0 .. Command+9 flawlessly.
>
> java version "1.8.0_31"
> Darwin MacBook-Pro.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23
> 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
>
> Andrey Pokhilko
>
> On 06/06/2015 12:06 AM, Philippe Mouawad wrote:
> > Hello,
> > I started testing this evening and I have an issue, on Mac Book pro there
> > is no numeric keypad.
> > So I had to change the properties to this and it works:
> > gui.quick_à=ThreadGroupGui
> > gui.quick_&=HttpTestSampleGui
> > gui.quick_é=RegexExtractorGui
> > gui.quick_"=AssertionGui
> > gui.quick_'=ConstantTimerGui
> > gui.quick_(=TestActionGui
> > gui.quick_§=JSR223PostProcessor
> > gui.quick_è=JSR223PreProcessor
> > gui.quick_!=DebugSampler
> > gui.quick_ç=ViewResultsFullVisualizer
> >
> >
> > Is there a better way on Mac Book Pro ?
> > Regards
> >
> > On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
> >
> >> "Most used" depends on every user. I believe first keys 1-5 will be most
> >> used and we already set them fine. I have just committed it into SVN, it
> >> is your right to change everything as you see it :) I set it like I see
> it.
> >>
> >> Andrey Pokhilko
> >>
> >> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
> >>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
> >>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
> >>>
> >>>> Not having a Thread Group in hotkeys disbles "fluent start", when you
> >>>> just opened JMeter and immediately start building Test Plan with
> >>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is
> the
> >>>> most rightsided key, that reflects rarity of usage.
> >>>>
> >>> Agreed
> >>>
> >>>> Having Debug Sampler and View Results Tree also required UX-wise,
> >>>> because you need them not frequently, but always urgently when you
> want
> >>>> to troubleshoot your script and instant usage will gratify hurrying
> >> user.
> >>> But not having CSS/JQuery extractor is not a good thing, In our
> scripting
> >>> experience it is among the top 5 elements used.
> >>> Although new element it is great for html extraction and makes tests
> more
> >>> maintainable
> >>>
> >>>> Finally, user can always set up his preferred keys to reflect his
> style
> >>>> of usage.
> >>>>
> >>> But hotkeys should reflect most used components.
> >>>
> >>>> Andrey Pokhilko
> >>>>
> >>>> On 06/03/2015 03:34 AM, sebb wrote:
> >>>>> On 2 June 2015 at 20:42, Philippe Mouawad <
> philippe.mouawad@gmail.com
> >>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
> >>>>>> Hi,
> >>>>>> Thanks for taking into account some notes.
> >>>>>>
> >>>>>> 1/ I would put these defaults:
> >>>>>> gui.quick_0=ThreadGroupGui
> >>>>> Although that is needed for every test, often only one is needed.
> >>>>> It seems wasteful to use up a quick key for this.
> >>>>>
> >>>>> Maybe a ThreadGroup should be automatically added to a new test plan.
> >>>>> Or a template added that includes a ThreadGroup (possibly plus a
> >>>>> Listener at plan level), and make that the default.
> >>>>>
> >>>>>> gui.quick_1=HttpTestSampleGui
> >>>>>> gui.quick_2=RegexExtractorGui
> >>>>>> gui.quick_3=HtmlExtractorGui
> >>>>>> gui.quick_4=AssertionGui
> >>>>>> gui.quick_5=ConstantTimerGui
> >>>>>> gui.quick_6=GaussianRandomTimerGui
> >>>>>> gui.quick_7=TestActionGui
> >>>>>> gui.quick_8=JSR223PostProcessor
> >>>>>> gui.quick_9=JSR223PreProcessor
> >>>>>>
> >>>>>>
> >>>>>> As for me DebugSampler is not added very frequently, same for
> >>>>>> ViewResultsTree.
> >>>>> I tend to use ViewResultsTree a lot, but again usually only one is
> >>>> needed.
> >>>>>> 2/ Is it a good thing to try to add element somewhere in the tree
> >>>>>> hierarchy ? I would fail if current node does not allow it.
> >>>>>>
> >>>>>> Regards
> >>>>>>
> >>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
> >>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
> >>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
> >>>>>>>
> >>>>>>> If there are no objections, I will commit this change within 24
> >> hours.
> >>>>>>> Andrey Pokhilko
> >>>>>>>
> >>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
> >>>>>>>> Hi,
> >>>>>>>> I think it's a nice idea, we have same the same feedback.
> >>>>>>>>
> >>>>>>>> For me it should be in core once linux issue is fixed, what about
> >>>> tested
> >>>>>>>> platforms:
> >>>>>>>> - Windows 8? 7 ?
> >>>>>>>> - Linux
> >>>>>>>> - Mac OSX ? which os ?
> >>>>>>>>
> >>>>>>>> Regarding other questions, answers inline.
> >>>>>>>>
> >>>>>>>> Regards
> >>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
> >>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
> >>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
> >>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
> >>>>>>>>> Hi,
> >>>>>>>>>
> >>>>>>>>> I have colleagues that do heavy JMeter scripting and they come
> with
> >>>> idea
> >>>>>>>>> to speed-up the process: have hotkeys to add JMeter components to
> >>>> test
> >>>>>>>>> plan. Using a hotkey eliminates the need to walk through context
> >>>> menus.
> >>>>>>>>> As always, Pareto principle states that 80% of a time people use
> >> 20%
> >>>> of
> >>>>>>>>> components, so small set of hotkeys would cover most of
> situations.
> >>>>>>>>>
> >>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
> >> with
> >>>>>>>>> components configurable through properties. Components are added
> >> as a
> >>>>>>>>> child of current position, if possible, or a sibling at the
> nearest
> >>>>>>>>> possible scope. I provided my colleagues with patched JMeter and
> >> they
> >>>>>>>>> found the feature working smoothly.
> >>>>>>>>>
> >>>>>>>>> Pull request for easy review is here:
> >>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
> bugzilla
> >>>> for
> >>>>>>>>> this when needed.
> >>>>>>>>>
> >>>>>>>>> As always I ask if other committers support adding this into main
> >>>> JMeter
> >>>>>>>>> codebase or not.
> >>>>>>>>>
> >>>>>>>>> Some notes/questions from my side:
> >>>>>>>>>
> >>>>>>>>> * Where is appropriate place in the docs to document this
> >> feature?
> >>>>>>>> Somewhere where Search Feature and templates are documented
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> * Are defaults good? What are most used JMeter components?
> >>>>>>>> I would remove or put them at end:
> >>>>>>>> View Results Tree
> >>>>>>>> User Defined Variables
> >>>>>>>> Test Fragment
> >>>>>>>>
> >>>>>>>> as although popular you rarely add more than 2 or 3.
> >>>>>>>>
> >>>>>>>> I would add :
> >>>>>>>> - Css/JQuery extractor
> >>>>>>>> - Jsr223 Post processor
> >>>>>>>> - Test Action for the timer discussion we had
> >>>>>>>> - JSR223 Pre processir
> >>>>>>>> -Debug Sampler
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> * Is there a way to specify component names in properties
> instead
> >>>> of
> >>>>>>>>> classes?
> >>>>>>>> There are name shortcuts in saveservice.properties
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder
> if
> >>>>>>>>> somebody knows why.
> >>>>>>>>>
> >>>>>>>>> --
> >>>>>>>>> Andrey Pokhilko
> >>>>>>>>>
> >>>>>>>>>
> >>>>>> --
> >>>>>> Cordialement.
> >>>>>> Philippe Mouawad.
> >>
> >
>
>
--
Cordialement.
Philippe Mouawad.
Re: Component adding hotkeys
Posted by Andrey Pokhilko <ap...@ya.ru>.
Tried on my colleague's mac, works as Command+0 .. Command+9 flawlessly.
java version "1.8.0_31"
Darwin MacBook-Pro.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23
11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
Andrey Pokhilko
On 06/06/2015 12:06 AM, Philippe Mouawad wrote:
> Hello,
> I started testing this evening and I have an issue, on Mac Book pro there
> is no numeric keypad.
> So I had to change the properties to this and it works:
> gui.quick_à=ThreadGroupGui
> gui.quick_&=HttpTestSampleGui
> gui.quick_é=RegexExtractorGui
> gui.quick_"=AssertionGui
> gui.quick_'=ConstantTimerGui
> gui.quick_(=TestActionGui
> gui.quick_§=JSR223PostProcessor
> gui.quick_è=JSR223PreProcessor
> gui.quick_!=DebugSampler
> gui.quick_ç=ViewResultsFullVisualizer
>
>
> Is there a better way on Mac Book Pro ?
> Regards
>
> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>
>> "Most used" depends on every user. I believe first keys 1-5 will be most
>> used and we already set them fine. I have just committed it into SVN, it
>> is your right to change everything as you see it :) I set it like I see it.
>>
>> Andrey Pokhilko
>>
>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>>> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>
>>>> Not having a Thread Group in hotkeys disbles "fluent start", when you
>>>> just opened JMeter and immediately start building Test Plan with
>>>> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
>>>> most rightsided key, that reflects rarity of usage.
>>>>
>>> Agreed
>>>
>>>> Having Debug Sampler and View Results Tree also required UX-wise,
>>>> because you need them not frequently, but always urgently when you want
>>>> to troubleshoot your script and instant usage will gratify hurrying
>> user.
>>> But not having CSS/JQuery extractor is not a good thing, In our scripting
>>> experience it is among the top 5 elements used.
>>> Although new element it is great for html extraction and makes tests more
>>> maintainable
>>>
>>>> Finally, user can always set up his preferred keys to reflect his style
>>>> of usage.
>>>>
>>> But hotkeys should reflect most used components.
>>>
>>>> Andrey Pokhilko
>>>>
>>>> On 06/03/2015 03:34 AM, sebb wrote:
>>>>> On 2 June 2015 at 20:42, Philippe Mouawad <philippe.mouawad@gmail.com
>>>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>>>>>> Hi,
>>>>>> Thanks for taking into account some notes.
>>>>>>
>>>>>> 1/ I would put these defaults:
>>>>>> gui.quick_0=ThreadGroupGui
>>>>> Although that is needed for every test, often only one is needed.
>>>>> It seems wasteful to use up a quick key for this.
>>>>>
>>>>> Maybe a ThreadGroup should be automatically added to a new test plan.
>>>>> Or a template added that includes a ThreadGroup (possibly plus a
>>>>> Listener at plan level), and make that the default.
>>>>>
>>>>>> gui.quick_1=HttpTestSampleGui
>>>>>> gui.quick_2=RegexExtractorGui
>>>>>> gui.quick_3=HtmlExtractorGui
>>>>>> gui.quick_4=AssertionGui
>>>>>> gui.quick_5=ConstantTimerGui
>>>>>> gui.quick_6=GaussianRandomTimerGui
>>>>>> gui.quick_7=TestActionGui
>>>>>> gui.quick_8=JSR223PostProcessor
>>>>>> gui.quick_9=JSR223PreProcessor
>>>>>>
>>>>>>
>>>>>> As for me DebugSampler is not added very frequently, same for
>>>>>> ViewResultsTree.
>>>>> I tend to use ViewResultsTree a lot, but again usually only one is
>>>> needed.
>>>>>> 2/ Is it a good thing to try to add element somewhere in the tree
>>>>>> hierarchy ? I would fail if current node does not allow it.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>>>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>>>
>>>>>>> If there are no objections, I will commit this change within 24
>> hours.
>>>>>>> Andrey Pokhilko
>>>>>>>
>>>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>>>> Hi,
>>>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>>>
>>>>>>>> For me it should be in core once linux issue is fixed, what about
>>>> tested
>>>>>>>> platforms:
>>>>>>>> - Windows 8? 7 ?
>>>>>>>> - Linux
>>>>>>>> - Mac OSX ? which os ?
>>>>>>>>
>>>>>>>> Regarding other questions, answers inline.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I have colleagues that do heavy JMeter scripting and they come with
>>>> idea
>>>>>>>>> to speed-up the process: have hotkeys to add JMeter components to
>>>> test
>>>>>>>>> plan. Using a hotkey eliminates the need to walk through context
>>>> menus.
>>>>>>>>> As always, Pareto principle states that 80% of a time people use
>> 20%
>>>> of
>>>>>>>>> components, so small set of hotkeys would cover most of situations.
>>>>>>>>>
>>>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>> with
>>>>>>>>> components configurable through properties. Components are added
>> as a
>>>>>>>>> child of current position, if possible, or a sibling at the nearest
>>>>>>>>> possible scope. I provided my colleagues with patched JMeter and
>> they
>>>>>>>>> found the feature working smoothly.
>>>>>>>>>
>>>>>>>>> Pull request for easy review is here:
>>>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla
>>>> for
>>>>>>>>> this when needed.
>>>>>>>>>
>>>>>>>>> As always I ask if other committers support adding this into main
>>>> JMeter
>>>>>>>>> codebase or not.
>>>>>>>>>
>>>>>>>>> Some notes/questions from my side:
>>>>>>>>>
>>>>>>>>> * Where is appropriate place in the docs to document this
>> feature?
>>>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>>>> I would remove or put them at end:
>>>>>>>> View Results Tree
>>>>>>>> User Defined Variables
>>>>>>>> Test Fragment
>>>>>>>>
>>>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>>>
>>>>>>>> I would add :
>>>>>>>> - Css/JQuery extractor
>>>>>>>> - Jsr223 Post processor
>>>>>>>> - Test Action for the timer discussion we had
>>>>>>>> - JSR223 Pre processir
>>>>>>>> -Debug Sampler
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> * Is there a way to specify component names in properties instead
>>>> of
>>>>>>>>> classes?
>>>>>>>> There are name shortcuts in saveservice.properties
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>>>>>>>>> somebody knows why.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Andrey Pokhilko
>>>>>>>>>
>>>>>>>>>
>>>>>> --
>>>>>> Cordialement.
>>>>>> Philippe Mouawad.
>>
>
Re: Component adding hotkeys
Posted by sebb <se...@gmail.com>.
On 6 June 2015 at 12:12, Philippe Mouawad <ph...@gmail.com> wrote:
> Ok, as I am on azerty it's the reverse from you that's why it's different
> for me.
> Cmd+shift is not working while it works for milamber on windows 7.
Perhaps try adding another set of bindings like:
public static final KeyStroke CTRL_SHIFT_0 =
KeyStroke.getKeyStroke(KeyEvent.VK_0, CONTROL_MASK |
InputEvent.SHIFT_DOWN_MASK);
and see if that helps
> Regards
>
> On Saturday, June 6, 2015, sebb <se...@gmail.com> wrote:
>
>> On 6 June 2015 at 06:09, Philippe Mouawad <philippe.mouawad@gmail.com
>> <javascript:;>> wrote:
>> > Hi,
>> > I was testing with command not ctrl, it's not working for me (azerty
>> > keyboard) unless I change what I mentioned.
>> > What keys do you use ?
>>
>> The ones above (and slightl to the left of) qwertyuiop
>>
>> These keys are labelled:
>>
>> ! @ £ $ % ^ & * ( )
>> 1 2 3 4 5 6 7 8 9 0
>>
>> [Shift gives the upper row.]
>>
>> > Regards
>> >
>> > On Saturday, June 6, 2015, sebb <sebbaz@gmail.com <javascript:;>> wrote:
>> >
>> >> On 5 June 2015 at 22:06, Philippe Mouawad <philippe.mouawad@gmail.com
>> <javascript:;>
>> >> <javascript:;>> wrote:
>> >> > Hello,
>> >> > I started testing this evening and I have an issue, on Mac Book pro
>> there
>> >> > is no numeric keypad.
>> >> > So I had to change the properties to this and it works:
>> >> > gui.quick_à=ThreadGroupGui
>> >> > gui.quick_&=HttpTestSampleGui
>> >> > gui.quick_é=RegexExtractorGui
>> >> > gui.quick_"=AssertionGui
>> >> > gui.quick_'=ConstantTimerGui
>> >> > gui.quick_(=TestActionGui
>> >> > gui.quick_§=JSR223PostProcessor
>> >> > gui.quick_è=JSR223PreProcessor
>> >> > gui.quick_!=DebugSampler
>> >> > gui.quick_ç=ViewResultsFullVisualizer
>> >> >
>> >> >
>> >> > Is there a better way on Mac Book Pro ?
>> >>
>> >> Ctrl+0 etc does not work on Mac Mini with wireless keyboard.
>> >> This has numeric keys above qwerty (but no keypad).
>> >> However Command+0 etc works fine.
>> >>
>> >> > Regards
>> >> >
>> >> > On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>
>> >> <javascript:;>> wrote:
>> >> >
>> >> >> "Most used" depends on every user. I believe first keys 1-5 will be
>> most
>> >> >> used and we already set them fine. I have just committed it into
>> SVN, it
>> >> >> is your right to change everything as you see it :) I set it like I
>> see
>> >> it.
>> >> >>
>> >> >> Andrey Pokhilko
>> >> >>
>> >> >> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>> >> >> > On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>
>> >> <javascript:;>
>> >> >> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
>> <javascript:;>');>> wrote:
>> >> >> >
>> >> >> >> Not having a Thread Group in hotkeys disbles "fluent start", when
>> you
>> >> >> >> just opened JMeter and immediately start building Test Plan with
>> >> >> >> hotkeys. My UX feeling says that we should still have it. Ctrl+0
>> is
>> >> the
>> >> >> >> most rightsided key, that reflects rarity of usage.
>> >> >> >>
>> >> >> > Agreed
>> >> >> >
>> >> >> >> Having Debug Sampler and View Results Tree also required UX-wise,
>> >> >> >> because you need them not frequently, but always urgently when you
>> >> want
>> >> >> >> to troubleshoot your script and instant usage will gratify
>> hurrying
>> >> >> user.
>> >> >> >>
>> >> >> > But not having CSS/JQuery extractor is not a good thing, In our
>> >> scripting
>> >> >> > experience it is among the top 5 elements used.
>> >> >> > Although new element it is great for html extraction and makes
>> tests
>> >> more
>> >> >> > maintainable
>> >> >> >
>> >> >> >> Finally, user can always set up his preferred keys to reflect his
>> >> style
>> >> >> >> of usage.
>> >> >> >>
>> >> >> > But hotkeys should reflect most used components.
>> >> >> >
>> >> >> >> Andrey Pokhilko
>> >> >> >>
>> >> >> >> On 06/03/2015 03:34 AM, sebb wrote:
>> >> >> >>> On 2 June 2015 at 20:42, Philippe Mouawad <
>> >> philippe.mouawad@gmail.com <javascript:;> <javascript:;>
>> >> >> >> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com
>> <javascript:;>
>> >> <javascript:;>');>> wrote:
>> >> >> >>>> Hi,
>> >> >> >>>> Thanks for taking into account some notes.
>> >> >> >>>>
>> >> >> >>>> 1/ I would put these defaults:
>> >> >> >>>> gui.quick_0=ThreadGroupGui
>> >> >> >>> Although that is needed for every test, often only one is needed.
>> >> >> >>> It seems wasteful to use up a quick key for this.
>> >> >> >>>
>> >> >> >>> Maybe a ThreadGroup should be automatically added to a new test
>> >> plan.
>> >> >> >>> Or a template added that includes a ThreadGroup (possibly plus a
>> >> >> >>> Listener at plan level), and make that the default.
>> >> >> >>>
>> >> >> >>>> gui.quick_1=HttpTestSampleGui
>> >> >> >>>> gui.quick_2=RegexExtractorGui
>> >> >> >>>> gui.quick_3=HtmlExtractorGui
>> >> >> >>>> gui.quick_4=AssertionGui
>> >> >> >>>> gui.quick_5=ConstantTimerGui
>> >> >> >>>> gui.quick_6=GaussianRandomTimerGui
>> >> >> >>>> gui.quick_7=TestActionGui
>> >> >> >>>> gui.quick_8=JSR223PostProcessor
>> >> >> >>>> gui.quick_9=JSR223PreProcessor
>> >> >> >>>>
>> >> >> >>>>
>> >> >> >>>> As for me DebugSampler is not added very frequently, same for
>> >> >> >>>> ViewResultsTree.
>> >> >> >>> I tend to use ViewResultsTree a lot, but again usually only one
>> is
>> >> >> >> needed.
>> >> >> >>>> 2/ Is it a good thing to try to add element somewhere in the
>> tree
>> >> >> >>>> hierarchy ? I would fail if current node does not allow it.
>> >> >> >>>>
>> >> >> >>>> Regards
>> >> >> >>>>
>> >> >> >>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>
>> >> <javascript:;>
>> >> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
>> <javascript:;>');>> wrote:
>> >> >> >>>>> Hi,
>> >> >> >>>>>
>> >> >> >>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>> >> and
>> >> >> >>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>> >> >> >>>>>
>> >> >> >>>>> If there are no objections, I will commit this change within 24
>> >> >> hours.
>> >> >> >>>>>
>> >> >> >>>>> Andrey Pokhilko
>> >> >> >>>>>
>> >> >> >>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>> >> >> >>>>>> Hi,
>> >> >> >>>>>> I think it's a nice idea, we have same the same feedback.
>> >> >> >>>>>>
>> >> >> >>>>>> For me it should be in core once linux issue is fixed, what
>> about
>> >> >> >> tested
>> >> >> >>>>>> platforms:
>> >> >> >>>>>> - Windows 8? 7 ?
>> >> >> >>>>>> - Linux
>> >> >> >>>>>> - Mac OSX ? which os ?
>> >> >> >>>>>>
>> >> >> >>>>>> Regarding other questions, answers inline.
>> >> >> >>>>>>
>> >> >> >>>>>> Regards
>> >> >> >>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>
>> >> <javascript:;>
>> >> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
>> <javascript:;>');>
>> >> >> >>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
>> <javascript:;>
>> >> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
>> <javascript:;>');>');>>
>> >> wrote:
>> >> >> >>>>>>> Hi,
>> >> >> >>>>>>>
>> >> >> >>>>>>> I have colleagues that do heavy JMeter scripting and they
>> come
>> >> with
>> >> >> >> idea
>> >> >> >>>>>>> to speed-up the process: have hotkeys to add JMeter
>> components
>> >> to
>> >> >> >> test
>> >> >> >>>>>>> plan. Using a hotkey eliminates the need to walk through
>> context
>> >> >> >> menus.
>> >> >> >>>>>>> As always, Pareto principle states that 80% of a time people
>> use
>> >> >> 20%
>> >> >> >> of
>> >> >> >>>>>>> components, so small set of hotkeys would cover most of
>> >> situations.
>> >> >> >>>>>>>
>> >> >> >>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey
>> set,
>> >> >> with
>> >> >> >>>>>>> components configurable through properties. Components are
>> added
>> >> >> as a
>> >> >> >>>>>>> child of current position, if possible, or a sibling at the
>> >> nearest
>> >> >> >>>>>>> possible scope. I provided my colleagues with patched JMeter
>> and
>> >> >> they
>> >> >> >>>>>>> found the feature working smoothly.
>> >> >> >>>>>>>
>> >> >> >>>>>>> Pull request for easy review is here:
>> >> >> >>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>> >> bugzilla
>> >> >> >> for
>> >> >> >>>>>>> this when needed.
>> >> >> >>>>>>>
>> >> >> >>>>>>> As always I ask if other committers support adding this into
>> >> main
>> >> >> >> JMeter
>> >> >> >>>>>>> codebase or not.
>> >> >> >>>>>>>
>> >> >> >>>>>>> Some notes/questions from my side:
>> >> >> >>>>>>>
>> >> >> >>>>>>> * Where is appropriate place in the docs to document this
>> >> >> feature?
>> >> >> >>>>>> Somewhere where Search Feature and templates are documented
>> >> >> >>>>>>
>> >> >> >>>>>>
>> >> >> >>>>>>
>> >> >> >>>>>>> * Are defaults good? What are most used JMeter components?
>> >> >> >>>>>> I would remove or put them at end:
>> >> >> >>>>>> View Results Tree
>> >> >> >>>>>> User Defined Variables
>> >> >> >>>>>> Test Fragment
>> >> >> >>>>>>
>> >> >> >>>>>> as although popular you rarely add more than 2 or 3.
>> >> >> >>>>>>
>> >> >> >>>>>> I would add :
>> >> >> >>>>>> - Css/JQuery extractor
>> >> >> >>>>>> - Jsr223 Post processor
>> >> >> >>>>>> - Test Action for the timer discussion we had
>> >> >> >>>>>> - JSR223 Pre processir
>> >> >> >>>>>> -Debug Sampler
>> >> >> >>>>>>
>> >> >> >>>>>>
>> >> >> >>>>>>
>> >> >> >>>>>>> * Is there a way to specify component names in properties
>> >> instead
>> >> >> >> of
>> >> >> >>>>>>> classes?
>> >> >> >>>>>> There are name shortcuts in saveservice.properties
>> >> >> >>>>>>
>> >> >> >>>>>>
>> >> >> >>>>>>
>> >> >> >>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>> >> wonder if
>> >> >> >>>>>>> somebody knows why.
>> >> >> >>>>>>>
>> >> >> >>>>>>> --
>> >> >> >>>>>>> Andrey Pokhilko
>> >> >> >>>>>>>
>> >> >> >>>>>>>
>> >> >> >>>> --
>> >> >> >>>> Cordialement.
>> >> >> >>>> Philippe Mouawad.
>> >> >> >>
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> > --
>> >> > Cordialement.
>> >> > Philippe Mouawad.
>> >>
>> >
>> >
>> > --
>> > Cordialement.
>> > Philippe Mouawad.
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
Re: Component adding hotkeys
Posted by Philippe Mouawad <ph...@gmail.com>.
Ok, as I am on azerty it's the reverse from you that's why it's different
for me.
Cmd+shift is not working while it works for milamber on windows 7.
Regards
On Saturday, June 6, 2015, sebb <se...@gmail.com> wrote:
> On 6 June 2015 at 06:09, Philippe Mouawad <philippe.mouawad@gmail.com
> <javascript:;>> wrote:
> > Hi,
> > I was testing with command not ctrl, it's not working for me (azerty
> > keyboard) unless I change what I mentioned.
> > What keys do you use ?
>
> The ones above (and slightl to the left of) qwertyuiop
>
> These keys are labelled:
>
> ! @ £ $ % ^ & * ( )
> 1 2 3 4 5 6 7 8 9 0
>
> [Shift gives the upper row.]
>
> > Regards
> >
> > On Saturday, June 6, 2015, sebb <sebbaz@gmail.com <javascript:;>> wrote:
> >
> >> On 5 June 2015 at 22:06, Philippe Mouawad <philippe.mouawad@gmail.com
> <javascript:;>
> >> <javascript:;>> wrote:
> >> > Hello,
> >> > I started testing this evening and I have an issue, on Mac Book pro
> there
> >> > is no numeric keypad.
> >> > So I had to change the properties to this and it works:
> >> > gui.quick_à=ThreadGroupGui
> >> > gui.quick_&=HttpTestSampleGui
> >> > gui.quick_é=RegexExtractorGui
> >> > gui.quick_"=AssertionGui
> >> > gui.quick_'=ConstantTimerGui
> >> > gui.quick_(=TestActionGui
> >> > gui.quick_§=JSR223PostProcessor
> >> > gui.quick_è=JSR223PreProcessor
> >> > gui.quick_!=DebugSampler
> >> > gui.quick_ç=ViewResultsFullVisualizer
> >> >
> >> >
> >> > Is there a better way on Mac Book Pro ?
> >>
> >> Ctrl+0 etc does not work on Mac Mini with wireless keyboard.
> >> This has numeric keys above qwerty (but no keypad).
> >> However Command+0 etc works fine.
> >>
> >> > Regards
> >> >
> >> > On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>
> >> <javascript:;>> wrote:
> >> >
> >> >> "Most used" depends on every user. I believe first keys 1-5 will be
> most
> >> >> used and we already set them fine. I have just committed it into
> SVN, it
> >> >> is your right to change everything as you see it :) I set it like I
> see
> >> it.
> >> >>
> >> >> Andrey Pokhilko
> >> >>
> >> >> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
> >> >> > On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>
> >> <javascript:;>
> >> >> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
> <javascript:;>');>> wrote:
> >> >> >
> >> >> >> Not having a Thread Group in hotkeys disbles "fluent start", when
> you
> >> >> >> just opened JMeter and immediately start building Test Plan with
> >> >> >> hotkeys. My UX feeling says that we should still have it. Ctrl+0
> is
> >> the
> >> >> >> most rightsided key, that reflects rarity of usage.
> >> >> >>
> >> >> > Agreed
> >> >> >
> >> >> >> Having Debug Sampler and View Results Tree also required UX-wise,
> >> >> >> because you need them not frequently, but always urgently when you
> >> want
> >> >> >> to troubleshoot your script and instant usage will gratify
> hurrying
> >> >> user.
> >> >> >>
> >> >> > But not having CSS/JQuery extractor is not a good thing, In our
> >> scripting
> >> >> > experience it is among the top 5 elements used.
> >> >> > Although new element it is great for html extraction and makes
> tests
> >> more
> >> >> > maintainable
> >> >> >
> >> >> >> Finally, user can always set up his preferred keys to reflect his
> >> style
> >> >> >> of usage.
> >> >> >>
> >> >> > But hotkeys should reflect most used components.
> >> >> >
> >> >> >> Andrey Pokhilko
> >> >> >>
> >> >> >> On 06/03/2015 03:34 AM, sebb wrote:
> >> >> >>> On 2 June 2015 at 20:42, Philippe Mouawad <
> >> philippe.mouawad@gmail.com <javascript:;> <javascript:;>
> >> >> >> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com
> <javascript:;>
> >> <javascript:;>');>> wrote:
> >> >> >>>> Hi,
> >> >> >>>> Thanks for taking into account some notes.
> >> >> >>>>
> >> >> >>>> 1/ I would put these defaults:
> >> >> >>>> gui.quick_0=ThreadGroupGui
> >> >> >>> Although that is needed for every test, often only one is needed.
> >> >> >>> It seems wasteful to use up a quick key for this.
> >> >> >>>
> >> >> >>> Maybe a ThreadGroup should be automatically added to a new test
> >> plan.
> >> >> >>> Or a template added that includes a ThreadGroup (possibly plus a
> >> >> >>> Listener at plan level), and make that the default.
> >> >> >>>
> >> >> >>>> gui.quick_1=HttpTestSampleGui
> >> >> >>>> gui.quick_2=RegexExtractorGui
> >> >> >>>> gui.quick_3=HtmlExtractorGui
> >> >> >>>> gui.quick_4=AssertionGui
> >> >> >>>> gui.quick_5=ConstantTimerGui
> >> >> >>>> gui.quick_6=GaussianRandomTimerGui
> >> >> >>>> gui.quick_7=TestActionGui
> >> >> >>>> gui.quick_8=JSR223PostProcessor
> >> >> >>>> gui.quick_9=JSR223PreProcessor
> >> >> >>>>
> >> >> >>>>
> >> >> >>>> As for me DebugSampler is not added very frequently, same for
> >> >> >>>> ViewResultsTree.
> >> >> >>> I tend to use ViewResultsTree a lot, but again usually only one
> is
> >> >> >> needed.
> >> >> >>>> 2/ Is it a good thing to try to add element somewhere in the
> tree
> >> >> >>>> hierarchy ? I would fail if current node does not allow it.
> >> >> >>>>
> >> >> >>>> Regards
> >> >> >>>>
> >> >> >>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>
> >> <javascript:;>
> >> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
> <javascript:;>');>> wrote:
> >> >> >>>>> Hi,
> >> >> >>>>>
> >> >> >>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
> >> and
> >> >> >>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
> >> >> >>>>>
> >> >> >>>>> If there are no objections, I will commit this change within 24
> >> >> hours.
> >> >> >>>>>
> >> >> >>>>> Andrey Pokhilko
> >> >> >>>>>
> >> >> >>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
> >> >> >>>>>> Hi,
> >> >> >>>>>> I think it's a nice idea, we have same the same feedback.
> >> >> >>>>>>
> >> >> >>>>>> For me it should be in core once linux issue is fixed, what
> about
> >> >> >> tested
> >> >> >>>>>> platforms:
> >> >> >>>>>> - Windows 8? 7 ?
> >> >> >>>>>> - Linux
> >> >> >>>>>> - Mac OSX ? which os ?
> >> >> >>>>>>
> >> >> >>>>>> Regarding other questions, answers inline.
> >> >> >>>>>>
> >> >> >>>>>> Regards
> >> >> >>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>
> >> <javascript:;>
> >> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
> <javascript:;>');>
> >> >> >>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
> <javascript:;>
> >> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
> <javascript:;>');>');>>
> >> wrote:
> >> >> >>>>>>> Hi,
> >> >> >>>>>>>
> >> >> >>>>>>> I have colleagues that do heavy JMeter scripting and they
> come
> >> with
> >> >> >> idea
> >> >> >>>>>>> to speed-up the process: have hotkeys to add JMeter
> components
> >> to
> >> >> >> test
> >> >> >>>>>>> plan. Using a hotkey eliminates the need to walk through
> context
> >> >> >> menus.
> >> >> >>>>>>> As always, Pareto principle states that 80% of a time people
> use
> >> >> 20%
> >> >> >> of
> >> >> >>>>>>> components, so small set of hotkeys would cover most of
> >> situations.
> >> >> >>>>>>>
> >> >> >>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey
> set,
> >> >> with
> >> >> >>>>>>> components configurable through properties. Components are
> added
> >> >> as a
> >> >> >>>>>>> child of current position, if possible, or a sibling at the
> >> nearest
> >> >> >>>>>>> possible scope. I provided my colleagues with patched JMeter
> and
> >> >> they
> >> >> >>>>>>> found the feature working smoothly.
> >> >> >>>>>>>
> >> >> >>>>>>> Pull request for easy review is here:
> >> >> >>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
> >> bugzilla
> >> >> >> for
> >> >> >>>>>>> this when needed.
> >> >> >>>>>>>
> >> >> >>>>>>> As always I ask if other committers support adding this into
> >> main
> >> >> >> JMeter
> >> >> >>>>>>> codebase or not.
> >> >> >>>>>>>
> >> >> >>>>>>> Some notes/questions from my side:
> >> >> >>>>>>>
> >> >> >>>>>>> * Where is appropriate place in the docs to document this
> >> >> feature?
> >> >> >>>>>> Somewhere where Search Feature and templates are documented
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>>> * Are defaults good? What are most used JMeter components?
> >> >> >>>>>> I would remove or put them at end:
> >> >> >>>>>> View Results Tree
> >> >> >>>>>> User Defined Variables
> >> >> >>>>>> Test Fragment
> >> >> >>>>>>
> >> >> >>>>>> as although popular you rarely add more than 2 or 3.
> >> >> >>>>>>
> >> >> >>>>>> I would add :
> >> >> >>>>>> - Css/JQuery extractor
> >> >> >>>>>> - Jsr223 Post processor
> >> >> >>>>>> - Test Action for the timer discussion we had
> >> >> >>>>>> - JSR223 Pre processir
> >> >> >>>>>> -Debug Sampler
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>>> * Is there a way to specify component names in properties
> >> instead
> >> >> >> of
> >> >> >>>>>>> classes?
> >> >> >>>>>> There are name shortcuts in saveservice.properties
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>>
> >> >> >>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
> >> wonder if
> >> >> >>>>>>> somebody knows why.
> >> >> >>>>>>>
> >> >> >>>>>>> --
> >> >> >>>>>>> Andrey Pokhilko
> >> >> >>>>>>>
> >> >> >>>>>>>
> >> >> >>>> --
> >> >> >>>> Cordialement.
> >> >> >>>> Philippe Mouawad.
> >> >> >>
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Cordialement.
> >> > Philippe Mouawad.
> >>
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
>
--
Cordialement.
Philippe Mouawad.
Re: Component adding hotkeys
Posted by sebb <se...@gmail.com>.
On 6 June 2015 at 06:09, Philippe Mouawad <ph...@gmail.com> wrote:
> Hi,
> I was testing with command not ctrl, it's not working for me (azerty
> keyboard) unless I change what I mentioned.
> What keys do you use ?
The ones above (and slightl to the left of) qwertyuiop
These keys are labelled:
! @ £ $ % ^ & * ( )
1 2 3 4 5 6 7 8 9 0
[Shift gives the upper row.]
> Regards
>
> On Saturday, June 6, 2015, sebb <se...@gmail.com> wrote:
>
>> On 5 June 2015 at 22:06, Philippe Mouawad <philippe.mouawad@gmail.com
>> <javascript:;>> wrote:
>> > Hello,
>> > I started testing this evening and I have an issue, on Mac Book pro there
>> > is no numeric keypad.
>> > So I had to change the properties to this and it works:
>> > gui.quick_à=ThreadGroupGui
>> > gui.quick_&=HttpTestSampleGui
>> > gui.quick_é=RegexExtractorGui
>> > gui.quick_"=AssertionGui
>> > gui.quick_'=ConstantTimerGui
>> > gui.quick_(=TestActionGui
>> > gui.quick_§=JSR223PostProcessor
>> > gui.quick_è=JSR223PreProcessor
>> > gui.quick_!=DebugSampler
>> > gui.quick_ç=ViewResultsFullVisualizer
>> >
>> >
>> > Is there a better way on Mac Book Pro ?
>>
>> Ctrl+0 etc does not work on Mac Mini with wireless keyboard.
>> This has numeric keys above qwerty (but no keypad).
>> However Command+0 etc works fine.
>>
>> > Regards
>> >
>> > On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>> wrote:
>> >
>> >> "Most used" depends on every user. I believe first keys 1-5 will be most
>> >> used and we already set them fine. I have just committed it into SVN, it
>> >> is your right to change everything as you see it :) I set it like I see
>> it.
>> >>
>> >> Andrey Pokhilko
>> >>
>> >> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>> >> > On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>
>> >> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>> wrote:
>> >> >
>> >> >> Not having a Thread Group in hotkeys disbles "fluent start", when you
>> >> >> just opened JMeter and immediately start building Test Plan with
>> >> >> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is
>> the
>> >> >> most rightsided key, that reflects rarity of usage.
>> >> >>
>> >> > Agreed
>> >> >
>> >> >> Having Debug Sampler and View Results Tree also required UX-wise,
>> >> >> because you need them not frequently, but always urgently when you
>> want
>> >> >> to troubleshoot your script and instant usage will gratify hurrying
>> >> user.
>> >> >>
>> >> > But not having CSS/JQuery extractor is not a good thing, In our
>> scripting
>> >> > experience it is among the top 5 elements used.
>> >> > Although new element it is great for html extraction and makes tests
>> more
>> >> > maintainable
>> >> >
>> >> >> Finally, user can always set up his preferred keys to reflect his
>> style
>> >> >> of usage.
>> >> >>
>> >> > But hotkeys should reflect most used components.
>> >> >
>> >> >> Andrey Pokhilko
>> >> >>
>> >> >> On 06/03/2015 03:34 AM, sebb wrote:
>> >> >>> On 2 June 2015 at 20:42, Philippe Mouawad <
>> philippe.mouawad@gmail.com <javascript:;>
>> >> >> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com
>> <javascript:;>');>> wrote:
>> >> >>>> Hi,
>> >> >>>> Thanks for taking into account some notes.
>> >> >>>>
>> >> >>>> 1/ I would put these defaults:
>> >> >>>> gui.quick_0=ThreadGroupGui
>> >> >>> Although that is needed for every test, often only one is needed.
>> >> >>> It seems wasteful to use up a quick key for this.
>> >> >>>
>> >> >>> Maybe a ThreadGroup should be automatically added to a new test
>> plan.
>> >> >>> Or a template added that includes a ThreadGroup (possibly plus a
>> >> >>> Listener at plan level), and make that the default.
>> >> >>>
>> >> >>>> gui.quick_1=HttpTestSampleGui
>> >> >>>> gui.quick_2=RegexExtractorGui
>> >> >>>> gui.quick_3=HtmlExtractorGui
>> >> >>>> gui.quick_4=AssertionGui
>> >> >>>> gui.quick_5=ConstantTimerGui
>> >> >>>> gui.quick_6=GaussianRandomTimerGui
>> >> >>>> gui.quick_7=TestActionGui
>> >> >>>> gui.quick_8=JSR223PostProcessor
>> >> >>>> gui.quick_9=JSR223PreProcessor
>> >> >>>>
>> >> >>>>
>> >> >>>> As for me DebugSampler is not added very frequently, same for
>> >> >>>> ViewResultsTree.
>> >> >>> I tend to use ViewResultsTree a lot, but again usually only one is
>> >> >> needed.
>> >> >>>> 2/ Is it a good thing to try to add element somewhere in the tree
>> >> >>>> hierarchy ? I would fail if current node does not allow it.
>> >> >>>>
>> >> >>>> Regards
>> >> >>>>
>> >> >>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>
>> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>> wrote:
>> >> >>>>> Hi,
>> >> >>>>>
>> >> >>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
>> and
>> >> >>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>> >> >>>>>
>> >> >>>>> If there are no objections, I will commit this change within 24
>> >> hours.
>> >> >>>>>
>> >> >>>>> Andrey Pokhilko
>> >> >>>>>
>> >> >>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>> >> >>>>>> Hi,
>> >> >>>>>> I think it's a nice idea, we have same the same feedback.
>> >> >>>>>>
>> >> >>>>>> For me it should be in core once linux issue is fixed, what about
>> >> >> tested
>> >> >>>>>> platforms:
>> >> >>>>>> - Windows 8? 7 ?
>> >> >>>>>> - Linux
>> >> >>>>>> - Mac OSX ? which os ?
>> >> >>>>>>
>> >> >>>>>> Regarding other questions, answers inline.
>> >> >>>>>>
>> >> >>>>>> Regards
>> >> >>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>> <javascript:;>
>> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>
>> >> >>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
>> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>');>>
>> wrote:
>> >> >>>>>>> Hi,
>> >> >>>>>>>
>> >> >>>>>>> I have colleagues that do heavy JMeter scripting and they come
>> with
>> >> >> idea
>> >> >>>>>>> to speed-up the process: have hotkeys to add JMeter components
>> to
>> >> >> test
>> >> >>>>>>> plan. Using a hotkey eliminates the need to walk through context
>> >> >> menus.
>> >> >>>>>>> As always, Pareto principle states that 80% of a time people use
>> >> 20%
>> >> >> of
>> >> >>>>>>> components, so small set of hotkeys would cover most of
>> situations.
>> >> >>>>>>>
>> >> >>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>> >> with
>> >> >>>>>>> components configurable through properties. Components are added
>> >> as a
>> >> >>>>>>> child of current position, if possible, or a sibling at the
>> nearest
>> >> >>>>>>> possible scope. I provided my colleagues with patched JMeter and
>> >> they
>> >> >>>>>>> found the feature working smoothly.
>> >> >>>>>>>
>> >> >>>>>>> Pull request for easy review is here:
>> >> >>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
>> bugzilla
>> >> >> for
>> >> >>>>>>> this when needed.
>> >> >>>>>>>
>> >> >>>>>>> As always I ask if other committers support adding this into
>> main
>> >> >> JMeter
>> >> >>>>>>> codebase or not.
>> >> >>>>>>>
>> >> >>>>>>> Some notes/questions from my side:
>> >> >>>>>>>
>> >> >>>>>>> * Where is appropriate place in the docs to document this
>> >> feature?
>> >> >>>>>> Somewhere where Search Feature and templates are documented
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>> * Are defaults good? What are most used JMeter components?
>> >> >>>>>> I would remove or put them at end:
>> >> >>>>>> View Results Tree
>> >> >>>>>> User Defined Variables
>> >> >>>>>> Test Fragment
>> >> >>>>>>
>> >> >>>>>> as although popular you rarely add more than 2 or 3.
>> >> >>>>>>
>> >> >>>>>> I would add :
>> >> >>>>>> - Css/JQuery extractor
>> >> >>>>>> - Jsr223 Post processor
>> >> >>>>>> - Test Action for the timer discussion we had
>> >> >>>>>> - JSR223 Pre processir
>> >> >>>>>> -Debug Sampler
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>> * Is there a way to specify component names in properties
>> instead
>> >> >> of
>> >> >>>>>>> classes?
>> >> >>>>>> There are name shortcuts in saveservice.properties
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>
>> >> >>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
>> wonder if
>> >> >>>>>>> somebody knows why.
>> >> >>>>>>>
>> >> >>>>>>> --
>> >> >>>>>>> Andrey Pokhilko
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>> --
>> >> >>>> Cordialement.
>> >> >>>> Philippe Mouawad.
>> >> >>
>> >> >
>> >>
>> >>
>> >
>> >
>> > --
>> > Cordialement.
>> > Philippe Mouawad.
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
Re: Component adding hotkeys
Posted by Philippe Mouawad <ph...@gmail.com>.
Hi,
I was testing with command not ctrl, it's not working for me (azerty
keyboard) unless I change what I mentioned.
What keys do you use ?
Regards
On Saturday, June 6, 2015, sebb <se...@gmail.com> wrote:
> On 5 June 2015 at 22:06, Philippe Mouawad <philippe.mouawad@gmail.com
> <javascript:;>> wrote:
> > Hello,
> > I started testing this evening and I have an issue, on Mac Book pro there
> > is no numeric keypad.
> > So I had to change the properties to this and it works:
> > gui.quick_à=ThreadGroupGui
> > gui.quick_&=HttpTestSampleGui
> > gui.quick_é=RegexExtractorGui
> > gui.quick_"=AssertionGui
> > gui.quick_'=ConstantTimerGui
> > gui.quick_(=TestActionGui
> > gui.quick_§=JSR223PostProcessor
> > gui.quick_è=JSR223PreProcessor
> > gui.quick_!=DebugSampler
> > gui.quick_ç=ViewResultsFullVisualizer
> >
> >
> > Is there a better way on Mac Book Pro ?
>
> Ctrl+0 etc does not work on Mac Mini with wireless keyboard.
> This has numeric keys above qwerty (but no keypad).
> However Command+0 etc works fine.
>
> > Regards
> >
> > On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>> wrote:
> >
> >> "Most used" depends on every user. I believe first keys 1-5 will be most
> >> used and we already set them fine. I have just committed it into SVN, it
> >> is your right to change everything as you see it :) I set it like I see
> it.
> >>
> >> Andrey Pokhilko
> >>
> >> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
> >> > On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>
> >> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>> wrote:
> >> >
> >> >> Not having a Thread Group in hotkeys disbles "fluent start", when you
> >> >> just opened JMeter and immediately start building Test Plan with
> >> >> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is
> the
> >> >> most rightsided key, that reflects rarity of usage.
> >> >>
> >> > Agreed
> >> >
> >> >> Having Debug Sampler and View Results Tree also required UX-wise,
> >> >> because you need them not frequently, but always urgently when you
> want
> >> >> to troubleshoot your script and instant usage will gratify hurrying
> >> user.
> >> >>
> >> > But not having CSS/JQuery extractor is not a good thing, In our
> scripting
> >> > experience it is among the top 5 elements used.
> >> > Although new element it is great for html extraction and makes tests
> more
> >> > maintainable
> >> >
> >> >> Finally, user can always set up his preferred keys to reflect his
> style
> >> >> of usage.
> >> >>
> >> > But hotkeys should reflect most used components.
> >> >
> >> >> Andrey Pokhilko
> >> >>
> >> >> On 06/03/2015 03:34 AM, sebb wrote:
> >> >>> On 2 June 2015 at 20:42, Philippe Mouawad <
> philippe.mouawad@gmail.com <javascript:;>
> >> >> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com
> <javascript:;>');>> wrote:
> >> >>>> Hi,
> >> >>>> Thanks for taking into account some notes.
> >> >>>>
> >> >>>> 1/ I would put these defaults:
> >> >>>> gui.quick_0=ThreadGroupGui
> >> >>> Although that is needed for every test, often only one is needed.
> >> >>> It seems wasteful to use up a quick key for this.
> >> >>>
> >> >>> Maybe a ThreadGroup should be automatically added to a new test
> plan.
> >> >>> Or a template added that includes a ThreadGroup (possibly plus a
> >> >>> Listener at plan level), and make that the default.
> >> >>>
> >> >>>> gui.quick_1=HttpTestSampleGui
> >> >>>> gui.quick_2=RegexExtractorGui
> >> >>>> gui.quick_3=HtmlExtractorGui
> >> >>>> gui.quick_4=AssertionGui
> >> >>>> gui.quick_5=ConstantTimerGui
> >> >>>> gui.quick_6=GaussianRandomTimerGui
> >> >>>> gui.quick_7=TestActionGui
> >> >>>> gui.quick_8=JSR223PostProcessor
> >> >>>> gui.quick_9=JSR223PreProcessor
> >> >>>>
> >> >>>>
> >> >>>> As for me DebugSampler is not added very frequently, same for
> >> >>>> ViewResultsTree.
> >> >>> I tend to use ViewResultsTree a lot, but again usually only one is
> >> >> needed.
> >> >>>> 2/ Is it a good thing to try to add element somewhere in the tree
> >> >>>> hierarchy ? I would fail if current node does not allow it.
> >> >>>>
> >> >>>> Regards
> >> >>>>
> >> >>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>
> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>> wrote:
> >> >>>>> Hi,
> >> >>>>>
> >> >>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc
> and
> >> >>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
> >> >>>>>
> >> >>>>> If there are no objections, I will commit this change within 24
> >> hours.
> >> >>>>>
> >> >>>>> Andrey Pokhilko
> >> >>>>>
> >> >>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
> >> >>>>>> Hi,
> >> >>>>>> I think it's a nice idea, we have same the same feedback.
> >> >>>>>>
> >> >>>>>> For me it should be in core once linux issue is fixed, what about
> >> >> tested
> >> >>>>>> platforms:
> >> >>>>>> - Windows 8? 7 ?
> >> >>>>>> - Linux
> >> >>>>>> - Mac OSX ? which os ?
> >> >>>>>>
> >> >>>>>> Regarding other questions, answers inline.
> >> >>>>>>
> >> >>>>>> Regards
> >> >>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
> <javascript:;>
> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>
> >> >>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>
> >> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru <javascript:;>');>');>>
> wrote:
> >> >>>>>>> Hi,
> >> >>>>>>>
> >> >>>>>>> I have colleagues that do heavy JMeter scripting and they come
> with
> >> >> idea
> >> >>>>>>> to speed-up the process: have hotkeys to add JMeter components
> to
> >> >> test
> >> >>>>>>> plan. Using a hotkey eliminates the need to walk through context
> >> >> menus.
> >> >>>>>>> As always, Pareto principle states that 80% of a time people use
> >> 20%
> >> >> of
> >> >>>>>>> components, so small set of hotkeys would cover most of
> situations.
> >> >>>>>>>
> >> >>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
> >> with
> >> >>>>>>> components configurable through properties. Components are added
> >> as a
> >> >>>>>>> child of current position, if possible, or a sibling at the
> nearest
> >> >>>>>>> possible scope. I provided my colleagues with patched JMeter and
> >> they
> >> >>>>>>> found the feature working smoothly.
> >> >>>>>>>
> >> >>>>>>> Pull request for easy review is here:
> >> >>>>>>> https://github.com/apache/jmeter/pull/16 , I will create
> bugzilla
> >> >> for
> >> >>>>>>> this when needed.
> >> >>>>>>>
> >> >>>>>>> As always I ask if other committers support adding this into
> main
> >> >> JMeter
> >> >>>>>>> codebase or not.
> >> >>>>>>>
> >> >>>>>>> Some notes/questions from my side:
> >> >>>>>>>
> >> >>>>>>> * Where is appropriate place in the docs to document this
> >> feature?
> >> >>>>>> Somewhere where Search Feature and templates are documented
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>> * Are defaults good? What are most used JMeter components?
> >> >>>>>> I would remove or put them at end:
> >> >>>>>> View Results Tree
> >> >>>>>> User Defined Variables
> >> >>>>>> Test Fragment
> >> >>>>>>
> >> >>>>>> as although popular you rarely add more than 2 or 3.
> >> >>>>>>
> >> >>>>>> I would add :
> >> >>>>>> - Css/JQuery extractor
> >> >>>>>> - Jsr223 Post processor
> >> >>>>>> - Test Action for the timer discussion we had
> >> >>>>>> - JSR223 Pre processir
> >> >>>>>> -Debug Sampler
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>> * Is there a way to specify component names in properties
> instead
> >> >> of
> >> >>>>>>> classes?
> >> >>>>>> There are name shortcuts in saveservice.properties
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>
> >> >>>>>>> * On my Linux Ctrl+9 does not work for some reason... I
> wonder if
> >> >>>>>>> somebody knows why.
> >> >>>>>>>
> >> >>>>>>> --
> >> >>>>>>> Andrey Pokhilko
> >> >>>>>>>
> >> >>>>>>>
> >> >>>> --
> >> >>>> Cordialement.
> >> >>>> Philippe Mouawad.
> >> >>
> >> >
> >>
> >>
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.
>
--
Cordialement.
Philippe Mouawad.
Re: Component adding hotkeys
Posted by sebb <se...@gmail.com>.
On 5 June 2015 at 22:06, Philippe Mouawad <ph...@gmail.com> wrote:
> Hello,
> I started testing this evening and I have an issue, on Mac Book pro there
> is no numeric keypad.
> So I had to change the properties to this and it works:
> gui.quick_à=ThreadGroupGui
> gui.quick_&=HttpTestSampleGui
> gui.quick_é=RegexExtractorGui
> gui.quick_"=AssertionGui
> gui.quick_'=ConstantTimerGui
> gui.quick_(=TestActionGui
> gui.quick_§=JSR223PostProcessor
> gui.quick_è=JSR223PreProcessor
> gui.quick_!=DebugSampler
> gui.quick_ç=ViewResultsFullVisualizer
>
>
> Is there a better way on Mac Book Pro ?
Ctrl+0 etc does not work on Mac Mini with wireless keyboard.
This has numeric keys above qwerty (but no keypad).
However Command+0 etc works fine.
> Regards
>
> On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>
>> "Most used" depends on every user. I believe first keys 1-5 will be most
>> used and we already set them fine. I have just committed it into SVN, it
>> is your right to change everything as you see it :) I set it like I see it.
>>
>> Andrey Pokhilko
>>
>> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
>> > On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
>> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>> >
>> >> Not having a Thread Group in hotkeys disbles "fluent start", when you
>> >> just opened JMeter and immediately start building Test Plan with
>> >> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
>> >> most rightsided key, that reflects rarity of usage.
>> >>
>> > Agreed
>> >
>> >> Having Debug Sampler and View Results Tree also required UX-wise,
>> >> because you need them not frequently, but always urgently when you want
>> >> to troubleshoot your script and instant usage will gratify hurrying
>> user.
>> >>
>> > But not having CSS/JQuery extractor is not a good thing, In our scripting
>> > experience it is among the top 5 elements used.
>> > Although new element it is great for html extraction and makes tests more
>> > maintainable
>> >
>> >> Finally, user can always set up his preferred keys to reflect his style
>> >> of usage.
>> >>
>> > But hotkeys should reflect most used components.
>> >
>> >> Andrey Pokhilko
>> >>
>> >> On 06/03/2015 03:34 AM, sebb wrote:
>> >>> On 2 June 2015 at 20:42, Philippe Mouawad <philippe.mouawad@gmail.com
>> >> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>> >>>> Hi,
>> >>>> Thanks for taking into account some notes.
>> >>>>
>> >>>> 1/ I would put these defaults:
>> >>>> gui.quick_0=ThreadGroupGui
>> >>> Although that is needed for every test, often only one is needed.
>> >>> It seems wasteful to use up a quick key for this.
>> >>>
>> >>> Maybe a ThreadGroup should be automatically added to a new test plan.
>> >>> Or a template added that includes a ThreadGroup (possibly plus a
>> >>> Listener at plan level), and make that the default.
>> >>>
>> >>>> gui.quick_1=HttpTestSampleGui
>> >>>> gui.quick_2=RegexExtractorGui
>> >>>> gui.quick_3=HtmlExtractorGui
>> >>>> gui.quick_4=AssertionGui
>> >>>> gui.quick_5=ConstantTimerGui
>> >>>> gui.quick_6=GaussianRandomTimerGui
>> >>>> gui.quick_7=TestActionGui
>> >>>> gui.quick_8=JSR223PostProcessor
>> >>>> gui.quick_9=JSR223PreProcessor
>> >>>>
>> >>>>
>> >>>> As for me DebugSampler is not added very frequently, same for
>> >>>> ViewResultsTree.
>> >>> I tend to use ViewResultsTree a lot, but again usually only one is
>> >> needed.
>> >>>> 2/ Is it a good thing to try to add element somewhere in the tree
>> >>>> hierarchy ? I would fail if current node does not allow it.
>> >>>>
>> >>>> Regards
>> >>>>
>> >>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>> >>>>> Hi,
>> >>>>>
>> >>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>> >>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>> >>>>>
>> >>>>> If there are no objections, I will commit this change within 24
>> hours.
>> >>>>>
>> >>>>> Andrey Pokhilko
>> >>>>>
>> >>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>> >>>>>> Hi,
>> >>>>>> I think it's a nice idea, we have same the same feedback.
>> >>>>>>
>> >>>>>> For me it should be in core once linux issue is fixed, what about
>> >> tested
>> >>>>>> platforms:
>> >>>>>> - Windows 8? 7 ?
>> >>>>>> - Linux
>> >>>>>> - Mac OSX ? which os ?
>> >>>>>>
>> >>>>>> Regarding other questions, answers inline.
>> >>>>>>
>> >>>>>> Regards
>> >>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>> >>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>> >>>>>>> Hi,
>> >>>>>>>
>> >>>>>>> I have colleagues that do heavy JMeter scripting and they come with
>> >> idea
>> >>>>>>> to speed-up the process: have hotkeys to add JMeter components to
>> >> test
>> >>>>>>> plan. Using a hotkey eliminates the need to walk through context
>> >> menus.
>> >>>>>>> As always, Pareto principle states that 80% of a time people use
>> 20%
>> >> of
>> >>>>>>> components, so small set of hotkeys would cover most of situations.
>> >>>>>>>
>> >>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
>> with
>> >>>>>>> components configurable through properties. Components are added
>> as a
>> >>>>>>> child of current position, if possible, or a sibling at the nearest
>> >>>>>>> possible scope. I provided my colleagues with patched JMeter and
>> they
>> >>>>>>> found the feature working smoothly.
>> >>>>>>>
>> >>>>>>> Pull request for easy review is here:
>> >>>>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla
>> >> for
>> >>>>>>> this when needed.
>> >>>>>>>
>> >>>>>>> As always I ask if other committers support adding this into main
>> >> JMeter
>> >>>>>>> codebase or not.
>> >>>>>>>
>> >>>>>>> Some notes/questions from my side:
>> >>>>>>>
>> >>>>>>> * Where is appropriate place in the docs to document this
>> feature?
>> >>>>>> Somewhere where Search Feature and templates are documented
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>> * Are defaults good? What are most used JMeter components?
>> >>>>>> I would remove or put them at end:
>> >>>>>> View Results Tree
>> >>>>>> User Defined Variables
>> >>>>>> Test Fragment
>> >>>>>>
>> >>>>>> as although popular you rarely add more than 2 or 3.
>> >>>>>>
>> >>>>>> I would add :
>> >>>>>> - Css/JQuery extractor
>> >>>>>> - Jsr223 Post processor
>> >>>>>> - Test Action for the timer discussion we had
>> >>>>>> - JSR223 Pre processir
>> >>>>>> -Debug Sampler
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>> * Is there a way to specify component names in properties instead
>> >> of
>> >>>>>>> classes?
>> >>>>>> There are name shortcuts in saveservice.properties
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>> >>>>>>> somebody knows why.
>> >>>>>>>
>> >>>>>>> --
>> >>>>>>> Andrey Pokhilko
>> >>>>>>>
>> >>>>>>>
>> >>>> --
>> >>>> Cordialement.
>> >>>> Philippe Mouawad.
>> >>
>> >
>>
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
Re: Component adding hotkeys
Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
I started testing this evening and I have an issue, on Mac Book pro there
is no numeric keypad.
So I had to change the properties to this and it works:
gui.quick_à=ThreadGroupGui
gui.quick_&=HttpTestSampleGui
gui.quick_é=RegexExtractorGui
gui.quick_"=AssertionGui
gui.quick_'=ConstantTimerGui
gui.quick_(=TestActionGui
gui.quick_§=JSR223PostProcessor
gui.quick_è=JSR223PreProcessor
gui.quick_!=DebugSampler
gui.quick_ç=ViewResultsFullVisualizer
Is there a better way on Mac Book Pro ?
Regards
On Wed, Jun 3, 2015 at 1:17 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
> "Most used" depends on every user. I believe first keys 1-5 will be most
> used and we already set them fine. I have just committed it into SVN, it
> is your right to change everything as you see it :) I set it like I see it.
>
> Andrey Pokhilko
>
> On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
> > On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
> >
> >> Not having a Thread Group in hotkeys disbles "fluent start", when you
> >> just opened JMeter and immediately start building Test Plan with
> >> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
> >> most rightsided key, that reflects rarity of usage.
> >>
> > Agreed
> >
> >> Having Debug Sampler and View Results Tree also required UX-wise,
> >> because you need them not frequently, but always urgently when you want
> >> to troubleshoot your script and instant usage will gratify hurrying
> user.
> >>
> > But not having CSS/JQuery extractor is not a good thing, In our scripting
> > experience it is among the top 5 elements used.
> > Although new element it is great for html extraction and makes tests more
> > maintainable
> >
> >> Finally, user can always set up his preferred keys to reflect his style
> >> of usage.
> >>
> > But hotkeys should reflect most used components.
> >
> >> Andrey Pokhilko
> >>
> >> On 06/03/2015 03:34 AM, sebb wrote:
> >>> On 2 June 2015 at 20:42, Philippe Mouawad <philippe.mouawad@gmail.com
> >> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
> >>>> Hi,
> >>>> Thanks for taking into account some notes.
> >>>>
> >>>> 1/ I would put these defaults:
> >>>> gui.quick_0=ThreadGroupGui
> >>> Although that is needed for every test, often only one is needed.
> >>> It seems wasteful to use up a quick key for this.
> >>>
> >>> Maybe a ThreadGroup should be automatically added to a new test plan.
> >>> Or a template added that includes a ThreadGroup (possibly plus a
> >>> Listener at plan level), and make that the default.
> >>>
> >>>> gui.quick_1=HttpTestSampleGui
> >>>> gui.quick_2=RegexExtractorGui
> >>>> gui.quick_3=HtmlExtractorGui
> >>>> gui.quick_4=AssertionGui
> >>>> gui.quick_5=ConstantTimerGui
> >>>> gui.quick_6=GaussianRandomTimerGui
> >>>> gui.quick_7=TestActionGui
> >>>> gui.quick_8=JSR223PostProcessor
> >>>> gui.quick_9=JSR223PreProcessor
> >>>>
> >>>>
> >>>> As for me DebugSampler is not added very frequently, same for
> >>>> ViewResultsTree.
> >>> I tend to use ViewResultsTree a lot, but again usually only one is
> >> needed.
> >>>> 2/ Is it a good thing to try to add element somewhere in the tree
> >>>> hierarchy ? I would fail if current node does not allow it.
> >>>>
> >>>> Regards
> >>>>
> >>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
> >>>>> Hi,
> >>>>>
> >>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
> >>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
> >>>>>
> >>>>> If there are no objections, I will commit this change within 24
> hours.
> >>>>>
> >>>>> Andrey Pokhilko
> >>>>>
> >>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
> >>>>>> Hi,
> >>>>>> I think it's a nice idea, we have same the same feedback.
> >>>>>>
> >>>>>> For me it should be in core once linux issue is fixed, what about
> >> tested
> >>>>>> platforms:
> >>>>>> - Windows 8? 7 ?
> >>>>>> - Linux
> >>>>>> - Mac OSX ? which os ?
> >>>>>>
> >>>>>> Regarding other questions, answers inline.
> >>>>>>
> >>>>>> Regards
> >>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
> >>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
> >> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
> >>>>>>> Hi,
> >>>>>>>
> >>>>>>> I have colleagues that do heavy JMeter scripting and they come with
> >> idea
> >>>>>>> to speed-up the process: have hotkeys to add JMeter components to
> >> test
> >>>>>>> plan. Using a hotkey eliminates the need to walk through context
> >> menus.
> >>>>>>> As always, Pareto principle states that 80% of a time people use
> 20%
> >> of
> >>>>>>> components, so small set of hotkeys would cover most of situations.
> >>>>>>>
> >>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set,
> with
> >>>>>>> components configurable through properties. Components are added
> as a
> >>>>>>> child of current position, if possible, or a sibling at the nearest
> >>>>>>> possible scope. I provided my colleagues with patched JMeter and
> they
> >>>>>>> found the feature working smoothly.
> >>>>>>>
> >>>>>>> Pull request for easy review is here:
> >>>>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla
> >> for
> >>>>>>> this when needed.
> >>>>>>>
> >>>>>>> As always I ask if other committers support adding this into main
> >> JMeter
> >>>>>>> codebase or not.
> >>>>>>>
> >>>>>>> Some notes/questions from my side:
> >>>>>>>
> >>>>>>> * Where is appropriate place in the docs to document this
> feature?
> >>>>>> Somewhere where Search Feature and templates are documented
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> * Are defaults good? What are most used JMeter components?
> >>>>>> I would remove or put them at end:
> >>>>>> View Results Tree
> >>>>>> User Defined Variables
> >>>>>> Test Fragment
> >>>>>>
> >>>>>> as although popular you rarely add more than 2 or 3.
> >>>>>>
> >>>>>> I would add :
> >>>>>> - Css/JQuery extractor
> >>>>>> - Jsr223 Post processor
> >>>>>> - Test Action for the timer discussion we had
> >>>>>> - JSR223 Pre processir
> >>>>>> -Debug Sampler
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> * Is there a way to specify component names in properties instead
> >> of
> >>>>>>> classes?
> >>>>>> There are name shortcuts in saveservice.properties
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
> >>>>>>> somebody knows why.
> >>>>>>>
> >>>>>>> --
> >>>>>>> Andrey Pokhilko
> >>>>>>>
> >>>>>>>
> >>>> --
> >>>> Cordialement.
> >>>> Philippe Mouawad.
> >>
> >
>
>
--
Cordialement.
Philippe Mouawad.
Re: Component adding hotkeys
Posted by Andrey Pokhilko <ap...@ya.ru>.
"Most used" depends on every user. I believe first keys 1-5 will be most
used and we already set them fine. I have just committed it into SVN, it
is your right to change everything as you see it :) I set it like I see it.
Andrey Pokhilko
On 06/03/2015 01:19 PM, Philippe Mouawad wrote:
> On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>
>> Not having a Thread Group in hotkeys disbles "fluent start", when you
>> just opened JMeter and immediately start building Test Plan with
>> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
>> most rightsided key, that reflects rarity of usage.
>>
> Agreed
>
>> Having Debug Sampler and View Results Tree also required UX-wise,
>> because you need them not frequently, but always urgently when you want
>> to troubleshoot your script and instant usage will gratify hurrying user.
>>
> But not having CSS/JQuery extractor is not a good thing, In our scripting
> experience it is among the top 5 elements used.
> Although new element it is great for html extraction and makes tests more
> maintainable
>
>> Finally, user can always set up his preferred keys to reflect his style
>> of usage.
>>
> But hotkeys should reflect most used components.
>
>> Andrey Pokhilko
>>
>> On 06/03/2015 03:34 AM, sebb wrote:
>>> On 2 June 2015 at 20:42, Philippe Mouawad <philippe.mouawad@gmail.com
>> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
>>>> Hi,
>>>> Thanks for taking into account some notes.
>>>>
>>>> 1/ I would put these defaults:
>>>> gui.quick_0=ThreadGroupGui
>>> Although that is needed for every test, often only one is needed.
>>> It seems wasteful to use up a quick key for this.
>>>
>>> Maybe a ThreadGroup should be automatically added to a new test plan.
>>> Or a template added that includes a ThreadGroup (possibly plus a
>>> Listener at plan level), and make that the default.
>>>
>>>> gui.quick_1=HttpTestSampleGui
>>>> gui.quick_2=RegexExtractorGui
>>>> gui.quick_3=HtmlExtractorGui
>>>> gui.quick_4=AssertionGui
>>>> gui.quick_5=ConstantTimerGui
>>>> gui.quick_6=GaussianRandomTimerGui
>>>> gui.quick_7=TestActionGui
>>>> gui.quick_8=JSR223PostProcessor
>>>> gui.quick_9=JSR223PreProcessor
>>>>
>>>>
>>>> As for me DebugSampler is not added very frequently, same for
>>>> ViewResultsTree.
>>> I tend to use ViewResultsTree a lot, but again usually only one is
>> needed.
>>>> 2/ Is it a good thing to try to add element somewhere in the tree
>>>> hierarchy ? I would fail if current node does not allow it.
>>>>
>>>> Regards
>>>>
>>>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>> Hi,
>>>>>
>>>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>>>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>>>
>>>>> If there are no objections, I will commit this change within 24 hours.
>>>>>
>>>>> Andrey Pokhilko
>>>>>
>>>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>>>> Hi,
>>>>>> I think it's a nice idea, we have same the same feedback.
>>>>>>
>>>>>> For me it should be in core once linux issue is fixed, what about
>> tested
>>>>>> platforms:
>>>>>> - Windows 8? 7 ?
>>>>>> - Linux
>>>>>> - Mac OSX ? which os ?
>>>>>>
>>>>>> Regarding other questions, answers inline.
>>>>>>
>>>>>> Regards
>>>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
>>>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I have colleagues that do heavy JMeter scripting and they come with
>> idea
>>>>>>> to speed-up the process: have hotkeys to add JMeter components to
>> test
>>>>>>> plan. Using a hotkey eliminates the need to walk through context
>> menus.
>>>>>>> As always, Pareto principle states that 80% of a time people use 20%
>> of
>>>>>>> components, so small set of hotkeys would cover most of situations.
>>>>>>>
>>>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set, with
>>>>>>> components configurable through properties. Components are added as a
>>>>>>> child of current position, if possible, or a sibling at the nearest
>>>>>>> possible scope. I provided my colleagues with patched JMeter and they
>>>>>>> found the feature working smoothly.
>>>>>>>
>>>>>>> Pull request for easy review is here:
>>>>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla
>> for
>>>>>>> this when needed.
>>>>>>>
>>>>>>> As always I ask if other committers support adding this into main
>> JMeter
>>>>>>> codebase or not.
>>>>>>>
>>>>>>> Some notes/questions from my side:
>>>>>>>
>>>>>>> * Where is appropriate place in the docs to document this feature?
>>>>>> Somewhere where Search Feature and templates are documented
>>>>>>
>>>>>>
>>>>>>
>>>>>>> * Are defaults good? What are most used JMeter components?
>>>>>> I would remove or put them at end:
>>>>>> View Results Tree
>>>>>> User Defined Variables
>>>>>> Test Fragment
>>>>>>
>>>>>> as although popular you rarely add more than 2 or 3.
>>>>>>
>>>>>> I would add :
>>>>>> - Css/JQuery extractor
>>>>>> - Jsr223 Post processor
>>>>>> - Test Action for the timer discussion we had
>>>>>> - JSR223 Pre processir
>>>>>> -Debug Sampler
>>>>>>
>>>>>>
>>>>>>
>>>>>>> * Is there a way to specify component names in properties instead
>> of
>>>>>>> classes?
>>>>>> There are name shortcuts in saveservice.properties
>>>>>>
>>>>>>
>>>>>>
>>>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>>>>>>> somebody knows why.
>>>>>>>
>>>>>>> --
>>>>>>> Andrey Pokhilko
>>>>>>>
>>>>>>>
>>>> --
>>>> Cordialement.
>>>> Philippe Mouawad.
>>
>
Component adding hotkeys
Posted by Philippe Mouawad <p....@ubik-ingenierie.com>.
On Wed, Jun 3, 2015 at 8:54 AM, Andrey Pokhilko <apc4@ya.ru
<javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
> Not having a Thread Group in hotkeys disbles "fluent start", when you
> just opened JMeter and immediately start building Test Plan with
> hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
> most rightsided key, that reflects rarity of usage.
>
Agreed
>
> Having Debug Sampler and View Results Tree also required UX-wise,
> because you need them not frequently, but always urgently when you want
> to troubleshoot your script and instant usage will gratify hurrying user.
>
But not having CSS/JQuery extractor is not a good thing, In our scripting
experience it is among the top 5 elements used.
Although new element it is great for html extraction and makes tests more
maintainable
>
> Finally, user can always set up his preferred keys to reflect his style
> of usage.
>
But hotkeys should reflect most used components.
>
> Andrey Pokhilko
>
> On 06/03/2015 03:34 AM, sebb wrote:
> > On 2 June 2015 at 20:42, Philippe Mouawad <philippe.mouawad@gmail.com
> <javascript:_e(%7B%7D,'cvml','philippe.mouawad@gmail.com');>> wrote:
> >> Hi,
> >> Thanks for taking into account some notes.
> >>
> >> 1/ I would put these defaults:
> >> gui.quick_0=ThreadGroupGui
> > Although that is needed for every test, often only one is needed.
> > It seems wasteful to use up a quick key for this.
> >
> > Maybe a ThreadGroup should be automatically added to a new test plan.
> > Or a template added that includes a ThreadGroup (possibly plus a
> > Listener at plan level), and make that the default.
> >
> >> gui.quick_1=HttpTestSampleGui
> >> gui.quick_2=RegexExtractorGui
> >> gui.quick_3=HtmlExtractorGui
> >> gui.quick_4=AssertionGui
> >> gui.quick_5=ConstantTimerGui
> >> gui.quick_6=GaussianRandomTimerGui
> >> gui.quick_7=TestActionGui
> >> gui.quick_8=JSR223PostProcessor
> >> gui.quick_9=JSR223PreProcessor
> >>
> >>
> >> As for me DebugSampler is not added very frequently, same for
> >> ViewResultsTree.
> > I tend to use ViewResultsTree a lot, but again usually only one is
> needed.
> >
> >> 2/ Is it a good thing to try to add element somewhere in the tree
> >> hierarchy ? I would fail if current node does not allow it.
> >>
> >> Regards
> >>
> >> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <apc4@ya.ru
> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
> >>
> >>> Hi,
> >>>
> >>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
> >>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
> >>>
> >>> If there are no objections, I will commit this change within 24 hours.
> >>>
> >>> Andrey Pokhilko
> >>>
> >>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
> >>>> Hi,
> >>>> I think it's a nice idea, we have same the same feedback.
> >>>>
> >>>> For me it should be in core once linux issue is fixed, what about
> tested
> >>>> platforms:
> >>>> - Windows 8? 7 ?
> >>>> - Linux
> >>>> - Mac OSX ? which os ?
> >>>>
> >>>> Regarding other questions, answers inline.
> >>>>
> >>>> Regards
> >>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>
> >>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru
> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>');>> wrote:
> >>>>
> >>>>> Hi,
> >>>>>
> >>>>> I have colleagues that do heavy JMeter scripting and they come with
> idea
> >>>>> to speed-up the process: have hotkeys to add JMeter components to
> test
> >>>>> plan. Using a hotkey eliminates the need to walk through context
> menus.
> >>>>> As always, Pareto principle states that 80% of a time people use 20%
> of
> >>>>> components, so small set of hotkeys would cover most of situations.
> >>>>>
> >>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set, with
> >>>>> components configurable through properties. Components are added as a
> >>>>> child of current position, if possible, or a sibling at the nearest
> >>>>> possible scope. I provided my colleagues with patched JMeter and they
> >>>>> found the feature working smoothly.
> >>>>>
> >>>>> Pull request for easy review is here:
> >>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla
> for
> >>>>> this when needed.
> >>>>>
> >>>>> As always I ask if other committers support adding this into main
> JMeter
> >>>>> codebase or not.
> >>>>>
> >>>>> Some notes/questions from my side:
> >>>>>
> >>>>> * Where is appropriate place in the docs to document this feature?
> >>>> Somewhere where Search Feature and templates are documented
> >>>>
> >>>>
> >>>>
> >>>>> * Are defaults good? What are most used JMeter components?
> >>>> I would remove or put them at end:
> >>>> View Results Tree
> >>>> User Defined Variables
> >>>> Test Fragment
> >>>>
> >>>> as although popular you rarely add more than 2 or 3.
> >>>>
> >>>> I would add :
> >>>> - Css/JQuery extractor
> >>>> - Jsr223 Post processor
> >>>> - Test Action for the timer discussion we had
> >>>> - JSR223 Pre processir
> >>>> -Debug Sampler
> >>>>
> >>>>
> >>>>
> >>>>> * Is there a way to specify component names in properties instead
> of
> >>>>> classes?
> >>>> There are name shortcuts in saveservice.properties
> >>>>
> >>>>
> >>>>
> >>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
> >>>>> somebody knows why.
> >>>>>
> >>>>> --
> >>>>> Andrey Pokhilko
> >>>>>
> >>>>>
> >>>
> >>
> >> --
> >> Cordialement.
> >> Philippe Mouawad.
>
>
--
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
--
Cordialement.
Philippe Mouawad.
Ubik-Ingénierie
UBIK LOAD PACK Web Site <http://www.ubikloadpack.com/>
UBIK LOAD PACK on TWITTER <https://twitter.com/ubikloadpack>
Re: Component adding hotkeys
Posted by Andrey Pokhilko <ap...@ya.ru>.
Not having a Thread Group in hotkeys disbles "fluent start", when you
just opened JMeter and immediately start building Test Plan with
hotkeys. My UX feeling says that we should still have it. Ctrl+0 is the
most rightsided key, that reflects rarity of usage.
Having Debug Sampler and View Results Tree also required UX-wise,
because you need them not frequently, but always urgently when you want
to troubleshoot your script and instant usage will gratify hurrying user.
Finally, user can always set up his preferred keys to reflect his style
of usage.
Andrey Pokhilko
On 06/03/2015 03:34 AM, sebb wrote:
> On 2 June 2015 at 20:42, Philippe Mouawad <ph...@gmail.com> wrote:
>> Hi,
>> Thanks for taking into account some notes.
>>
>> 1/ I would put these defaults:
>> gui.quick_0=ThreadGroupGui
> Although that is needed for every test, often only one is needed.
> It seems wasteful to use up a quick key for this.
>
> Maybe a ThreadGroup should be automatically added to a new test plan.
> Or a template added that includes a ThreadGroup (possibly plus a
> Listener at plan level), and make that the default.
>
>> gui.quick_1=HttpTestSampleGui
>> gui.quick_2=RegexExtractorGui
>> gui.quick_3=HtmlExtractorGui
>> gui.quick_4=AssertionGui
>> gui.quick_5=ConstantTimerGui
>> gui.quick_6=GaussianRandomTimerGui
>> gui.quick_7=TestActionGui
>> gui.quick_8=JSR223PostProcessor
>> gui.quick_9=JSR223PreProcessor
>>
>>
>> As for me DebugSampler is not added very frequently, same for
>> ViewResultsTree.
> I tend to use ViewResultsTree a lot, but again usually only one is needed.
>
>> 2/ Is it a good thing to try to add element somewhere in the tree
>> hierarchy ? I would fail if current node does not allow it.
>>
>> Regards
>>
>> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>>
>>> Hi,
>>>
>>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>>
>>> If there are no objections, I will commit this change within 24 hours.
>>>
>>> Andrey Pokhilko
>>>
>>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>>>> Hi,
>>>> I think it's a nice idea, we have same the same feedback.
>>>>
>>>> For me it should be in core once linux issue is fixed, what about tested
>>>> platforms:
>>>> - Windows 8? 7 ?
>>>> - Linux
>>>> - Mac OSX ? which os ?
>>>>
>>>> Regarding other questions, answers inline.
>>>>
>>>> Regards
>>>> On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>>>> <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have colleagues that do heavy JMeter scripting and they come with idea
>>>>> to speed-up the process: have hotkeys to add JMeter components to test
>>>>> plan. Using a hotkey eliminates the need to walk through context menus.
>>>>> As always, Pareto principle states that 80% of a time people use 20% of
>>>>> components, so small set of hotkeys would cover most of situations.
>>>>>
>>>>> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set, with
>>>>> components configurable through properties. Components are added as a
>>>>> child of current position, if possible, or a sibling at the nearest
>>>>> possible scope. I provided my colleagues with patched JMeter and they
>>>>> found the feature working smoothly.
>>>>>
>>>>> Pull request for easy review is here:
>>>>> https://github.com/apache/jmeter/pull/16 , I will create bugzilla for
>>>>> this when needed.
>>>>>
>>>>> As always I ask if other committers support adding this into main JMeter
>>>>> codebase or not.
>>>>>
>>>>> Some notes/questions from my side:
>>>>>
>>>>> * Where is appropriate place in the docs to document this feature?
>>>> Somewhere where Search Feature and templates are documented
>>>>
>>>>
>>>>
>>>>> * Are defaults good? What are most used JMeter components?
>>>> I would remove or put them at end:
>>>> View Results Tree
>>>> User Defined Variables
>>>> Test Fragment
>>>>
>>>> as although popular you rarely add more than 2 or 3.
>>>>
>>>> I would add :
>>>> - Css/JQuery extractor
>>>> - Jsr223 Post processor
>>>> - Test Action for the timer discussion we had
>>>> - JSR223 Pre processir
>>>> -Debug Sampler
>>>>
>>>>
>>>>
>>>>> * Is there a way to specify component names in properties instead of
>>>>> classes?
>>>> There are name shortcuts in saveservice.properties
>>>>
>>>>
>>>>
>>>>> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>>>>> somebody knows why.
>>>>>
>>>>> --
>>>>> Andrey Pokhilko
>>>>>
>>>>>
>>>
>>
>> --
>> Cordialement.
>> Philippe Mouawad.
Re: Component adding hotkeys
Posted by sebb <se...@gmail.com>.
On 2 June 2015 at 20:42, Philippe Mouawad <ph...@gmail.com> wrote:
> Hi,
> Thanks for taking into account some notes.
>
> 1/ I would put these defaults:
> gui.quick_0=ThreadGroupGui
Although that is needed for every test, often only one is needed.
It seems wasteful to use up a quick key for this.
Maybe a ThreadGroup should be automatically added to a new test plan.
Or a template added that includes a ThreadGroup (possibly plus a
Listener at plan level), and make that the default.
> gui.quick_1=HttpTestSampleGui
> gui.quick_2=RegexExtractorGui
> gui.quick_3=HtmlExtractorGui
> gui.quick_4=AssertionGui
> gui.quick_5=ConstantTimerGui
> gui.quick_6=GaussianRandomTimerGui
> gui.quick_7=TestActionGui
> gui.quick_8=JSR223PostProcessor
> gui.quick_9=JSR223PreProcessor
>
>
> As for me DebugSampler is not added very frequently, same for
> ViewResultsTree.
I tend to use ViewResultsTree a lot, but again usually only one is needed.
> 2/ Is it a good thing to try to add element somewhere in the tree
> hierarchy ? I would fail if current node does not allow it.
>
> Regards
>
> On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
>
>> Hi,
>>
>> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
>> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>>
>> If there are no objections, I will commit this change within 24 hours.
>>
>> Andrey Pokhilko
>>
>> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
>> > Hi,
>> > I think it's a nice idea, we have same the same feedback.
>> >
>> > For me it should be in core once linux issue is fixed, what about tested
>> > platforms:
>> > - Windows 8? 7 ?
>> > - Linux
>> > - Mac OSX ? which os ?
>> >
>> > Regarding other questions, answers inline.
>> >
>> > Regards
>> > On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
>> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
>> >
>> >> Hi,
>> >>
>> >> I have colleagues that do heavy JMeter scripting and they come with idea
>> >> to speed-up the process: have hotkeys to add JMeter components to test
>> >> plan. Using a hotkey eliminates the need to walk through context menus.
>> >> As always, Pareto principle states that 80% of a time people use 20% of
>> >> components, so small set of hotkeys would cover most of situations.
>> >>
>> >> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set, with
>> >> components configurable through properties. Components are added as a
>> >> child of current position, if possible, or a sibling at the nearest
>> >> possible scope. I provided my colleagues with patched JMeter and they
>> >> found the feature working smoothly.
>> >>
>> >> Pull request for easy review is here:
>> >> https://github.com/apache/jmeter/pull/16 , I will create bugzilla for
>> >> this when needed.
>> >>
>> >> As always I ask if other committers support adding this into main JMeter
>> >> codebase or not.
>> >>
>> >> Some notes/questions from my side:
>> >>
>> >> * Where is appropriate place in the docs to document this feature?
>> > Somewhere where Search Feature and templates are documented
>> >
>> >
>> >
>> >> * Are defaults good? What are most used JMeter components?
>> >
>> > I would remove or put them at end:
>> > View Results Tree
>> > User Defined Variables
>> > Test Fragment
>> >
>> > as although popular you rarely add more than 2 or 3.
>> >
>> > I would add :
>> > - Css/JQuery extractor
>> > - Jsr223 Post processor
>> > - Test Action for the timer discussion we had
>> > - JSR223 Pre processir
>> > -Debug Sampler
>> >
>> >
>> >
>> >> * Is there a way to specify component names in properties instead of
>> >> classes?
>> >
>> > There are name shortcuts in saveservice.properties
>> >
>> >
>> >
>> >> * On my Linux Ctrl+9 does not work for some reason... I wonder if
>> >> somebody knows why.
>> >>
>> >> --
>> >> Andrey Pokhilko
>> >>
>> >>
>>
>>
>
>
> --
> Cordialement.
> Philippe Mouawad.
Re: Component adding hotkeys
Posted by Philippe Mouawad <ph...@gmail.com>.
Hi,
Thanks for taking into account some notes.
1/ I would put these defaults:
gui.quick_0=ThreadGroupGui
gui.quick_1=HttpTestSampleGui
gui.quick_2=RegexExtractorGui
gui.quick_3=HtmlExtractorGui
gui.quick_4=AssertionGui
gui.quick_5=ConstantTimerGui
gui.quick_6=GaussianRandomTimerGui
gui.quick_7=TestActionGui
gui.quick_8=JSR223PostProcessor
gui.quick_9=JSR223PreProcessor
As for me DebugSampler is not added very frequently, same for
ViewResultsTree.
2/ Is it a good thing to try to add element somewhere in the tree
hierarchy ? I would fail if current node does not allow it.
Regards
On Tue, Jun 2, 2015 at 12:46 PM, Andrey Pokhilko <ap...@ya.ru> wrote:
> Hi,
>
> I fixed issue with Ctrl+9, changed defaults slightly, added doc and
> bugzilla https://bz.apache.org/bugzilla/show_bug.cgi?id=57988
>
> If there are no objections, I will commit this change within 24 hours.
>
> Andrey Pokhilko
>
> On 04/30/2015 03:49 PM, Philippe Mouawad wrote:
> > Hi,
> > I think it's a nice idea, we have same the same feedback.
> >
> > For me it should be in core once linux issue is fixed, what about tested
> > platforms:
> > - Windows 8? 7 ?
> > - Linux
> > - Mac OSX ? which os ?
> >
> > Regarding other questions, answers inline.
> >
> > Regards
> > On Monday, April 27, 2015, Andrey Pokhilko <apc4@ya.ru
> > <javascript:_e(%7B%7D,'cvml','apc4@ya.ru');>> wrote:
> >
> >> Hi,
> >>
> >> I have colleagues that do heavy JMeter scripting and they come with idea
> >> to speed-up the process: have hotkeys to add JMeter components to test
> >> plan. Using a hotkey eliminates the need to walk through context menus.
> >> As always, Pareto principle states that 80% of a time people use 20% of
> >> components, so small set of hotkeys would cover most of situations.
> >>
> >> I have implemented this feature as Ctrl+0 .. Ctrl+9 hotkey set, with
> >> components configurable through properties. Components are added as a
> >> child of current position, if possible, or a sibling at the nearest
> >> possible scope. I provided my colleagues with patched JMeter and they
> >> found the feature working smoothly.
> >>
> >> Pull request for easy review is here:
> >> https://github.com/apache/jmeter/pull/16 , I will create bugzilla for
> >> this when needed.
> >>
> >> As always I ask if other committers support adding this into main JMeter
> >> codebase or not.
> >>
> >> Some notes/questions from my side:
> >>
> >> * Where is appropriate place in the docs to document this feature?
> > Somewhere where Search Feature and templates are documented
> >
> >
> >
> >> * Are defaults good? What are most used JMeter components?
> >
> > I would remove or put them at end:
> > View Results Tree
> > User Defined Variables
> > Test Fragment
> >
> > as although popular you rarely add more than 2 or 3.
> >
> > I would add :
> > - Css/JQuery extractor
> > - Jsr223 Post processor
> > - Test Action for the timer discussion we had
> > - JSR223 Pre processir
> > -Debug Sampler
> >
> >
> >
> >> * Is there a way to specify component names in properties instead of
> >> classes?
> >
> > There are name shortcuts in saveservice.properties
> >
> >
> >
> >> * On my Linux Ctrl+9 does not work for some reason... I wonder if
> >> somebody knows why.
> >>
> >> --
> >> Andrey Pokhilko
> >>
> >>
>
>
--
Cordialement.
Philippe Mouawad.