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 86B5F109E5 for ; Wed, 1 Jan 2014 22:56:16 +0000 (UTC) Received: (qmail 16581 invoked by uid 500); 1 Jan 2014 22:56:16 -0000 Delivered-To: apmail-jmeter-dev-archive@jmeter.apache.org Received: (qmail 16561 invoked by uid 500); 1 Jan 2014 22:56:16 -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 16552 invoked by uid 99); 1 Jan 2014 22:56:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jan 2014 22:56:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of philippe.mouawad@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-ig0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jan 2014 22:56:11 +0000 Received: by mail-ig0-f172.google.com with SMTP id hl1so40430136igb.5 for ; Wed, 01 Jan 2014 14:55:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Fiis8SyWSehAligI0iYz7r9Y/yj0pRCx9EYXi9MlwUc=; b=bENYbmxkiQJ1qZ04kd56YHa7rUlkqNFoqQExPSrRfLx6FbZlSzCQQBzC0sRRPyStjq m6A3wv3Y7fLYm+VKbHwkPAdW/GuVWgd9u27E4IB4HMhzCBf80bgcjBaF5K+u8ZzmAAl1 spAagRg0py6ElhqiBDSx5Dc/TSazHQifjRPGCkHDFfBG4LLiV+OPIz4KsWpykVmRwQFX QThUjHi4KavaH1heUtSD7T9YoscXygdBEMQpfzboSlGrzLQhLUFwzCAtzBzJ4CTEfn3w vqwQWSN6lEqlRM95GwWhDVunWBE/QtRbQA50hOER+U7rzwA6SgZeIQUN/ePNTXC66TvD jHXQ== MIME-Version: 1.0 X-Received: by 10.50.141.133 with SMTP id ro5mr67321199igb.35.1388616950593; Wed, 01 Jan 2014 14:55:50 -0800 (PST) Received: by 10.43.64.212 with HTTP; Wed, 1 Jan 2014 14:55:50 -0800 (PST) In-Reply-To: References: Date: Wed, 1 Jan 2014 23:55:50 +0100 Message-ID: Subject: Re: About Backend & Backend Listener Implementation From: Philippe Mouawad To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=089e0122f6ae11c05104eef09426 X-Virus-Checked: Checked by ClamAV on apache.org --089e0122f6ae11c05104eef09426 Content-Type: text/plain; charset=ISO-8859-1 On Wednesday, January 1, 2014, sebb wrote: > I don't see why the calculations should be done by JMeter. To make it simple. As a user these are the minimums I want and would really appreciate not to have to compute them by myself. Check patch to see how it computes, it computes a synthesis accross time and does not send the whole sampleresults. > Not everyone will necessarily need all the ones proposed - and some > may want additional calculations done on the data. In this case, it seems to me it is another requirement more related to storing full test results. The way you want it would become more complex to use with Graphite for example. > > I would prefer to see just an API for storing just the raw data. The Api I was thinking about would send list of SamplerMetric > This should ideally be extendable to cater for more raw data items. we could make this > Not sure I can think of any immediately, but as I recall latency was > not originally measured. > > Anything further should be done in the implementation. > > Perhaps the implementations should consist of a GUI Config element (or > similar) which is used to provide the settings, plus a separate class > to implement the data sink. > > The Listener would then display a list of implementations for the user > to choose. > > Or perhaps the interface could be more like the Java Sampler, where > the implementation class contains details of the settings that are > then diplayed on the GUI. That should make it simpler to implement the > add-on Ok > On 1 January 2014 21:39, Philippe Mouawad > > wrote: > > One last point: > > - properties required for one implementation of backend will use > > jmeter.properties/user.properties, for example (jdbc url, login,password, > > graphite host, port, database) > > > > > > On Wed, Jan 1, 2014 at 10:35 PM, Philippe Mouawad < > > philippe.mouawad@gmail.com > wrote: > > > >> Hello, > >> To be sure we agree I propose the following way to implement it: > >> - BackendListener will be similar to current Graphite Listener attached > in > >> Patch for https://issues.apache.org/bugzilla/show_bug.cgi?id=55932 > >> - Any Graphite specificity will be moved out > >> > >> So: > >> - Current metrics will be named the same > >> - Percentiles will be computed in the same way based on commons-math3 > (so > >> 1.2 Mb increase) > >> - Filtering will remain > >> - Listener will search for Backend implementations in BeanInfo class to > >> propose a list of backends to user that it will later use > >> > >> -- > >> Regards. > >> Philippe M > >> > > > > > > > > -- > > Cordialement. > > Philippe Mouawad. > -- Cordialement. Philippe Mouawad. --089e0122f6ae11c05104eef09426--