Thanks for the reply. If you have the value as a variable , >
What is the best way to extract variables from responses? Should regular expressions be used? you can write to Jmeter result file using sample_variables -- > Which Listener should be used? To get to the configure menu, I need a Listener. Once the results are in the file you can graph them in any of the available > methods The following post <http://stackoverflow.com/questions/30761322/using-jmeter-os-process-sampler-to-collect-script-data> suggests that user.properties in my jmeter installation needs to be modified. Should I modify user.properties? As far as I can tell, the bin directory does not have a user.properties file. Thanks, Sunil On Fri, Aug 28, 2015 at 2:43 PM, Deepak Shetty <[email protected]> wrote: > >However, all responses are saved in a a separate file. > If you have the value as a variable , you can write to Jmeter result file > using sample_variables -- > http://jmeter.apache.org/usermanual/listeners.html#sample_variables > You can also use any of the normal listeners to save response to a file > (and scope the listener to whatever you want) and they should all append to > the same file > also You can always implement whatever you want using a custom > listener(like the Beanshell/BSF/JSR223) - > Once the results are in the file you can graph them in any of the available > methods > . > > If you want to see the graphs realtime then I dont know of any out of box > listener that lets you plot your own variables. Jmeter Plugins has a > somewhat equivalent graph as you are looking for > http://jmeter-plugins.org/wiki/PageDataExtractor/ - you might want to try > it and see (or use the code to roll your own ) > You can use the out of the box backendlistener if you have a backend > capable of generating graphs (for e.g. I tried this with elasticsearch + > kibana ) > > > regards > deepak > > On Fri, Aug 28, 2015 at 12:37 PM, Sunil Pinnamaneni < > [email protected]> wrote: > > > Hi, > > > > Is there a way to graph responses generated by an 'OS Process Sampler'? > > > > Additional Info: > > 1. I realize that responses may not be integers. And, they may not be > > convertable to integers. For the purpose of this question, assume that > the > > response of the command run by the 'OS Process Sampler' command is an > > integer. Or, assume that a post-processor is in place to extract an > integer > > from the response using a regex. > > 2. I have PerfMon Server Agent installed and running. > > > > Things I can do: > > I realize that a 'Save Responses to a file' Listener can save the > responses > > to a file, and these can be graphed later. However, all responses are > saved > > in a a separate file. I don't see an easy way to save all responses in > one > > file and then graph the results within Jmeter. > > > > Goal: > > Eventually, my goal is to run various commands using both the Linux shell > > (and Windows powershell.exe) every 500ms, parse the response with a > regex, > > log the values, and graph the result. I want to be able to run arbitrary > > commands at the command line on different OSes. > > > > Thanks, > > Sunil > > >
