Hi All, Reading Graphite config in Jmx file, How do I pass all the sample names in the "samplersList" property without manually having to type each . I have around 40 API URL's to test and the URLs/test names comes from a CSV Data Set. I don't want to manually update the CSV Data Set and the samplersList each time when we add a new API.
Is there a wildcard or some property I can use? Just to be clear, I don't want to use the 'summaryOnly" , I want to track each test individually in graphite Thanks, Sarath On Tue, Apr 7, 2015 at 6:45 PM, Bharath <[email protected]> wrote: > Hi, > > Here is my backend listener configuration > > <BackendListener guiclass="BackendListenerGui" testclass="BackendListener" > testname="Backend Listener" enabled="true"> > <elementProp name="arguments" elementType="Arguments" > guiclass="ArgumentsPanel" testclass="Arguments" enabled="true"> > <collectionProp name="Arguments.arguments"> > <elementProp name="graphiteMetricsSender" > elementType="Argument"> > <stringProp > name="Argument.name">graphiteMetricsSender</stringProp> > <stringProp > > name="Argument.value">org.apache.jmeter.visualizers.backend.graphite.TextGraphiteMetricsSender</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > </elementProp> > <elementProp name="graphiteHost" elementType="Argument"> > <stringProp name="Argument.name">graphiteHost</stringProp> > <stringProp name="Argument.value">xx.xx.xx.xxx</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > </elementProp> > <elementProp name="graphitePort" elementType="Argument"> > <stringProp name="Argument.name">graphitePort</stringProp> > <stringProp name="Argument.value">2003</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > </elementProp> > <elementProp name="rootMetricsPrefix" elementType="Argument"> > <stringProp > name="Argument.name">rootMetricsPrefix</stringProp> > <stringProp name="Argument.value">jmeter.</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > </elementProp> > <elementProp name="summaryOnly" elementType="Argument"> > <stringProp name="Argument.name">summaryOnly</stringProp> > <stringProp name="Argument.value">false</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > </elementProp> > <elementProp name="samplersList" elementType="Argument"> > <stringProp name="Argument.name">samplersList</stringProp> > <stringProp name="Argument.value">home;login</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > </elementProp> > <elementProp name="percentiles" elementType="Argument"> > <stringProp name="Argument.name">percentiles</stringProp> > <stringProp name="Argument.value">90;95;99</stringProp> > <stringProp name="Argument.metadata">=</stringProp> > </elementProp> > </elementProp> > <stringProp > > name="classname">org.apache.jmeter.visualizers.backend.graphite.GraphiteBackendListenerClient</stringProp> > </BackendListener> > > Thanks > On Apr 7, 2015 4:48 PM, "UBIK LOAD PACK Support" <[email protected] > > > wrote: > > > Hi, > > Just so that response is helpful to all, can you show your working final > > configuration ? > > > > Thanks > > > > On Tue, Apr 7, 2015 at 10:42 PM, Bharath <[email protected]> wrote: > > > > > Hi UBIK, > > > > > > Thanks a lot for your valuable responses. > > > > > > Now I can send samplers list to Graphite. The issue was sampler name > > > mismatch. > > > > > > Thanks > > > On Apr 7, 2015 4:01 PM, "UBIK LOAD PACK Support" < > > [email protected]> > > > wrote: > > > > > >> Hi, > > >> Question was for Bharathviji. > > >> > > >> it was Backend Listener graphite configuration. > > >> But you can copy all your configuration it will help debugging, but > > please > > >> do so in another thread. > > >> Thanks > > >> > > >> > > >> Regards > > >> > > >> > > >> On Tue, Apr 7, 2015 at 9:52 PM, Erez Naim <[email protected]> wrote: > > >> > > >> > What configuration u need me to supply? > > >> > > > >> > -----Original Message----- > > >> > From: UBIK LOAD PACK Support [mailto:[email protected]] > > >> > Sent: Tuesday, April 07, 2015 10:45 PM > > >> > To: JMeter Users List > > >> > Subject: Re: Backend listener > > >> > > > >> > Hi, > > >> > Can you copy/paste AS-IS your exact configuration ? > > >> > Because it works for me without any problem > > >> > > > >> > Also can you try replacing rootMetricsPrefix by jmeter. to see if > > it's > > >> > working ? > > >> > Thanks > > >> > > > >> > > > >> > > > >> > On Tue, Apr 7, 2015 at 9:27 PM, Bharath <[email protected]> > > wrote: > > >> > > > >> > > Thanks for your response. > > >> > > > > >> > > I manually typed attributes here. > > >> > > > > >> > > I tried by changing summary only field as false, but in graphite > > under > > >> > > jmeter 》》performance, I can see only all and test folders, there > is > > no > > >> > > subdirectories with the name of samplerslist. Any guess why its > not > > >> > > creating samplerslist. > > >> > > > > >> > > Thanks > > >> > > On Apr 7, 2015 3:16 PM, "UBIK LOAD PACK Support" > > >> > > <[email protected]> > > >> > > wrote: > > >> > > > > >> > >> Attributes are case sensitive so none of these are used except if > > you > > >> > >> made a mistake copying to mail: > > >> > >> Summaryonlu - true > > >> > >> Samplerlist - Home;login > > >> > >> Percentiles- 90;95;99 > > >> > >> Rootmetricsprefix- jmeter.performance. > > >> > >> > > >> > >> > > >> > >> Right configuration should be: > > >> > >> summaryOnly:false (if true then samplersList will not be used) > > >> > >> samplersList:Home;login > > >> > >> percentiles:90;95;99 > > >> > >> rootMetricsPrefix:jmeter.performance. > > >> > >> > > >> > >> Regards > > >> > >> @ubikloadpack > > >> > >> > > >> > >> On Tue, Apr 7, 2015 at 9:08 PM, Bharath <[email protected]> > > >> wrote: > > >> > >> > > >> > >> > Here is my attributes > > >> > >> > > > >> > >> > Summaryonlu - true > > >> > >> > Samplerlist - Home;login > > >> > >> > Percentiles- 90;95;99 > > >> > >> > Rootmetricsprefix- jmeter.performance. > > >> > >> > On Apr 7, 2015 2:11 PM, "UBIK LOAD PACK Support" < > > >> > >> [email protected]> > > >> > >> > wrote: > > >> > >> > > > >> > >> >> Hi, > > >> > >> >> Can you show what values you put in attribute ? > > >> > >> >> And by the way show vales of all attributes. > > >> > >> >> Thanks > > >> > >> >> > > >> > >> >> On Tue, Apr 7, 2015 at 7:37 PM, Bharath < > [email protected]> > > >> > wrote: > > >> > >> >> > > >> > >> >> > Hi, > > >> > >> >> > > > >> > >> >> > Im using backend listener to send metrics report to > graphite. > > We > > >> > >> >> > jave > > >> > >> >> jmx > > >> > >> >> > project for two different GET pages. The agregate listener > > shows > > >> > >> >> seperate > > >> > >> >> > metrics details for each page, but only total metrics sent > to > > >> > >> graphite, > > >> > >> >> we > > >> > >> >> > want to see individual metrics of each page in graphite. > > >> > >> >> > > > >> > >> >> > If i give samplerlist attribute as empty or values there is > no > > >> > >> >> difference > > >> > >> >> > at graphite reporting. > > >> > >> >> > > > >> > >> >> > Can someone explain the use of this attribute. > > >> > >> >> > > > >> > >> >> > > >> > >> >> > > >> > >> >> > > >> > >> >> -- > > >> > >> >> > > >> > >> >> Regards > > >> > >> >> Ubik Load Pack <http://ubikloadpack.com> Team Follow us on > > >> Twitter > > >> > >> >> <http://twitter.com/ubikloadpack> > > >> > >> >> > > >> > >> >> > > >> > >> >> Cordialement > > >> > >> >> L'équipe Ubik Load Pack <http://ubikloadpack.com> Suivez-nous > > sur > > >> > >> >> Twitter <http://twitter.com/ubikloadpack> > > >> > >> >> > > >> > >> > > > >> > >> > > >> > >> > > >> > >> -- > > >> > >> > > >> > >> Regards > > >> > >> Ubik Load Pack <http://ubikloadpack.com> Team Follow us on > Twitter > > >> > >> <http://twitter.com/ubikloadpack> > > >> > >> > > >> > >> > > >> > >> Cordialement > > >> > >> L'équipe Ubik Load Pack <http://ubikloadpack.com> Suivez-nous > sur > > >> > >> Twitter <http://twitter.com/ubikloadpack> > > >> > >> > > >> > > > > >> > > > >> > > > >> > -- > > >> > > > >> > Regards > > >> > Ubik Load Pack <http://ubikloadpack.com> Team Follow us on Twitter > < > > >> > http://twitter.com/ubikloadpack> > > >> > > > >> > > > >> > Cordialement > > >> > L'équipe Ubik Load Pack <http://ubikloadpack.com> Suivez-nous sur > > >> Twitter > > >> > <http://twitter.com/ubikloadpack> > > >> > > > >> > > > >> > > >> > > >> -- > > >> > > >> Regards > > >> Ubik Load Pack <http://ubikloadpack.com> Team > > >> Follow us on Twitter <http://twitter.com/ubikloadpack> > > >> > > >> > > >> Cordialement > > >> L'équipe Ubik Load Pack <http://ubikloadpack.com> > > >> Suivez-nous sur Twitter <http://twitter.com/ubikloadpack> > > >> > > > > > > > > > -- > > > > Regards > > Ubik Load Pack <http://ubikloadpack.com> Team > > Follow us on Twitter <http://twitter.com/ubikloadpack> > > > > > > Cordialement > > L'équipe Ubik Load Pack <http://ubikloadpack.com> > > Suivez-nous sur Twitter <http://twitter.com/ubikloadpack> > > >
