Return-Path: X-Original-To: apmail-jmeter-dev-archive@minotaur.apache.org Delivered-To: apmail-jmeter-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1155C10502 for ; Mon, 27 Apr 2015 10:26:46 +0000 (UTC) Received: (qmail 2577 invoked by uid 500); 27 Apr 2015 10:26:46 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 2551 invoked by uid 500); 27 Apr 2015 10:26:45 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 2539 invoked by uid 99); 27 Apr 2015 10:26:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 10:26:45 +0000 X-ASF-Spam-Status: No, hits=2.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: message received from 54.164.171.186 which is an MX secondary for dev@jmeter.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2015 10:26:39 +0000 Received: from forward10l.mail.yandex.net (forward10l.mail.yandex.net [84.201.143.143]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 0237742B0B for ; Mon, 27 Apr 2015 10:26:18 +0000 (UTC) Received: from smtp16.mail.yandex.net (smtp16.mail.yandex.net [95.108.252.16]) by forward10l.mail.yandex.net (Yandex) with ESMTP id CBF41BA1191 for ; Mon, 27 Apr 2015 13:26:09 +0300 (MSK) Received: from smtp16.mail.yandex.net (localhost [127.0.0.1]) by smtp16.mail.yandex.net (Yandex) with ESMTP id 6AE2F6A00CF for ; Mon, 27 Apr 2015 13:26:09 +0300 (MSK) Received: from pool.ip-home.net (pool.ip-home.net [109.206.158.4]) by smtp16.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jYhcXGX9rW-Q8TuSC0b; Mon, 27 Apr 2015 13:26:08 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1430130368; bh=H1omABnVG82j56LYkMfm2tJiA76WHex7tkH1xqFTFTo=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type; b=s5nNPoWR4Ar4nn1uQOVjHeEYEiDPPNA1e0p40MUDYIC/D1/PTXBzkukkJovm4oL1L td1poo74rfI4DzyadhSi2/IZwn/FaXI2vGOEx7Q6GzzHLhiXr+73t0xCHR1GNbbbp0 pdkFb/lMB8hSEOSNawn73jXQwTDUUL8TH24U3Q/4= Authentication-Results: smtp16.mail.yandex.net; dkim=pass header.i=@ya.ru Message-ID: <553E0EBC.4090601@ya.ru> Date: Mon, 27 Apr 2015 13:26:04 +0300 From: Andrey Pokhilko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: dev@jmeter.apache.org Subject: Component adding hotkeys Content-Type: multipart/alternative; boundary="------------020608000505070702090702" X-Virus-Checked: Checked by ClamAV on apache.org --------------020608000505070702090702 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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? * Are defaults good? What are most used JMeter components? * Is there a way to specify component names in properties instead of classes? * On my Linux Ctrl+9 does not work for some reason... I wonder if somebody knows why. -- Andrey Pokhilko --------------020608000505070702090702--