Hi Prasanna, First you need to verify whether rstatd service running on linux or not ? If not running, you need to run the service.
*Installation of rstatd Daemon Sampler in JMeter* ========================================================= *http://swirstatdsample.sourceforge.net/index.html* *1.* Go to directory *JMETER_HOME/lib/ext* and make sure below files are present in it. - ApacheJMeter_core.jar *(Take backup of this file)* - messages.properties - swiRstatdSampler.jar *2.* Copy required libraries into "lib"-directory: - jdom-1.0.jar - jorphan.jar - logkit-1.2.jar - oncrpc.jar * Steps to create script ================*= 1. Start jmeter 2. Create new "Test Plan", 3. Add "Thread Group" and set "Loop Count" to 50, 4. Add "rstatd: sampler" and set address of "server" and "output format" to "object", 5. Add "Constant Timer" and set "Thread delay" to 1000 milliseconds (1 second), 6. Add "rstatd: text visualizer". 7. Don't forget to save the test plan :-) 8. Start "Test Plan" and watch results in* "rstatd: text visualizer*" Hope it may resolve your problem. Good Day On Sun, May 2, 2010 at 12:44 PM, prasanna bhat <[email protected]>wrote: > Hi guys, > > Can someone please provide me to right pointers. your time and help is > greatly appreciated. > > Thanks, > Prasanna > > On Fri, Apr 30, 2010 at 7:21 PM, prasanna bhat <[email protected] > >wrote: > > > Hi, > > > > I'm now getting a problem installing swiRstatdGraph in JMeter. I have > > followed all the instructions given in the web link ( > > http://swirstatdgraph.sourceforge.net/installation.html). However there > is > > no exception found in the logs. And also i didn't get any problem > installing > > the swiRstatdSampler, its also showing up in the samplers list. > > > > If anyone has used this sampler and have it running. please help me. > > > > Thanks, > > Prasanna > > > > > > > > > > On Fri, Apr 30, 2010 at 6:09 PM, prasanna bhat <[email protected] > >wrote: > > > >> Hi guys, > >> > >> I had missed copying a jar. Sorry for the post. > >> > >> Thanks, > >> Prasanna > >> > >> > >> On Fri, Apr 30, 2010 at 5:43 PM, prasanna bhat < > [email protected]>wrote: > >> > >>> Hi, > >>> > >>> I'm trying to install the rstatd sampler to JMeter. I followed the > >>> instructions given in the website ( > >>> http://swirstatdsample.sourceforge.net/installation.html). The > >>> application throws the following exceptions: > >>> > >>> 2010/04/30 16:48:41 WARN - jmeter.util.JMeterUtils: ERROR! Resource > >>> string not found: [rstatd_title] java.util.MissingResourceException: > Can't > >>> find resource for bundle java.util.PropertyResourceBundle, key > rstatd_title > >>> at java.util.ResourceBundle.getObject(ResourceBundle.java:374) > >>> at java.util.ResourceBundle.getString(ResourceBundle.java:334) > >>> at > >>> > org.apache.jmeter.util.JMeterUtils.getResStringDefault(JMeterUtils.java:425) > >>> at > >>> org.apache.jmeter.util.JMeterUtils.getResString(JMeterUtils.java:388) > >>> at > >>> > org.apache.jmeter.gui.AbstractJMeterGuiComponent.getStaticLabel(AbstractJMeterGuiComponent.java:329) > >>> at > >>> > org.apache.jmeter.gui.AbstractJMeterGuiComponent.createTitleLabel(AbstractJMeterGuiComponent.java:167) > >>> at > >>> > org.apache.jmeter.gui.AbstractJMeterGuiComponent.makeTitlePanel(AbstractJMeterGuiComponent.java:265) > >>> at > >>> > de.simpleworks.jmeter.protocol.rstatd.gui.RstatdSamplerGui.createGUI(Unknown > >>> Source) > >>> at > >>> > de.simpleworks.jmeter.protocol.rstatd.gui.RstatdSamplerGui.<init>(Unknown > >>> Source) > >>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > >>> Method) > >>> at > >>> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > >>> at > >>> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > >>> at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > >>> at java.lang.Class.newInstance0(Class.java:355) > >>> at java.lang.Class.newInstance(Class.java:308) > >>> at > >>> > org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:418) > >>> at > >>> org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:147) > >>> at > >>> > org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.java:84) > >>> at > >>> > org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:111) > >>> at > >>> org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:44) > >>> at > >>> > org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:80) > >>> at > >>> > org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:42) > >>> at > >>> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:59) > >>> at > java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > >>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) > >>> at > >>> > java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) > >>> at > >>> > java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) > >>> at > >>> > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) > >>> at > >>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) > >>> at > >>> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) > >>> at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) > >>> > >>> 2010/04/30 16:48:41 WARN - jmeter.gui.util.MenuFactory: Missing jar? > >>> Could not create > de.simpleworks.jmeter.protocol.rstatd.gui.RstatdSamplerGui. > >>> java.lang.NoClassDefFoundError: org/acplt/oncrpc/OncRpcException > >>> 2010/04/30 16:48:41 INFO - jmeter.util.BSFTestElement: Registering > >>> JMeter version of JavaScript engine as work-round for BSF-22 > >>> 2010/04/30 16:48:41 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > >>> Cannot find .className property for htmlParser, using default > >>> 2010/04/30 16:48:41 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > >>> Parser for text/html is > >>> 2010/04/30 16:48:41 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > >>> Parser for application/xhtml+xml is > >>> 2010/04/30 16:48:41 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > >>> Parser for application/xml is > >>> 2010/04/30 16:48:41 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > >>> Parser for text/xml is > >>> 2010/04/30 16:48:41 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > >>> Parser for text/vnd.wap.wml is > >>> org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > >>> 2010/04/30 16:48:42 INFO - jmeter.gui.util.MenuFactory: Skipping > >>> org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui > >>> 2010/04/30 16:48:42 INFO - jmeter.gui.util.MenuFactory: Skipping > >>> org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui > >>> 2010/04/30 16:48:42 INFO - jmeter.protocol.http.sampler.HTTPSampler: > >>> Maximum connection retries = 10 > >>> 2010/04/30 16:48:42 INFO - jmeter.protocol.http.sampler.HTTPSampler: > >>> Connection and read timeouts are available on this JVM > >>> 2010/04/30 16:48:42 WARN - jmeter.gui.util.MenuFactory: Missing jar? > >>> Could not create org.apache.jmeter.visualizers.MailerVisualizer. > >>> java.lang.NoClassDefFoundError: javax/mail/MessagingException > >>> 2010/04/30 16:48:42 INFO - jmeter.samplers.SampleResult: Note: Sample > >>> TimeStamps are START times > >>> 2010/04/30 16:48:42 INFO - jmeter.samplers.SampleResult: > >>> sampleresult.default.encoding is set to ISO-8859-1 > >>> > >>> Can you please help me to point out where i'm going wrong?? > >>> > >>> Thanks, > >>> Prasanna > >>> > >>> > >> > > > -- Thanks, Saurabh

