On 25 July 2013 21:00, Stephan van Beerschoten <[email protected]> wrote: > Is there any way to use the data captured with the sample_variables setting > in the default listeners? In particular the graph listeners?
Not without writing some code. In general, it is a bad idea to use visual listeners during a performance test run, as they use extra resources. So what I would do would be to write a simple splitter utility to create individual output files from the combined log file. Then load the files in the appropriate Listeners. You might be able to use a post-processor to amend the sample label so it contains the RING value. I've not tried that. But remember that additional processing at test run time will reduce the maximum load JMeter can generate. You could also write a script to rename the sample labels based on the RING value after the test completes. Then reload the file as before. > I'd like to keep as much of the functionality inside JMeter. I'm hoping to > be able to group my graphs by whatever is captured in the RING variable. > > > On Thu, Jul 25, 2013 at 12:39 PM, sebb <[email protected]> wrote: > >> On 25 July 2013 17:25, Stephan van Beerschoten >> <[email protected]> wrote: >> > Hi Guys, >> > >> > I am trying to accomplish the following: Measure the response times of >> each >> > of the 3 individual web servers behind my load balancer. >> > >> > In order to do this I use a regular expression extractor on the first >> http >> > request I sent in my series. The server identifier (grabbed from html >> > source) is stored in a ${RING} variable. It posts fine, and I can access >> it >> > using a Beanshell listener. >> > >> > Ideally I would like 3 graph listeners, each as a child of an >> If-Condition. >> > Unfortunately I found out Listeners cannot be used that way. >> > >> > So, what other way do I have to separate the readings of each of my >> 'rings'? >> >> I would add the RING variable to the sample result data file: >> >> http://jmeter.apache.org/usermanual/listeners.html#sample_variables >> >> You can then do whatever analyis you need later. >> >> > Thanks >> > Stephan >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
