Re: JMeter plugin
jar up your plugin and put the file in jmeter's lib folder. it will automatically load it. peter On Tue, Jan 18, 2011 at 3:11 AM, Lance Ingram lancei.ing...@gmail.com wrote: I have followed the pdf document: How to write a plugin for JMeter. I am unable to added my class I have written into JMeter jms folder as source. I then exported my class as a jar file and add it into JMeter lib/ext folder. Its only a TestElement a basic JMeter Gui, which will initiate a JMS messaging services Assistance would be appreciated - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Beginner In JMeter Plug-in Writer
mike stover and I wrote that tutorial a long time ago. the tutorial is the closest thing to a guide, but it definitely does show every single step as in a step-by-step guide. The tutorial and existing jmeter components should give you a better idea of how to write plugin for jmeter On Fri, Jan 14, 2011 at 3:04 AM, Lance Ingram lancei.ing...@gmail.com wrote: Yes that is the document I am referring too. Thanks for the willingness to assist me. The class at the moment is in-depended from JMeter just to test its functionality. It’s true what the document saying it is not easy to write JMeter plug-in there is relatively no practical guide how to write a plug-in. Regards On Fri, Jan 14, 2011 at 8:42 AM, Deepak Shetty shet...@gmail.com wrote: I dont know since I havent ever done this(though I doubt it will work like that). I suppose your listener will still be showing something? I assume the PDF you are referring to is this one? http://jakarta.apache.org/jmeter/extending/jmeter_tutorial.pdf On Thu, Jan 13, 2011 at 10:08 PM, Lance Ingram lancei.ing...@gmail.com wrote: Can I just import my class into JMS folder in JMeter since its basically a JMS Message Listener, must I write a GUI interface for the Class? On Fri, Jan 14, 2011 at 12:13 AM, Deepak Shetty shet...@gmail.com wrote: hi Id probably download something like http://code.google.com/p/jmeter-plugins/ and look at their source to see how to implement the listener :) Jmeters code is also open source so you can look at those listeners too for practical examples regards deepak On Wed, Jan 12, 2011 at 10:27 PM, Lance Ingram lancei.ing...@gmail.com wrote: Hi I have written a custom Message Listener which is used in asynchronous calls, but I want to incoporated this class into JMeter as a plugin. I want to know how to write a plugin in JMeter and what I need to able to do so. I found pdf in 2008 who wrote a document on how to write a plugin but there are no practical examples on how to do so. Which classes must I interface or inherit from to create a JMS messaging. I have download the svn version into Eclipse, the question is where from here? Thanks and Regards - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: JMeter Monitor Results
the mailing list strips attachments, so my suggestion is to open an issue and attach the sample to the issue. On Thu, Jan 13, 2011 at 9:39 AM, danimni dani...@gmail.com wrote: Hi Peter, thanks for the reply. I am using jboss. I've attached a sample of response. I guess the data is correct. thanks again! Dan. On Thu, Jan 13, 2011 at 4:16 PM, Peter Lin [via JMeter] ml-node+3339817-2143494848-147...@n5.nabble.comml-node%2b3339817-2143494848-147...@n5.nabble.com wrote: are you using glassfish or jboss? the way it works is it looks at the stats coming back from the status servlet in tomcat. If the data isn't correct, the health tab won't show correct results. peter On Thu, Jan 13, 2011 at 7:15 AM, danimni [hidden email]http://user/SendEmail.jtp?type=nodenode=3339817i=0 wrote: Hello everyone, I am not using Tomcat, but I can see response when I navigate to when I navigate to http://IP:8080/status?XML=true the results are seen properly in the 'View Results Tree'. Furthermore, I am able to see graphs (of the Load, Memory and Threads)in the 'Performance' tab, in the 'Monitor Results' listener. My problem is that the 'Health' tab shows the DEAD legend although the right pane is active (changes from green to yellow and vice versa). As a result, the green graph doesn't appear in the 'Performance' tab along with the Load and Memory graphs. Does anyone encounter this issue? Any ideas? Thanks, Dan. -- View this message in context: http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.htmlhttp://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.html?by-user=t Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=3339817i=1 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=3339817i=2 - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=3339817i=3 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=3339817i=4 -- View message @ http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339817.html To unsubscribe from JMeter Monitor Results, click herehttp://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3339684code=ZGFuaW1uaUBnbWFpbC5jb218MzMzOTY4NHwtMjA1NDA0MTYwNQ==. -- View this message in context: http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339863.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: TCLogParser.java in jmeter
Here is a bit of background on the tclogparser. I originally wrote it so that I could take tomcat logs or common log format and use it from jmeter to simulate load. later on mike stover improved it and made it better. tclogparser was designed to read 1 line from a http access log and create a testelement, which would be used by a jmeter test plan. It definitely wasn't intended to be used standalone. You can copy that class and modify it for your own uses. http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/util/accesslog/TCLogParser.java most of the parse logic is reusable. my suggestion is to copy that class and change the parse method. On Tue, Oct 19, 2010 at 9:37 AM, maven apache apachemav...@gmail.com wrote: 2010/10/19 sebb seb...@gmail.com On 19 October 2010 15:04, maven apache apachemav...@gmail.com wrote: Can the TCLogParser.java used Independently to parse the tomcat, I want build a web application to anaylize the tomcat log to do some statistics of the site. However I found it import the TestElement object,and the TestElement also refer to other classes. It's not intended for standalone use. However, you can of course use the source as the basis for whatever you want. Just exact the related sources? - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Negative Latency
both systems must be insync. That's fundamental to all distributed applications, including distributed testing. peter On Tue, Oct 20, 2009 at 2:13 PM, Carl Shaulis cshau...@homeaway.com wrote: The difference appears to be about 10 seconds between the clock on my machine and the slave server. I added a constant timer and that made no difference. Do the two machines really have to be set down to the exact second? I would think we are measuring the delta between start and stop on the same machine, so the clocks should not matter. Thanks, Carl On 10/20/09 1:06 PM, Deepak Shetty shet...@gmail.com wrote: are the time clocks on both machines in sync? On Tue, Oct 20, 2009 at 11:02 AM, Carl Shaulis cshau...@homeaway.comwrote: Hello, We have recently set up a distributed JMeter environment. I am using my MacBook Pro as the Master and a Linux machine as the slave. I executed a very simple test for 5 minutes, where 500 concurrent users access a static html page. The results showed an average response time of 0 ms. Looking more closely at the data there are numerous transactions that look like this. Thread Name: SorryPageTest 1-97 Sample Start: 2009-10-20 12:42:29 CDT Load time: -897 Latency: -897 Size in bytes: 1723 Sample Count: 1 Error Count: 0 Response code: 200 Response message: OK How can you get a negative load time and negative latency with a 200 response code? Help! Carl - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Integrating Monitoring stuff
sounds like a useful feature. As far as know, DTrace has been ported to linux and OSX, so it should work on solaris, linux and osx. it won't work on windows obviously. the sampler should be fairly straight forward. Are you planning on using JNI to invoke DTrace? peter On Wed, Sep 16, 2009 at 8:05 AM, Gokulakannan Somasundaram gokul...@gmail.com wrote: Hi, We are exploring options to integrate DTrace profiling results in JMeter. It would be more like while we are running the test, we can see how much time some important methods are taking to execute. I am planning to add a listener, into the JMeter GUI, which would take up the name pattern with which we can identify the particular process from the output of jps. Then use th jinfo command to enable the extended DTace Probes and use the pid of the process to enable probe for the same. The disadvantages are it would work only Java 1.6 and Solaris. In future, may be Linux might also start supporting DTrace. Can this work accepted into JMeter? Has this been already discussed in this forum? Can someone help me on this? Thanks, Gokul. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: 64 bit requirements?
as far as I know none. peter On Wed, Jun 3, 2009 at 5:39 PM, Scott McFadden smcfad...@criticaltech.com wrote: Are there any special requirements for running JMeter on Windows 2008 Server X64? Thanks - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: StackOverflowError
If you want to simulate real production traffic, one option is to use the access log sampler. I wrote that sampler so that I could simulate production traffic. It might be easier than using a test plan that generates random requests. peter On Tue, May 26, 2009 at 12:08 PM, Noel O'Brien nobr...@newbay.com wrote: Done: https://issues.apache.org/bugzilla/show_bug.cgi?id=47269 Regards, Noel - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: StackOverflowError
actually, the way the access log sampler works is it gets a new request for each thread, so it doesn't repeat the same request in the access log. peter On Tue, May 26, 2009 at 12:32 PM, Noel O'Brien nobr...@newbay.com wrote: Yes, but won't that execute the same requests each iteration (just like the proxy)? What I was trying to achieve was to simulate the randomness of choosing different paths through the client application, which leads to realistic groups of API calls being made to the server Either way I still had to re-organise the requests into Random/Throughput Controllers to simulating random branching with weighting. Regards, Noel - Original Message - From: Peter Lin wool...@gmail.com To: JMeter Users List jmeter-user@jakarta.apache.org Sent: Tuesday, 26 May, 2009 17:12:37 GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: StackOverflowError If you want to simulate real production traffic, one option is to use the access log sampler. I wrote that sampler so that I could simulate production traffic. It might be easier than using a test plan that generates random requests. peter On Tue, May 26, 2009 at 12:08 PM, Noel O'Brien nobr...@newbay.com wrote: Done: https://issues.apache.org/bugzilla/show_bug.cgi?id=47269 Regards, Noel - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -- Regards, Noel - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: How to understand Aggregate Report
this question has been asked many time by lots of people. most often it is because they don't read the documentation. peter On Tue, May 19, 2009 at 8:23 AM, Ashv a...@live.in wrote: After reading this link (http://jakarta.apache.org/jmeter/usermanual/glossary.html) only I have posted my question? by the way you from dev ? From: sebb Sent: Tuesday, May 19, 2009 5:50 PM To: JMeter Users List Subject: Re: How to understand Aggregate Report On 19/05/2009, Ashvini Sharma a...@live.in wrote: Some one from Dev can confirm the formula that Jmeter use to calculate 'Throughput'.It should be Throughput (server can handle) = Number of request / minute = (average time (in sec) * number of threads ) / 60 sec http://jakarta.apache.org/jmeter/usermanual/glossary.html However I did some testing and not getting correct Throughput.Jmeter use some other ??? Regards,Ashvini Date: Tue, 19 May 2009 00:52:31 -0700 From: easubabu.bal...@gmail.com To: jmeter-user@jakarta.apache.org Subject: Re: How to understand Aggregate Report The below is the information for your query THROUGHPUT: *The number of requests processed by the server per minute is denoted by Throughput. Average : * Average is being calculated as the total time running divided by number of requests sent to the server. MEDIAN : * Time is represented by Median i.e. server's half response time is lower than this number. DEVIATION : * The variation in the server's response time is denoted by Deviation. * The completion of any last request is shown by Latest. regards., Easu Babu Monga, Richa wrote: Hi, I'm running load test on .Net web app using JMeter for 25 threads. Aggregate report shows following data: #Samples Average Median 90% Line Min Max Error % Throughput KB/sec TOTAL 35301 41 16 63 0 1765 0 216.567895 87.80229 Can please anyone help me to understand these terms to analyze the performance of my application. Thanks, Richa This e-mail is confidential, the property of NDS Ltd and intended for the addressee only. Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited. If you have received this message in error, please immediately notify the postmas...@nds.com and destroy the original message. Messages sent to and from NDS may be monitored. NDS cannot guarantee any message delivery method is secure or error-free. Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission. You should carry out your own virus checks before opening any attachment. Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS. To protect the environment please do not print this e-mail unless necessary. NDS Limited Registered Office: One London Road, Staines,Middlesex TW18 4EX, United Kingdom. A company registered in England and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00 -- View this message in context: http://www.nabble.com/How-to-understand-Aggregate-Report-tp23558031p23611428.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org _ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.microsoft.com/india/windows/windowslive/photos.aspx - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Presentation
look in this folder. http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/xdocs/presentation/ I made those a long time ago. it's in open office format. peter On Sun, May 17, 2009 at 10:59 AM, Steve Weisberg steve.weisb...@gmail.com wrote: So as not to need to recreate the wheel, does anybody have material for a presentation to my group about Jmeter? PowerPoint,or similar. I'm sure I would need to adapt it to our emphasis the starter would help. Thanks, Steve - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Graph Results overlap
that might be a viable solution that is low cost, without writing an auto-scaling graph. peter On Wed, May 13, 2009 at 9:48 PM, Ashley Martens amart...@ngmoco.com wrote: At the very least the graph should clear the old data when it starts back at the beginning. On May 13, 2009, at 5:45 PM, drubix wrote: I agree with you there. I actually checked the documentation for any information regarding this odd behaviour and couldn't find any. I do see where you're coming from though. All we really need is some sort of self-scaling graph so that instead of continually extending itself, it just redraws itself every now and then in a smaller size. I'll probably need to write some sort of graphing plugin so that I can include the results of the test in my final report for work anyway. If I do end up doing this, I'll release the graphing plugin so that other people can use it too. Thanks for the heads up, Drew Peter Lin wrote: there's actually a good reason for it. It's not so much a design flaw as it is poor documentation. In order to not repeat, the graph could grow infinitely large, especially for long running tests. That would quickly chew up a ton of memory and make JMeter crash. It was never meant to be a normal time series graph and was only meant to give a rough idea of what's going on. I'll give you an example. If I have a long running test that goes for 3 days, how wide would the graph be? I've run tests for 1 week in the past with jmeter. What you're looking for is a different kind of graph, which currently doesn't exist in jmeter. I thought about writing one in the past, but never got around to it. I haven't been active with jmeter since 2007. If you want a real time series graph, i would suggest implementing it yourself. You can look at the existing listeners to see how they work. In my mind, the bug is in the documentation, since it never really explains the purpose of the graph and the rationale behind it. peter On Wed, May 13, 2009 at 8:03 PM, drubix andrew.schr...@gmail.com wrote: Even if it's not a bug, it's definitely a design flaw. The graph's produced don't make sense and can't be directly exported into a report due to their non-standard nature. I'll file a bugzilla report regarding this. Drew Peter Lin wrote: I could be wrong, but it has always been that way. The default graph listener has a fixed width, so once it reaches the end it just continues at the beginning again. peter On Tue, May 12, 2009 at 8:29 PM, drubix andrew.schr...@gmail.com wrote: I've had this problem both when running the tests in GUI mode and non-GUI mode (and opening the JTL file after the test has completed). I'm away from work today and don't have any of my testing files but I'll upload a bugzilla report tomorrow if that is not the intended functionality. Drew Peter Lin wrote: Isn't that how it has always worked. If the test plan is large and runs for a long time, the graph start back at the beginning again. peter On Tue, May 12, 2009 at 6:24 PM, sebb seb...@gmail.com wrote: On 11/05/2009, drubix andrew.schr...@gmail.com wrote: Hi, When using the Graph Results listener, if the plot goes off the end of the X axis it continues to plot at time 0 again. This means that there are 2 or more lines running over the top of each other, all of the same colour. This produces some pretty nasty graphs which are difficult to read and are nonsensical. I've attached an example: http://www.nabble.com/file/p23477206/graph.jpg I assume this isn't supposed to happen... does anybody know why mine is doing it? Not sure why this is happening; may be a threading issue. I suggest you save the samples to a JTL file - CSV mode is cheapest - and reload in the Listener after the test run. [This will be done in a single thread.] If it still causes wrap-round, then please raise a Bugzilla issue and attach the JTL file. Thanks, Drew -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23477206.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23513354.html Sent from the JMeter - User mailing list archive
Re: Graph Results overlap
there's actually a good reason for it. It's not so much a design flaw as it is poor documentation. In order to not repeat, the graph could grow infinitely large, especially for long running tests. That would quickly chew up a ton of memory and make JMeter crash. It was never meant to be a normal time series graph and was only meant to give a rough idea of what's going on. I'll give you an example. If I have a long running test that goes for 3 days, how wide would the graph be? I've run tests for 1 week in the past with jmeter. What you're looking for is a different kind of graph, which currently doesn't exist in jmeter. I thought about writing one in the past, but never got around to it. I haven't been active with jmeter since 2007. If you want a real time series graph, i would suggest implementing it yourself. You can look at the existing listeners to see how they work. In my mind, the bug is in the documentation, since it never really explains the purpose of the graph and the rationale behind it. peter On Wed, May 13, 2009 at 8:03 PM, drubix andrew.schr...@gmail.com wrote: Even if it's not a bug, it's definitely a design flaw. The graph's produced don't make sense and can't be directly exported into a report due to their non-standard nature. I'll file a bugzilla report regarding this. Drew Peter Lin wrote: I could be wrong, but it has always been that way. The default graph listener has a fixed width, so once it reaches the end it just continues at the beginning again. peter On Tue, May 12, 2009 at 8:29 PM, drubix andrew.schr...@gmail.com wrote: I've had this problem both when running the tests in GUI mode and non-GUI mode (and opening the JTL file after the test has completed). I'm away from work today and don't have any of my testing files but I'll upload a bugzilla report tomorrow if that is not the intended functionality. Drew Peter Lin wrote: Isn't that how it has always worked. If the test plan is large and runs for a long time, the graph start back at the beginning again. peter On Tue, May 12, 2009 at 6:24 PM, sebb seb...@gmail.com wrote: On 11/05/2009, drubix andrew.schr...@gmail.com wrote: Hi, When using the Graph Results listener, if the plot goes off the end of the X axis it continues to plot at time 0 again. This means that there are 2 or more lines running over the top of each other, all of the same colour. This produces some pretty nasty graphs which are difficult to read and are nonsensical. I've attached an example: http://www.nabble.com/file/p23477206/graph.jpg I assume this isn't supposed to happen... does anybody know why mine is doing it? Not sure why this is happening; may be a threading issue. I suggest you save the samples to a JTL file - CSV mode is cheapest - and reload in the Listener after the test run. [This will be done in a single thread.] If it still causes wrap-round, then please raise a Bugzilla issue and attach the JTL file. Thanks, Drew -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23477206.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23513354.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23532109.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter
Re: Graph Results overlap
the documentation isn't as good as it should be. a self scaling graph would be ideal.. It's just that no one got around to implementing one. peter On Wed, May 13, 2009 at 8:45 PM, drubix andrew.schr...@gmail.com wrote: I agree with you there. I actually checked the documentation for any information regarding this odd behaviour and couldn't find any. I do see where you're coming from though. All we really need is some sort of self-scaling graph so that instead of continually extending itself, it just redraws itself every now and then in a smaller size. I'll probably need to write some sort of graphing plugin so that I can include the results of the test in my final report for work anyway. If I do end up doing this, I'll release the graphing plugin so that other people can use it too. Thanks for the heads up, Drew Peter Lin wrote: there's actually a good reason for it. It's not so much a design flaw as it is poor documentation. In order to not repeat, the graph could grow infinitely large, especially for long running tests. That would quickly chew up a ton of memory and make JMeter crash. It was never meant to be a normal time series graph and was only meant to give a rough idea of what's going on. I'll give you an example. If I have a long running test that goes for 3 days, how wide would the graph be? I've run tests for 1 week in the past with jmeter. What you're looking for is a different kind of graph, which currently doesn't exist in jmeter. I thought about writing one in the past, but never got around to it. I haven't been active with jmeter since 2007. If you want a real time series graph, i would suggest implementing it yourself. You can look at the existing listeners to see how they work. In my mind, the bug is in the documentation, since it never really explains the purpose of the graph and the rationale behind it. peter On Wed, May 13, 2009 at 8:03 PM, drubix andrew.schr...@gmail.com wrote: Even if it's not a bug, it's definitely a design flaw. The graph's produced don't make sense and can't be directly exported into a report due to their non-standard nature. I'll file a bugzilla report regarding this. Drew Peter Lin wrote: I could be wrong, but it has always been that way. The default graph listener has a fixed width, so once it reaches the end it just continues at the beginning again. peter On Tue, May 12, 2009 at 8:29 PM, drubix andrew.schr...@gmail.com wrote: I've had this problem both when running the tests in GUI mode and non-GUI mode (and opening the JTL file after the test has completed). I'm away from work today and don't have any of my testing files but I'll upload a bugzilla report tomorrow if that is not the intended functionality. Drew Peter Lin wrote: Isn't that how it has always worked. If the test plan is large and runs for a long time, the graph start back at the beginning again. peter On Tue, May 12, 2009 at 6:24 PM, sebb seb...@gmail.com wrote: On 11/05/2009, drubix andrew.schr...@gmail.com wrote: Hi, When using the Graph Results listener, if the plot goes off the end of the X axis it continues to plot at time 0 again. This means that there are 2 or more lines running over the top of each other, all of the same colour. This produces some pretty nasty graphs which are difficult to read and are nonsensical. I've attached an example: http://www.nabble.com/file/p23477206/graph.jpg I assume this isn't supposed to happen... does anybody know why mine is doing it? Not sure why this is happening; may be a threading issue. I suggest you save the samples to a JTL file - CSV mode is cheapest - and reload in the Listener after the test run. [This will be done in a single thread.] If it still causes wrap-round, then please raise a Bugzilla issue and attach the JTL file. Thanks, Drew -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23477206.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23513354.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e
Re: Graph Results overlap
Isn't that how it has always worked. If the test plan is large and runs for a long time, the graph start back at the beginning again. peter On Tue, May 12, 2009 at 6:24 PM, sebb seb...@gmail.com wrote: On 11/05/2009, drubix andrew.schr...@gmail.com wrote: Hi, When using the Graph Results listener, if the plot goes off the end of the X axis it continues to plot at time 0 again. This means that there are 2 or more lines running over the top of each other, all of the same colour. This produces some pretty nasty graphs which are difficult to read and are nonsensical. I've attached an example: http://www.nabble.com/file/p23477206/graph.jpg I assume this isn't supposed to happen... does anybody know why mine is doing it? Not sure why this is happening; may be a threading issue. I suggest you save the samples to a JTL file - CSV mode is cheapest - and reload in the Listener after the test run. [This will be done in a single thread.] If it still causes wrap-round, then please raise a Bugzilla issue and attach the JTL file. Thanks, Drew -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23477206.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Graph Results overlap
I could be wrong, but it has always been that way. The default graph listener has a fixed width, so once it reaches the end it just continues at the beginning again. peter On Tue, May 12, 2009 at 8:29 PM, drubix andrew.schr...@gmail.com wrote: I've had this problem both when running the tests in GUI mode and non-GUI mode (and opening the JTL file after the test has completed). I'm away from work today and don't have any of my testing files but I'll upload a bugzilla report tomorrow if that is not the intended functionality. Drew Peter Lin wrote: Isn't that how it has always worked. If the test plan is large and runs for a long time, the graph start back at the beginning again. peter On Tue, May 12, 2009 at 6:24 PM, sebb seb...@gmail.com wrote: On 11/05/2009, drubix andrew.schr...@gmail.com wrote: Hi, When using the Graph Results listener, if the plot goes off the end of the X axis it continues to plot at time 0 again. This means that there are 2 or more lines running over the top of each other, all of the same colour. This produces some pretty nasty graphs which are difficult to read and are nonsensical. I've attached an example: http://www.nabble.com/file/p23477206/graph.jpg I assume this isn't supposed to happen... does anybody know why mine is doing it? Not sure why this is happening; may be a threading issue. I suggest you save the samples to a JTL file - CSV mode is cheapest - and reload in the Listener after the test run. [This will be done in a single thread.] If it still causes wrap-round, then please raise a Bugzilla issue and attach the JTL file. Thanks, Drew -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23477206.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org -- View this message in context: http://www.nabble.com/Graph-Results-overlap-tp23477206p23513354.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: TestNG sampler
there's already an existing JUnit sampler. you could extend that sampler to support TestNG. I wrote the JUnit sampler back in 2006. peter On Mon, May 11, 2009 at 5:31 PM, Chi Tong chict...@yahoo.com wrote: Hi, Will there be a TestNG sampler available in Jmeter's future release for driving TestNG tests? Or is there already an existing TestNG plugin for Jmeter available? Thanks, Chi - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Maximum Users can JMeter support for HTTP Request
the best way to find out is create a test plan and try ramping up the number of threads in blocks of 100. peter On Wed, Apr 22, 2009 at 10:46 AM, C.Vijayakumar bcvijayaku...@altechindia.com wrote: Hi Sebb , What I meant is , I just want to test the Java application ( HTTP Request ) with 2500 Users ( Heap Memory Size is 512 - 1024 ) The link http://markmail.org/message/7hqxvchxlt755qb7 says that users have reported successfully running 1000 threads in a single JMeter instance. Then , What I have to do to get proper results by running 2500 users concurrently ? Thanking you . With warm regards., Vijayakumar.C -Original Message- From: sebb [mailto:seb...@gmail.com] Sent: Wednesday, April 22, 2009 5:19 PM To: JMeter Users List Subject: Re: Maximum Users can JMeter support for HTTP Request On 22/04/2009, C.Vijayakumar bcvijayaku...@altechindia.com wrote: Please let me know , How many threads can JMeter ( 2.3.2 ) support at the maximum for HTTP Request ? That question does not make sense, as it depends on the test plan, the host, the network. Thanking you . With warm regards., Vijayakumar.C - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Jmeter Monitor results script
the monitor only works for tomcat. Make sure you have it configured correctly. try accessing the tomcat's status servlet with a browser. On Fri, Apr 17, 2009 at 12:58 PM, Ekta Trivedi etriv...@mathematica-mpr.com wrote: Hi, I am trying to input Monitor result feature in my scripts. Here is my input, Server request (http request) Monitor Result listener But during run I see server status = dead. I am following JMeter manual and has exact same information in my script. Please help. Ekta - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Monitor Results in jmeter for Glassfish App server
the monitor sampler only works with tomcat. to use it with other containers, you have to port tomcat's status servlet to the target container and access the appropriate mbeans to get the stats. peter On Tue, Mar 3, 2009 at 9:55 PM, Raghuvir Kamath raghuvirkam...@gmail.com wrote: Hi I want to monitor the results of Glassfish Appserver using Jmeter . I followed the steps mentioned by you :- 1. Change the Name field to Server Status. 2. Enter the IP address or Hostname 3. Enter the port number 4. Set the Path field to /manager/status if you're using Tomcat. 5. Add a request parameter named XML in uppercase. Give it a value of true in lowercase. 6. Check Use as Monitor at the bottom of the sample. In step 4 I have set the path to / as the status is displayed in the default page. Step 5 I have added 2 request parameters as user id and password. I have checked use as Monitor at the bottom of the sample. Then I have added Listener - Monitor Results But I dont see my server in the performance tab. Did I miss any configuration ? Thanks, Raghuvir - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Monitor Results in jmeter for Glassfish App server
I would suggest looking at tomcat's status servlet as the starting point. It's just a servlet that uses mbeans. Most servlet and ejb containers use mbeans to manage things, so you just have to dig through the docs for each product to figure out which mbeans to use. sorry i can't give you more details. It's been a long time since I've tried porting tomcat's status servlet to weblogic or websphere On Tue, Mar 3, 2009 at 11:35 PM, Rekha_Arsi rekha_a...@satyam.com wrote: Hi Peter, Could you please guide me how can I port tomcat's status servlet to the target container inorder to output the server values in xml format Can we do this for any application server. Thanks and Regards Rekha Arsi -Original Message- From: Peter Lin [mailto:wool...@gmail.com] Sent: Wednesday, March 04, 2009 8:31 AM To: JMeter Users List Subject: Re: Monitor Results in jmeter for Glassfish App server the monitor sampler only works with tomcat. to use it with other containers, you have to port tomcat's status servlet to the target container and access the appropriate mbeans to get the stats. peter On Tue, Mar 3, 2009 at 9:55 PM, Raghuvir Kamath raghuvirkam...@gmail.com wrote: Hi I want to monitor the results of Glassfish Appserver using Jmeter . I followed the steps mentioned by you :- 1. Change the Name field to Server Status. 2. Enter the IP address or Hostname 3. Enter the port number 4. Set the Path field to /manager/status if you're using Tomcat. 5. Add a request parameter named XML in uppercase. Give it a value of true in lowercase. 6. Check Use as Monitor at the bottom of the sample. In step 4 I have set the path to / as the status is displayed in the default page. Step 5 I have added 2 request parameters as user id and password. I have checked use as Monitor at the bottom of the sample. Then I have added Listener - Monitor Results But I dont see my server in the performance tab. Did I miss any configuration ? Thanks, Raghuvir - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Generate Summary Results - Incorrect Calculations?
the min time is the first record in the .jtl file. The max time is the last record. the duraction is max - min. peter On Wed, Jan 7, 2009 at 10:40 AM, Woodcock, Simon swood...@qualcomm.com wrote: Sebb, The results are logging to a .jtl file, the test is set to loop 'forever'. Could you explain in more detail what you mean by checking the 'min start time' and the 'max end time'. Thanks, Simon. - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: [Help] Checking number of concurrent session with JMeter?
the key here is to determine was the peak request per second is. 24000 users that are inactive might only generate 100 request/second. 1000 very active users could easily exceed the load generated by 24000 inactive users. peter On Fri, Oct 17, 2008 at 8:18 AM, rustix [EMAIL PROTECTED] wrote: i've created a wap application using java and wml. this system has to be able to support 24000 concurrent sessions at a given time. how could i carry this out? i'm hoping to use JMeter -- View this message in context: http://www.nabble.com/-Help--Checking-number-of-concurrent-session-with-JMeter--tp20032128p20032128.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: [Help] Checking number of concurrent session with JMeter?
good point. 24000 session may not be a problem if the application doesn't stick huge objects in the session. I've seen people stick huge object graphs in tomcat sessions and then wonder why 20 users made it crawl. peter On Fri, Oct 17, 2008 at 8:59 AM, sebb [EMAIL PROTECTED] wrote: On 17/10/2008, Peter Lin [EMAIL PROTECTED] wrote: the key here is to determine was the peak request per second is. 24000 users that are inactive might only generate 100 request/second. 1000 very active users could easily exceed the load generated by 24000 inactive users. True, but the total number of sessions stored in a server may affect its performance, so it may be necessary to generate many different session ids. But I agree that the starting point is to look at the requests per second. If the server cannot handle the target load with fewer sessions, then it is not going to cope with the same load generated by more sessions. peter On Fri, Oct 17, 2008 at 8:18 AM, rustix [EMAIL PROTECTED] wrote: i've created a wap application using java and wml. this system has to be able to support 24000 concurrent sessions at a given time. how could i carry this out? i'm hoping to use JMeter -- View this message in context: http://www.nabble.com/-Help--Checking-number-of-concurrent-session-with-JMeter--tp20032128p20032128.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] - 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]
Re: AW: Reporting tool for JMeter
Actually I'm too busy these days to work on the reporting tool. I haven't touched it since 2006 and have no plans of finishing it. peter On Thu, Oct 16, 2008 at 9:14 AM, Mishra, Ajay [EMAIL PROTECTED] wrote: Hi Peter, Nice to hear that your are working on the reporting tool. I think that is one of the big drawback in Jmeter i.e. its reporting is very bad. I will take this opportunity to point out that we should also look at having some reports which captures System Parameters as well. Those are very necessary requirements for a performance Test. Also wanted to know if someone has faced the situation wherein when a Test is run from the NON-GUI mode the System parameters are not captured in .JTL file but it works when the test runs in GUI mode. Wanted to know if there is a workaround to resolve the same. Regard's Ajay Mishra -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 16, 2008 6:37 PM To: JMeter Users List Subject: Re: AW: Reporting tool for JMeter sorry for the delay responding. I never got around to finishing it, so it was never released. peter On Tue, Oct 14, 2008 at 1:01 AM, TARUN_P [EMAIL PROTECTED] wrote: Hi Peter, Nice to hear this. Is the product already released? Tarun Christian Baumgartner wrote: Hello Peter, the reporting tool sounds like the thing i was missing in jmeter the whole time i am using it. if it comes for testing, i would be glad to help. good morning Christian -Ursprüngliche Nachricht- Von: Peter Lin [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. August 2005 16:42 An: jmeter-user Betreff: Reporting tool for JMeter My apologies to the users for accidentally hijacking the VM thread. I'm reposting it under a new topic for those interested in hearing about the reporting feature I'm working on. I posted a message to jmeter-dev a few weeks back about reporting tool for jmeter. I guess now is as good of time as any to let others know. I am currently working on a reporting tool for jmeter. I have a need for test and report automation, so I am writing a new GUI to design reports and an engine that can run in GUI or console mode for generating the reports. Right now, my feature list is the following. Keep in mind, there's no gaurantee this will be the final thing, but they are on my list. 1. new gui for designing reports 2. run in GUI or console mode 3. report plan - may contain 1 or more report pages 4. report page - may contain 1 or more charts or tables with statistics like the aggregate listener 5. report header/footer - so users can point to a server side include like .shtml or paste in the HTML directly 6. stylesheet - a link to the stylesheet 7. report writers - initially I plan to write HTML and Text report writer 8. charts - simple bar graphs 9. tables - simple table similar to aggregate listener 10. be able to process multiple files 11. be able to aggregate multiple files I don't know how many features I'll be able to implement, but that's my goal at the moment. - 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] -- View this message in context: http://www.nabble.com/Reporting-tool-for-JMeter-tp647662p19967075.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] - 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]
Re: AW: Reporting tool for JMeter
sorry for the delay responding. I never got around to finishing it, so it was never released. peter On Tue, Oct 14, 2008 at 1:01 AM, TARUN_P [EMAIL PROTECTED] wrote: Hi Peter, Nice to hear this. Is the product already released? Tarun Christian Baumgartner wrote: Hello Peter, the reporting tool sounds like the thing i was missing in jmeter the whole time i am using it. if it comes for testing, i would be glad to help. good morning Christian -Ursprüngliche Nachricht- Von: Peter Lin [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. August 2005 16:42 An: jmeter-user Betreff: Reporting tool for JMeter My apologies to the users for accidentally hijacking the VM thread. I'm reposting it under a new topic for those interested in hearing about the reporting feature I'm working on. I posted a message to jmeter-dev a few weeks back about reporting tool for jmeter. I guess now is as good of time as any to let others know. I am currently working on a reporting tool for jmeter. I have a need for test and report automation, so I am writing a new GUI to design reports and an engine that can run in GUI or console mode for generating the reports. Right now, my feature list is the following. Keep in mind, there's no gaurantee this will be the final thing, but they are on my list. 1. new gui for designing reports 2. run in GUI or console mode 3. report plan - may contain 1 or more report pages 4. report page - may contain 1 or more charts or tables with statistics like the aggregate listener 5. report header/footer - so users can point to a server side include like .shtml or paste in the HTML directly 6. stylesheet - a link to the stylesheet 7. report writers - initially I plan to write HTML and Text report writer 8. charts - simple bar graphs 9. tables - simple table similar to aggregate listener 10. be able to process multiple files 11. be able to aggregate multiple files I don't know how many features I'll be able to implement, but that's my goal at the moment. - 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] -- View this message in context: http://www.nabble.com/Reporting-tool-for-JMeter-tp647662p19967075.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Documentation about the GUI Structure.
have you looked at the PDF on extending jmeter? http://jakarta.apache.org/jmeter/extending/jmeter_tutorial.pdf peter 2008/9/16 [EMAIL PROTECTED]: Hi, My company is relying heavily on JMETER. The management wants that we are able to make our add ons. Therefore I must learn to extend the BeanShellPreprocessor with a CheckBox and add some functionality. I am working on this issue since 5 days and it seems to me that I can't find how the page Swing page is setted up so I can extend the page with a check box or radio button. Any info or tip where I can find info would be great. Cheers Richard __ Smals sluit elke aansprakelijkheid uit in verband met de juistheid, de volledigheid of het tijdig toekomen van de informatie in deze e-mail. Aan deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in geen geval een erkenning van welkdanige aansprakelijkheid in. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en het bericht te vernietigen. Smals décline toute responsabilité quant à l'exactitude, à l'exhaustivité et au délai de transmission des informations contenues dans cet e-mail. Aucun droit ne peut être revendiqué sur cet e-mail et cet e-mail n'implique en aucun cas une reconnaissance de responsabilité, quelle qu'elle soit. Ce message s'adresse uniquement au destinataire. Si ce message ne vous est pas destiné, nous vous prions de nous le signaler immédiatement et de détruire le message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Question about Scalability of Jmeter-Server
On Thu, Aug 28, 2008 at 12:15 PM, Huesgen, Chad [EMAIL PROTECTED] wrote: Sorry should of put that in there. I am running all tests in non-gui mode, gave jmeter-server 1 gig of mem and cycling jmeter-servers between each test. I moved the client to the webserver to reduce the amount of network hops that the client and server have to make. Since this is a ping test, basically display hello world, I would definitely expect the min and median to be very consistent but the max and 9xile's I expected to be closer to the median. I would definitely expect the client to be a little of a bottleneck since 2 servers are responding back to it which is why I was curious to see if people used multiple jmeter-clients instead of jmeter-servers since that would get rid of the multiple hits to one client. I tried to minimize the bottleneck of the client by running it in non-gui mode and also using a simple datawriter to write my results. Thanks, Chad the percentile statistics can vary for a variety of reasons. One thing you can do is look at the network usage on the system running the webserver. if the webserver's network IO is maxed out, it can affect those statistics. You might want to look at what percent of the requests are between the mean and 90%. peter - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Monitoring with JMeter
the monitor in jmeter is a monitor for tomcat. It's not a general purpose monitor. it reads data from tomcat's status servlet and monitors tomcat. peter On Mon, Aug 11, 2008 at 11:37 AM, uzfarid [EMAIL PROTECTED] wrote: Hi, I read that The monitor requires Tomcat 5 , what does this actually mean? Where we should install Tomcat 5? In general is there any clear guidelines on how to setup hardware monitoring with JMeter? Thank you, Br, Farid. -- View this message in context: http://www.nabble.com/Monitoring-with-JMeter-tp18928222p18928222.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: 3600 Threads with a rampup of 3600 seconds?
Since the goal is to simulate 3600 users per hour, you don't have enough information to do a good job. The first thing I would do is see if there's HTTP logs. If there is, use webtrends or some other web analysis tool to figure out how long the average session is and what the break down looks like. I say this for a few reasons. If a system get 3600 users per hour, that doesn't tell us if each session is 1 min or 10 minutes. It also doesn't tell us how many requests they make per minute and what gets put in the session. Running a test without this information isn't going give you a complete picture. I've worked on superpages.com and other high volume websites, so it crucial you have this information. Once you know the average duration per session, average requests per second, and the pages they hit, you'll be able to simulate 3600 users with fewer resources. On the opposite end, if you really want to simulate 3600 active users per hour, you'll need several machines and use Jmeter to do distributed testing. to figure out how many systems you'll need divide 3600 / 150 = 24 machines. Even before you run a full blown test, I can tell you right now that 3600 active heavy users will require a lot of bandwidth. If it's an intranet application, bandwidth won't be an issue. If it's a public application on the internet, you'll need a lot of bandwidth. By a lot I mean a lot more than a T1. If the server isn't hosted at a big ISP with lots of bandwidth, the server won't be the bottleneck. If you haven't read my articles on Jmeter and Tomcat website, i would recommend you read them. It may help. http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf http://jakarta.apache.org/tomcat/articles/performance.pdf http://cvs.apache.org/~woolfel/article.zip peter On Thu, Jul 10, 2008 at 7:36 AM, sebb [EMAIL PROTECTED] wrote: On 10/07/2008, kirk [EMAIL PROTECTED] wrote: Hi, Long story short, your server does not care much about the number of concurrent users, it is just receiving the requests, processing them and sending out the response. I would beg do differ. For one thing if you are using cookies and sessions, the server will be holding onto resources for each user. Because of this the number of concurrent users can make a difference. This is a problem if you just loop over 25 users using JMeter. It caches the session ID and if you want a different user on each run you'll have to do something to make sure that it happens as expected. Otherwise you won't get the resource consumption that you'd see in a real system. The Cookie Manager has a Clear Cookies each iteration setting. This can be used to force the server to generate a new cookie/session. Likewise, if the website uses login/logout these can be added to the test plan. A JMeter load test which does not generate as many sessions as individual users do can still be useful - if the performance is poor, it's very unlikely that the performance will improve when the resource usage is increased. And the relative page timings are likely to be the same, even if the absolute ones are not. Also, if the response timings are not consistent in such a test, that can point to server housekeeping issues (e.g garbage collection). I would suggest setting the number of JMeter threads to be the maximum expected number of concurrent active sessions, and use timers etc to set the throughput to the target throughput. Add cookie clearing/logins as needed to simulate the actual user numbers. However you should probably start with lower numbers, especially if you are testing against a live server ;-) Thanks for the links though. I might add a shameless plug for www.javaperformancetuning.com. Regards, Kirk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 3600 Threads with a rampup of 3600 seconds?
if you don't set a ramp up time, jmeter will try to create all threads when the test starts. in general, having 3600 threads isn't necessary to simulate 3600 users in one hour. What matters is the number of page views and hits per second on the webserver. It's better to try to simulate the requests/second or pageviews/second. 3600 users that view 1 page every 5 minutes is different than 200 users viewing 10 pages ever 2 minutes. As a general rule, once you know the req/second, you can calculate how many users a server can support by looking at the average requests/user/minute. peter On Wed, Jul 9, 2008 at 10:38 AM, Abel MacAdam [EMAIL PROTECTED] wrote: Hi, Today I tried to emulate 3600 users in one hour by making a test where 3600 threads where started in 3600 seconds. I observed that the load in one of my CPU's went to 100 %, and that JMeter stopped responding. Eventually I killed this process, and restarted it with 25 threads, to be started within 25 seconds, and looping forever, but now for 3600 seconds (one hour). Now the test is running, while my CPU-usage is idling at away between 2 and 5 %. At the same time I'm writing this question. So all in all a much better situation. My question: Is JMeter loading all 3600 threads in memory, resulting in requiring that much memory and processor power? Thanks, Abel -- View this message in context: http://www.nabble.com/3600-Threads-with-a-rampup-of-3600-seconds--tp18363108p18363108.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: JMeter with JMS Point-to-Point using Oracle JMS Provider-Failing
If I understand correctly, you want to correlate the id for the point-to-point messages. unfortunately, I didn't work on that, so I don't have any suggestions off hand. peter On Thu, Jun 12, 2008 at 4:50 AM, JMeterWithOracle [EMAIL PROTECTED] wrote: Hi Peter, Yeah I am able to connect to Oracle JMS and the MDB listening to the queue where the JMeter is dumping messages via 'Request queue' is also getting fired.On the 'receive Queue' it reads the messages which I can monitor from Oracle Application server admin console.However at Jmeter end it's unable to show the message it's reading from the 'receive queue'.Onclicking 'Run' the instance becomes red.However for only 'Request' mode of operation JMeter is working fine.But I need to test correlation so I need 'Request/Response' mode to work.I am using Oracle Application server 10.1.3.1g.Please let me know what is the possible cause of this error. Thanks. Peter Lin wrote: not sure what you mean. are you able to connect to oracle jms? Is the problem displaying the results of the messages in JMeter? or something other problem. On Wed, Jun 11, 2008 at 9:19 AM, JMeterWithOracle [EMAIL PROTECTED] wrote: Hi All, I am trying to set up JMeter in Request-Response mode for Point-to-Point JMS using Oracle app server JMS provider.It is able to post messages to the queue and also read those messages from another queue but unable to render the response it reads from the receive Queue. The configuration I used is as attached as a screenshot: http://www.nabble.com/file/p1386/Screenshot.JPG Screenshot.JPG Please advice what can be a possible way to make it work. Thanks. -- View this message in context: http://www.nabble.com/JMeter-with-JMS-Point-to-Point-using-Oracle-JMS-Provider-Failing-tp1386p1386.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/JMeter-with-JMS-Point-to-Point-using-Oracle-JMS-Provider-Failing-tp1386p17795103.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Jmeter2.3.1 JMS Publisher Problem
please look at activemq docs to configure it. peter On Tue, Jun 10, 2008 at 11:51 PM, ModiPawan [EMAIL PROTECTED] wrote: Hi Peter, I am using ActiveMQ 5.1.0 here is its configuration file. http://www.nabble.com/file/p17769562/activemq.xml activemq.xml Where to configure topic in this configuration file or need to configure in any other configuration file. In ActiveMQ_Home/home i just found single configuration file attached above. Thanks regards, Pawan Modi Peter Lin wrote: looks like your activemq isn't configured with the correct topic 2008/06/11 08:42:35 ERROR - jmeter.protocol.jms.client.InitialContextFactory: JNDI error: example.MyTopic double check the activemq configuration file and make sure you've declared the topic On Tue, Jun 10, 2008 at 11:16 PM, ModiPawan [EMAIL PROTECTED] wrote: Hi Peter, Thanks for the reply. I have already provided activemq-core-5.1.0.jar in Jmeter lib directory. I checked org.apache.activemq.jndi.ActiveMQInitialContextFactory is available in this jar. I took this Jar from my ActiveMQ server. My Publisher configuration shown below: http://www.nabble.com/file/p17769228/JMS-Publisher.jpg My publisher table listener shown below http://www.nabble.com/file/p17769228/Publisher-Listener.jpg I have also attached Jmeter log file. http://www.nabble.com/file/p17769228/jmeter.log jmeter.log Kindly guide how can i solve this problem? Thanks in advance. With Regards, Pawan Modi Peter Lin wrote: looks like it couldn't create the initialcontext. make sure you have the activemq jar in jmeter's lib folder peter On Tue, Jun 10, 2008 at 8:24 AM, ModiPawan [EMAIL PROTECTED] wrote: Hi Jmeter Community, I am new to Jmeter. I am using Jmeter2.3.1. I want to perform some JMS test using Jmeter. I am using JMS publisher provided following values for the fields InitialContextFactory= org.apache.activemq.jndi.ActiveMQInitialContextFactory ProviderUrl= tcp://localhost:61616 ConnectionFactory= ConnectionFactory Topic= example.MyTopic My ActiveMQ server is also running in local machine. Running my Jmeter publisher i am getting following error 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.InitialContextFactory: JNDI error: mytopic 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.Publisher: java.io.InterruptedIOException If any one is aware of this problem then please share the solution with me Thanks in advance. with regards, Pawan Modi -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17754128.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17769228.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17769562.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: JMeter with JMS Point-to-Point using Oracle JMS Provider-Failing
not sure what you mean. are you able to connect to oracle jms? Is the problem displaying the results of the messages in JMeter? or something other problem. On Wed, Jun 11, 2008 at 9:19 AM, JMeterWithOracle [EMAIL PROTECTED] wrote: Hi All, I am trying to set up JMeter in Request-Response mode for Point-to-Point JMS using Oracle app server JMS provider.It is able to post messages to the queue and also read those messages from another queue but unable to render the response it reads from the receive Queue. The configuration I used is as attached as a screenshot: http://www.nabble.com/file/p1386/Screenshot.JPG Screenshot.JPG Please advice what can be a possible way to make it work. Thanks. -- View this message in context: http://www.nabble.com/JMeter-with-JMS-Point-to-Point-using-Oracle-JMS-Provider-Failing-tp1386p1386.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Jmeter2.3.1 JMS Publisher Problem
http://activemq.apache.org/xml-configuration.html On Wed, Jun 11, 2008 at 7:58 AM, ModiPawan [EMAIL PROTECTED] wrote: Hi Peter, I gone through with ActiveMQ 5.0 documentation but not find configuration detials about topic. I searched in google posted query in ActiveMQ forum for the same but not getting answer. I appreciate if you guide me configuring topics in ActiveMQ with a short example. I am struggle for the same since 2 days. Thanks in advance. With regards, Pawan Modi Peter Lin wrote: please look at activemq docs to configure it. peter On Tue, Jun 10, 2008 at 11:51 PM, ModiPawan [EMAIL PROTECTED] wrote: Hi Peter, I am using ActiveMQ 5.1.0 here is its configuration file. http://www.nabble.com/file/p17769562/activemq.xml activemq.xml Where to configure topic in this configuration file or need to configure in any other configuration file. In ActiveMQ_Home/home i just found single configuration file attached above. Thanks regards, Pawan Modi Peter Lin wrote: looks like your activemq isn't configured with the correct topic 2008/06/11 08:42:35 ERROR - jmeter.protocol.jms.client.InitialContextFactory: JNDI error: example.MyTopic double check the activemq configuration file and make sure you've declared the topic On Tue, Jun 10, 2008 at 11:16 PM, ModiPawan [EMAIL PROTECTED] wrote: Hi Peter, Thanks for the reply. I have already provided activemq-core-5.1.0.jar in Jmeter lib directory. I checked org.apache.activemq.jndi.ActiveMQInitialContextFactory is available in this jar. I took this Jar from my ActiveMQ server. My Publisher configuration shown below: http://www.nabble.com/file/p17769228/JMS-Publisher.jpg My publisher table listener shown below http://www.nabble.com/file/p17769228/Publisher-Listener.jpg I have also attached Jmeter log file. http://www.nabble.com/file/p17769228/jmeter.log jmeter.log Kindly guide how can i solve this problem? Thanks in advance. With Regards, Pawan Modi Peter Lin wrote: looks like it couldn't create the initialcontext. make sure you have the activemq jar in jmeter's lib folder peter On Tue, Jun 10, 2008 at 8:24 AM, ModiPawan [EMAIL PROTECTED] wrote: Hi Jmeter Community, I am new to Jmeter. I am using Jmeter2.3.1. I want to perform some JMS test using Jmeter. I am using JMS publisher provided following values for the fields InitialContextFactory= org.apache.activemq.jndi.ActiveMQInitialContextFactory ProviderUrl= tcp://localhost:61616 ConnectionFactory= ConnectionFactory Topic= example.MyTopic My ActiveMQ server is also running in local machine. Running my Jmeter publisher i am getting following error 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.InitialContextFactory: JNDI error: mytopic 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.Publisher: java.io.InterruptedIOException If any one is aware of this problem then please share the solution with me Thanks in advance. with regards, Pawan Modi -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17754128.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17769228.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17769562.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17775830.html Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
Re: Jmeter2.3.1 JMS Publisher Problem
looks like it couldn't create the initialcontext. make sure you have the activemq jar in jmeter's lib folder peter On Tue, Jun 10, 2008 at 8:24 AM, ModiPawan [EMAIL PROTECTED] wrote: Hi Jmeter Community, I am new to Jmeter. I am using Jmeter2.3.1. I want to perform some JMS test using Jmeter. I am using JMS publisher provided following values for the fields InitialContextFactory= org.apache.activemq.jndi.ActiveMQInitialContextFactory ProviderUrl= tcp://localhost:61616 ConnectionFactory= ConnectionFactory Topic= example.MyTopic My ActiveMQ server is also running in local machine. Running my Jmeter publisher i am getting following error 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.InitialContextFactory: JNDI error: mytopic 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.Publisher: java.io.InterruptedIOException If any one is aware of this problem then please share the solution with me Thanks in advance. with regards, Pawan Modi -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17754128.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Is there any way of doing JDBC recording
you can try a network sniffer, but that would give you raw data and not something jmeter can consume. the other option is to have the client log the statements out to a file and use it from jmeter peter On Tue, Jun 10, 2008 at 12:12 PM, gpthree [EMAIL PROTECTED] wrote: Hi, I am trying to load test an application (client - server) - thick client. Now most of the requests sent are JDBC and SOAP. Is there any way of recording these requests? If so can anyone please tell me how? Are there any other 3rd party tools that can help me record the jdbc requests?? Can I sent multiple SQL queries in a single JDBC request?? I have added a couple of JDBC requests and further a listner tree. I am getting the following error. Any idea what I am doing wrong? java.net.ConnectException MESSAGE: Connection timed out: connect STACKTRACE: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.init(Unknown Source) at java.net.Socket.init(Unknown Source) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:173) at com.mysql.jdbc.MysqlIO.init(MysqlIO.java:267) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2739) at com.mysql.jdbc.Connection.init(Connection.java:1553) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.java:185) at org.apache.avalon.excalibur.pool.ResourceLimitingPool.newPoolable(ResourceLimitingPool.java:672) at org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.newPoolable(ValidatedResourceLimitingPool.java:178) at org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcConnectionPool.newPoolable(ResourceLimitingJdbcConnectionPool.java:123) at org.apache.avalon.excalibur.pool.ResourceLimitingPool.get(ResourceLimitingPool.java:402) at org.apache.avalon.excalibur.pool.ValidatedResourceLimitingPool.get(ValidatedResourceLimitingPool.java:130) at org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.getConnection(ResourceLimitingJdbcDataSource.java:222) at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:79) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) ** END NESTED EXCEPTION ** Thanks in advance -- View this message in context: http://www.nabble.com/Is-there-any-way-of-doing-JDBC-recording-tp17759230p17759230.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Is there any way of doing JDBC recording
you'd have to change the code in your client to dumb out all sql queries and transactions to a text file as sql statements. then you can use it in jmeter peter On Tue, Jun 10, 2008 at 12:18 PM, gpthree [EMAIL PROTECTED] wrote: Hi Peter, Thanks for the spontaneous reply!! Can you plese brief me on your second point the client log the statements out to a file and use it from jmeter. How do i do that you can try a network sniffer, but that would give you raw data and not something jmeter can consume. the other option is to have the client log the statements out to a file and use it from jmeter peter -- View this message in context: http://www.nabble.com/Is-there-any-way-of-doing-JDBC-recording-tp17759230p17759345.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Jmeter2.3.1 JMS Publisher Problem
looks like your activemq isn't configured with the correct topic 2008/06/11 08:42:35 ERROR - jmeter.protocol.jms.client.InitialContextFactory: JNDI error: example.MyTopic double check the activemq configuration file and make sure you've declared the topic On Tue, Jun 10, 2008 at 11:16 PM, ModiPawan [EMAIL PROTECTED] wrote: Hi Peter, Thanks for the reply. I have already provided activemq-core-5.1.0.jar in Jmeter lib directory. I checked org.apache.activemq.jndi.ActiveMQInitialContextFactory is available in this jar. I took this Jar from my ActiveMQ server. My Publisher configuration shown below: http://www.nabble.com/file/p17769228/JMS-Publisher.jpg My publisher table listener shown below http://www.nabble.com/file/p17769228/Publisher-Listener.jpg I have also attached Jmeter log file. http://www.nabble.com/file/p17769228/jmeter.log jmeter.log Kindly guide how can i solve this problem? Thanks in advance. With Regards, Pawan Modi Peter Lin wrote: looks like it couldn't create the initialcontext. make sure you have the activemq jar in jmeter's lib folder peter On Tue, Jun 10, 2008 at 8:24 AM, ModiPawan [EMAIL PROTECTED] wrote: Hi Jmeter Community, I am new to Jmeter. I am using Jmeter2.3.1. I want to perform some JMS test using Jmeter. I am using JMS publisher provided following values for the fields InitialContextFactory= org.apache.activemq.jndi.ActiveMQInitialContextFactory ProviderUrl= tcp://localhost:61616 ConnectionFactory= ConnectionFactory Topic= example.MyTopic My ActiveMQ server is also running in local machine. Running my Jmeter publisher i am getting following error 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.InitialContextFactory: JNDI error: mytopic 2008/06/10 17:37:25 ERROR - jmeter.protocol.jms.client.Publisher: java.io.InterruptedIOException If any one is aware of this problem then please share the solution with me Thanks in advance. with regards, Pawan Modi -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17754128.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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] -- View this message in context: http://www.nabble.com/Jmeter2.3.1-JMS-Publisher-Problem-tp17754128p17769228.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Access Log Sampler
What I've done in the past with tomcat is to write a request filter to dump the request parameters into the log. in some cases, you may not want to do that for security reasons if there's sensitive data. peter On Thu, May 15, 2008 at 6:53 AM, sebb [EMAIL PROTECTED] wrote: On 14/05/2008, john wu [EMAIL PROTECTED] wrote: Hi All, Does Access Log Sampler support POST request in the log file? No, because in general the access log does not contain all the information needed to recreate the request - for example as far as I know the access log will never contain details of the POST body. How to set it up? In my log file, I have many POST request and send different parameters for each post request, do I have to pass all these parameters in HTTP Request Default? That won't work. Defaults are fixed values. Thanks - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Access Log Sampler
as long as it follows normal get format param=valueparam2=value On Thu, May 15, 2008 at 8:17 AM, sebb [EMAIL PROTECTED] wrote: I've just had a look at the code, and it does handle POST requests, so if the POSTs don't have bodies, the Access Log Sampler should work OK. @Peter: what format do the request parameters have to be in for the sampler to pick them up? On 15/05/2008, Peter Lin [EMAIL PROTECTED] wrote: What I've done in the past with tomcat is to write a request filter to dump the request parameters into the log. in some cases, you may not want to do that for security reasons if there's sensitive data. peter On Thu, May 15, 2008 at 6:53 AM, sebb [EMAIL PROTECTED] wrote: On 14/05/2008, john wu [EMAIL PROTECTED] wrote: Hi All, Does Access Log Sampler support POST request in the log file? No, because in general the access log does not contain all the information needed to recreate the request - for example as far as I know the access log will never contain details of the POST body. How to set it up? In my log file, I have many POST request and send different parameters for each post request, do I have to pass all these parameters in HTTP Request Default? That won't work. Defaults are fixed values. Thanks - 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] - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Looping the monitor results listener - best way?
if you want the monitor to only run during the stress test, just set the iteration and delay so it roughly matches the duration of the test. peter On Wed, Apr 30, 2008 at 6:50 AM, efj [EMAIL PROTECTED] wrote: Hi, I've set up a simple test plan to see how the monitor results listener works based on the example online documentation (http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html). At first I couldn't work out why I could only get the health tab showing green but no data on the peformance tab. I realised that the monitor thread group wasn't looping thus I was only ever getting one sample in the results. So is it better to have the monitor results thread group loop or put the elements of the thread group into a single loop controller? I can't really see a difference at the minute. However, for the future I think I'll want the monitor thread group to only run whilst another thread group in the same test plan is running i.e. in my test plan I have two thread groups, one for multiple threads completing actions to put load on my application; the other with a single thread to house the monitor results listener. Any advice is appreciated. Cheers -- View this message in context: http://www.nabble.com/Looping-the-monitor-results-listener---best-way--tp16979974p16979974.html Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: How popular is JMeter?
there isn't a comprehensive list any where. JMeter is widely used, but it's hard to know exactly which companies use it. peter On Feb 1, 2008 10:19 PM, Joe S [EMAIL PROTECTED] wrote: Hi David, Thanks for your comments. Where can I find a list of companies who use JMeter? Thanks Joe On Feb 1, 2008 6:34 PM, David Brown [EMAIL PROTECTED] wrote: I don't know of any opensource competitors but commercial ones like: HPs LoadRunner would probably like to see JMeter go away like what Oracle is going to do with MySQL. JProbe is another. I think the JMeter Wiki has some material or articles on various opensource and commercial testing tools. HTH. Joe S wrote .. I have been using JMeter recently for testing SOAP WS and I am really impressed by it's power, flexibility, features and ease of use. My main question is that how popular it is for testing SOAP WS applications? Can we say it's sort of an 'industry standard' for testing web applications in general and SOAP in particular? What are it's main open-source or commercial competitors? Thanks. Joe - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Time spent where?
what I would do is added some simple code to time how long the queries take and write that to a file. Back when I worked for Superpages.com, we had all sorts of performance logging, so that we could generate reports every night. In my case, we had service level agreements, so we had to log extensively and make sure response time were within the requirements. peter On Jan 28, 2008 9:23 AM, sebb [EMAIL PROTECTED] wrote: On 28/01/2008, Lists [EMAIL PROTECTED] wrote: Hi, I've posted about this before, but got some more info now. We have a standard apache - tomcat - oracle system. In the db we can access the total time spent in tomcat and oracle. By analysing the apache logs (modjk gives you an elapsed time) we can log the time spent in apache, tomcat and oracle. And then of course jmeter gives us the overall end to end response times. The problem i have is that at higher loads, the gap of response times reported by jmeter grows much faster than it does when reported at the apache layer. So i thought this was caused by a busy jmeter server. So i ran 2 jmeters on 2 separate servers independantly (At half load). Unfortunately the gap remains. Is this a usual scenario that people see at high loads? could the figures being reported be lieing to me? The DB server is under load at this point but none of the other servers seem stressed. I'm a bit stuck in how to debug this further? How much longer? A few percent or much more? Are all samples affected? Does the additional time depend on the sample size? Note that the elapsed time will necessarily be longer than the apache log time; the JMeter latency should be closer to the apache log timings. Are you using any functions in the samplers? Function execution is single-threaded. Thanks, Dan Message sent using UebiMiau 2.7.10 - 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]
Re: Access Log Sampler
change the number of iterations to 1, if you just want it to read the first line. the purpose of the accesslog sampler is to take a huge log file with hundreds of thousands of requests and run a simulation of actual production traffic. peter On Jan 4, 2008 6:06 AM, Christian Hufgard [EMAIL PROTECTED] wrote: Hi everyone, I am the new guy on this list. :) I just tried to set up and use the access log sampler and cannot get it working. I followed this tutorial: http://jakarta.apache.org/jmeter/usermanual/jmeter_accesslog_sampler_step_by_step.pdf The behaviour I am expecting is, that the sampler always reads the first entry from the log, processes the request and stops working. How do I get the sampler to process all querys from my log? Christian -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Access Log Sampler
if you want a delay between requests, add a timer. when I wrote the sampler, it was to run a large number of requests. In my case, I took a sample log of 50K and set jmeter to run for 1million iterations I added a timer to produce the desired concurrent requests per second. peter On Jan 4, 2008 9:50 AM, Christian Hufgard [EMAIL PROTECTED] wrote: change the number of iterations to 1, if you just want it to read the first line. I want the exact oposite. :) If I increase the number of iterations, does the sampler take respect of the delay between the single requests? And how does it handle concurrent requests? Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Access Log Sampler
you can use multiple thread groups and control each one with a timer, though the timing is probably going to vary depending on how fast the server responds. at best, jmeter will try to simulate peak load and lull load. a simple way would be to create 10 thread groups and have some thread groups set to a longer interval. peter On Jan 4, 2008 10:10 AM, Christian Hufgard [EMAIL PROTECTED] wrote: when I wrote the sampler, it was to run a large number of requests. In my case, I took a sample log of 50K and set jmeter to run for 1million iterations Ah ok. My problem is some more weird. I have to simulate peaks with response-times up to 30 seconds. Then some minutes with one or two requests, than another peak. The application has an interesting load profile. :) I added a timer to produce the desired concurrent requests per second. So you used parallel thread groups? I think I will extend the AccessLogSampler to my needs (parallel unique requests with different threads with a timer that is fed from the access log. Thank you for your answers! Christian P.S. Was there already the thought to add a progressbar to jmeter during startup? On my development machine (dual core, lot of ram), I takes awful time to start up during that I see only a grey background... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Access Log Sampler
that's tricky :) exactly as possible will never be exactly what happened in production. the best one can hope for is the same traffic loads and patterns. from your comments so far, it sounds like you want to reproduce a sudden traffic spike to see what happens on the server and possible see how long it takes for the server to recover under normal loads. Is that correct? peter On Jan 4, 2008 10:53 AM, Christian Hufgard [EMAIL PROTECTED] wrote: you can use multiple thread groups and control each one with a timer, though the timing is probably going to vary depending on how fast the server responds. at best, jmeter will try to simulate peak load and lull load. a simple way would be to create 10 thread groups and have some thread groups set to a longer interval. Well, that would work. But my task is to reproduce the load as exactly as possible. I thaught, the access log sampler could do this. Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Access Log Sampler
in that case, if you get a rough approximation of the traffic pattern, you should be able to run it multiple times and get comparable results. peter On Jan 4, 2008 11:13 AM, Christian Hufgard [EMAIL PROTECTED] wrote: exactly as possible will never be exactly what happened in production. the best one can hope for is the same traffic loads and patterns. Yes, I had to add some patterns and I hoped, I could do this easier with this Sampler. from your comments so far, it sounds like you want to reproduce a sudden traffic spike to see what happens on the server and possible see how long it takes for the server to recover under normal loads. Is that correct? Kind of. In deed I do not want to test not my server but some backends it contacts. Of course it would be easier to directly contact them. But the customer wants to see the behaviour of the whole system (we exchange one backend with another) Christian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jmeter throughput goes down after few minutes; sign of memory leak?
which listeners are in the test plan? keep in mind soap is very verbose, so if you have any listeners it will consume a lot of memory very quickly. peter On Dec 11, 2007 9:41 AM, Joe S [EMAIL PROTECTED] wrote: Hi all, I noticed in my tests with Jmeter 2.3 in a Windows XP machine with Java 1.6that the throughput of SOAP tests goes down by more than 50% after a few minutes and continues going down. I'm wondering if that's a sign of a problem such as memory leak in the tool or its libraries. When I stop the test and then start it again, it starts from the last low-throughput number of the previous test, not from the original high number. But when I exit Jmeter and start it again, it starts from the high-throughput number and goes down again, the same pattern repeats. So it looks like that the problem is in Jmeter not in the server. Has anybody seen the same behavior? Any comment? Heres are some results: Jmeter running in a Windows XP machine using 5 threads, Java 1.6 -- The current time is: 9:11:45.44 Generate Summary Results + 7986 in 46.9s = 170.4/s Avg:19 Min: 0 Max:63 Err: 0 (0.00%) Generate Summary Results + 9589 in 60.0s = 159.8/s Avg:20 Min: 0 Max: 251 Err: 0 (0.00%) Generate Summary Results = 17575 in 106.8s = 164.5/s Avg:19 Min: 0 Max: 251 Err: 0 (0.00%) Generate Summary Results + 8964 in 60.0s = 149.3/s Avg:20 Min: 0 Max: 313 Err: 0 (0.00%) Generate Summary Results = 26539 in 166.9s = 159.0/s Avg:19 Min: 0 Max: 313 Err: 0 (0.00%) Generate Summary Results + 6101 in 60.0s = 101.7/s Avg:20 Min: 0 Max: 157 Err: 0 (0.00%) Generate Summary Results = 32640 in 226.9s = 143.9/s Avg:20 Min: 0 Max: 313 Err: 0 (0.00%) Generate Summary Results + 8407 in 60.0s = 140.1/s Avg:19 Min: 0 Max: 126 Err: 0 (0.00%) Generate Summary Results = 41049 in 286.8s = 143.1/s Avg:19 Min: 0 Max: 313 Err: 0 (0.00%) Generate Summary Results + 5165 in 59.8s = 86.4/s Avg:22 Min: 0 Max: 672 Err: 0 (0.00%) Generate Summary Results = 46214 in 346.6s = 133.3/s Avg:20 Min: 0 Max: 672 Err: 0 (0.00%) Generate Summary Results + 1792 in 60.3s = 29.7/s Avg:52 Min: 0 Max: 657 Err: 0 (0.00%) Generate Summary Results = 48006 in 406.9s = 118.0/s Avg:21 Min: 0 Max: 672 Err: 0 (0.00%) Generate Summary Results + 1655 in 60.2s = 27.5/s Avg:53 Min: 0 Max: 876 Err: 0 (0.00%) Generate Summary Results = 49661 in 466.9s = 106.4/s Avg:22 Min: 0 Max: 876 Err: 0 (0.00%) Generate Summary Results + 1675 in 60.1s = 27.8/s Avg:50 Min: 0 Max: 1469 Err: 0 (0.00%) Generate Summary Results = 51336 in 526.8s = 97.4/s Avg:23 Min: 0 Max: 1469 Err: 0 (0.00%) Generate Summary Results + 1546 in 60.3s = 25.6/s Avg:52 Min: 0 Max: 876 Err: 0 (0.00%) Generate Summary Results = 52882 in 587.1s = 90.1/s Avg:24 Min: 0 Max: 1469 Err: 0 (0.00%) Generate Summary Results + 1559 in 60.5s = 25.8/s Avg:53 Min: 0 Max: 907 Err: 0 (0.00%) Generate Summary Results = 54441 in 647.0s = 84.1/s Avg:25 Min: 0 Max: 1469 Err: 0 (0.00%) Generate Summary Results + 613 in 25.4s = 24.1/s Avg:63 Min: 0 Max: 907 Err: 0 (0.00%) Generate Summary Results = 55054 in 672.0s = 81.9/s Avg:25 Min: 0 Max: 1469 Err: 0 (0.00%) The current time is: 9:23:18.21 Tests stopped and started again --- Generate Summary Results + 784 in 33.2s = 23.6/s Avg:58 Min: 0 Max: 938 Err: 0 (0.00%) Generate Summary Results + 1266 in 60.1s = 21.1/s Avg:61 Min: 0 Max: 516 Err: 0 (0.00%) Generate Summary Results = 2050 in 93.2s = 22.0/s Avg:60 Min: 0 Max: 938 Err: 0 (0.00%) Generate Summary Results + 815 in 60.1s = 13.6/s Avg:88 Min: 0 Max: 547 Err: 0 (0.00%) Generate Summary Results = 2865 in 153.3s = 18.7/s Avg:68 Min: 0 Max: 938 Err: 0 (0.00%) Generate Summary Results + 555 in 60.2s =9.2/s Avg: 123 Min: 0 Max: 688 Err: 0 (0.00%) Generate Summary Results = 3420 in 213.0s = 16.1/s Avg:77 Min: 0 Max: 938 Err: 0 (0.00%) Generate Summary Results + 419 in 60.0s =7.0/s Avg: 168 Min: 0 Max: 751 Err: 0 (0.00%) Generate Summary Results = 3839 in 273.0s = 14.1/s Avg:87 Min: 0 Max: 938 Err: 0 (0.00%) Generate Summary Results + 285 in 59.5s =4.8/s Avg: 233 Min: 0 Max: 578 Err: 0 (0.00%) Generate Summary Results = 4124 in 332.5s = 12.4/s Avg:97 Min: 0 Max: 938 Err: 0 (0.00%) Generate Summary Results + 141 in 46.2s =3.0/s Avg: 384 Min: 15 Max: 1062 Err: 0 (0.00%) Generate Summary Results = 4265 in 378.8s = 11.3/s Avg: 106 Min: 0 Max: 1062 Err: 0
Re: JMS Point to Point JNDI settings
try the docs here http://jakarta.apache.org/jmeter/usermanual/build-jms-point-to-point-test-plan.html On 10/23/07, Kumar, Vijay (Sapient) [EMAIL PROTECTED] wrote: I have set the JNDI properties and its working well. But required to set JMS as well. No idea what is the parameter name to set. -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2007 9:05 AM To: JMeter Users List Subject: Re: JMS Point to Point JNDI settings I've no idea how to do this, but guessing from the GUI: Have you tried setting the username in the JMS or JNDI properties fields? On 23/10/2007, Kumar, Vijay (Sapient) [EMAIL PROTECTED] wrote: Hi All, I am trying to use the JMS Point to Point test plan to publish message to TIBCO EMS. Right now configured all the settings Initial Context Factory, QueueConnectionFactory, ProviderURL, JNDI name request queue. When I start the test plan the server says invalid username. We have the authentication information with us but we dont know how to configure it on JMeter. Need help on how to set the authentication information in JNDI properties (Username and Password). Appreciate the fast response on this. Thanks, Vijay - 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]
Re: Test failed! java.lang.StackOverflowError
your test plan might be corrupted. the error looks like jmeter had problems with the structure of the testplan peter On 8/7/07, Simon Brown [EMAIL PROTECTED] wrote: Hi, I'm getting a java.lang.StackOverflowError after running multiple requests to a suite of URLs. The error is as follows: 2007/08/07 13:28:12 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.StackOverflowError at javax.swing.tree.DefaultTreeModel.getPathToRoot(DefaultTreeModel.java:39 2) at javax.swing.tree.DefaultTreeModel.getPathToRoot(DefaultTreeModel.java:39 2) snip at javax.swing.tree.DefaultTreeModel.getPathToRoot(DefaultTreeModel.java:39 2) Has anyone any suggestions as to why this is happening? Thanks, Simon - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jmeter Plugin
sorry about that. looks like the link isn't on the homepage. here is the link http://svn.apache.org/viewvc/jakarta/jmeter/branches/rel-2-2/xdocs/extending/jmeter_tutorial.pdf?view=log peter On 7/20/07, tiffany [EMAIL PROTECTED] wrote: Thanks for the answer. But I can't find this topic from the tutorial, I just see the following from the tutorial: Distributed Testing Recording Tests JUnit Sampler Access Log Sampler None of them contain the information for this topic. Please let me know the URL for the tutorial. Thanks, Tiffany Peter Lin wrote: either way should work. there's a link to a tutorial on jmeter's home page towards the bottom. peter On 7/19/07, tiffany [EMAIL PROTECTED] wrote: Hi, I am developing a Jmeter Plugin, I have the following question: Do I have to build Jmeter with the Plugin code, use ant all command to build all components and protocols? OR Can I compile this Plugin against Jmeter and then generate a jar file from this Plugin class. Put back this jar file to the Jmeter library and then execute Jmeter. Thanks, Tiffany -- View this message in context: http://www.nabble.com/Jmeter-Plugin-tf4112765.html#a11694609 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/Jmeter-Plugin-tf4112765.html#a11708840 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Jmeter Plugin
either way should work. there's a link to a tutorial on jmeter's home page towards the bottom. peter On 7/19/07, tiffany [EMAIL PROTECTED] wrote: Hi, I am developing a Jmeter Plugin, I have the following question: Do I have to build Jmeter with the Plugin code, use ant all command to build all components and protocols? OR Can I compile this Plugin against Jmeter and then generate a jar file from this Plugin class. Put back this jar file to the Jmeter library and then execute Jmeter. Thanks, Tiffany -- View this message in context: http://www.nabble.com/Jmeter-Plugin-tf4112765.html#a11694609 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: monitor result
the monitor is only designed to work with tomcat 5.x status servlet. peter On 6/11/07, neth [EMAIL PROTECTED] wrote: Hi, I've a little problem to use monitor result; in a thread group i put 1 http auth. manager, 1 http request with correct value of each field , 1 constant timer and 1 monitor result graph. when i launch it, i can't get any performance graph from monitor result. Must i set them in a particular order? I've many http request (for my webservices test), where must i set monitor result component? So?example Thread group Http aut. manager http request monitor status timer http request http request http request http request http request monitor result. well so, doesn't work! can anybody help me? Can i have a example of a test plan with monitor result? Thanks
Re: 'Monitor Results' showing servers as dead
the first thing to do is see if you can view the status servlet results in tomcat. if you can, make sure the login settings in jmeter are correct. peter On 5/24/07, Krishna Kanth B. N. [EMAIL PROTECTED] wrote: Hi, I m testing a web application and I have added 'Monitor Results' and 'View Results Tree' listeners to the Test Plan. There r around 10 HTTP requests. In all the requests, I have checked 'Use as monitor' option. But after executing the test plan(with 10 users), the Server health is shown as dead but all the server responses are successful. In the performance tab, the server names are present but no graph is visible. Please help me. Thanks and Regards, Krishnakanth CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS***
Re: Performance of JMeter under Java 5
that's odd. Back in 2005, I did some tests and jmeter ran faster with jdk1.5.0 for http sampler for me. That was with a single jmeter instance, not distributed testing. what sampler are you using? peter On 4/24/07, sebb [EMAIL PROTECTED] wrote: I've no idea why that should be. There are no current plans to release a version of JMeter compiled for Java 5. And I'd be surprised if merely recompiling fixed the performance hit. Perhaps the JVM is less efficient? S On 24/04/07, iblavins [EMAIL PROTECTED] wrote: G'day I changed the JVM under which I am running JMeter server from 1.4.2 to 5 and found a reduction in throughput of about 25%. This was: - in distributed mode with the client on Windows XP and one server on AIX - without rebuilding JMeter for Java 5 - with the client always at 1.5 - with the memory management options in the JMeter proc commented out (for other reasons) but with plenty of memory allocated to the JVM on the server - running JMeter hard but not excessively so (360 concurrent users running flat chat but with 25% spare CPU on the server) - on a five minute run Is that consistent with expectations and if so is there a known way to claw some of that performance back. (I'd prefer to run JMeter under 1.5 so my Java samplers can be at 1.5. But for the moment at least I can't live with a 25% throughput loss.) Ian Blavins Contract Performance Engineer Temenos This email (and any attachments) contains confidential information, and is intended only for the named recipient. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named or intended recipient, please notify TEMENOS or the sender immediately and permanently destroy this email (and any attachments) and all copies of it. No member of TEMENOS Group AG or any of its associated or affiliated companies is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of TEMENOS Group AG or any of its associated and affiliated companies. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Store results in a database?
yeah, there's an old bugzilla enhancement for that. I never got around to checking it in. I'll try to find it. peter On 4/17/07, sebb [EMAIL PROTECTED] wrote: Or record the data as CSV (or XML) and then use the database bulk load tools to populate the database. Or use the BeanShell Listener to write the samples to the database. Or write your own Listener that can write to a database instead of a file. I think there may be a Bugzille enhancement request that covers this; not sure if any code was provided. On 17/04/07, iblavins [EMAIL PROTECTED] wrote: G'day If you can get the data you want out of your sampler and into the JMeter environment (with one of the post processors, such as the regular expression extractor) then you can probably get the results into a database with a second sampler. Extract the data as above, formulate an update database transaction out of it, and use the second sampler to send it to the database where you want to record the results. The presence of the 2nd sampler will affect the throughput you can obtain in the run but not the response times you record against the system under test (except where the former affects the latter). Ian Blavins Contract Performance Engineer Temenos -Original Message- From: mateamargo [mailto:[EMAIL PROTECTED] Sent: 17 April 2007 15:36 To: jmeter-user@jakarta.apache.org Subject: Store results in a database? Is there any way to store the load test into a database? Thanks. -- View this message in context: http://www.nabble.com/Store-results-in-a-database--tf3591030.html#a10036184 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email (and any attachments) contains confidential information, and is intended only for the named recipient. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named or intended recipient, please notify TEMENOS or the sender immediately and permanently destroy this email (and any attachments) and all copies of it. No member of TEMENOS Group AG or any of its associated or affiliated companies is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of TEMENOS Group AG or any of its associated and affiliated companies. - 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]
Re: JMeterMonitor Results for WebLogic 9.1,JBoss 4.0.X
did you make sure to send the right parameters to jboss? for it to work, you need to have XML=true in the request parameters. if you're passing that, look in the server logs to see if there's any errors. peter On 2/7/07, nisha yadav [EMAIL PROTECTED] wrote: Hi, We are trying to configure Monitor Results for our Web Application JPetstore.war deployed with JBOss 4.0.5 and WebLogic 9.1 appservers. We were able to successfully configure. But when we try to run the application,The Health Tab shows Status as DEAD. Is there any other configuration required to be made to get the Monitor Results.Can you please help us in this regard and suggest us any documents/links for the same. Your quick response is appreciated. Thanks in advance, :-)
Re: JUnit setUp() trap
thanks for checking that. I will update the docs tonight. again, sorry about that. I just assumed people would make setUp/tearDown public. it never occurred to me people might make it protected or private peter On 1/23/07, Jürgen Weber [EMAIL PROTECTED] wrote: Actually, the tutorial (http://jakarta.apache.org/jmeter/usermanual/junitsampler_tutorial.pdf) does not mention that setUp() has to be public. OK, I entered http://issues.apache.org/bugzilla/show_bug.cgi?id=41446 Debugging was actually a bit difficult as I could not simply run jmeter as part of my Eclipse project as jmeter does some magic loading its classes so I had to remote debug. But never mind, I learned something ;-) Thanks for a great tool, Jürgen Peter Lin wrote: the tutorial on the JUnit sampler states the setup and teardown method need to be public. please open a bugzilla to enhance the user manual. sorry you had to waste time debugging your test. it's generally better to make the setup, teardown, onetimesetup and onetimeteardown public methods. peter On 1/23/07, Jürgen Weber [EMAIL PROTECTED] wrote: Hi, several JUnit tutorials (inclusive the sample at http://junit.sourceforge.net/javadoc/junit/framework/TestCase.html) show a protected void setUp() method. The JUnitSampler looks for the setUp() method using getMethod() but this finds only __public__ methods. So when you have a protected setUp() in your testcase, JUnitSampler will almost silently not call it, there is only a harmless log line: 2007/01/23 13:18:11 WARN - jmeter.protocol.java.sampler.JUnitSampler: unittest.UnitTestClientImpl.setUp() try { return clazz.getClass().getMethod(method,new Class[0]); } catch (NoSuchMethodException e) { log.warn(e.getMessage()); } I think it were better if there was a [x] call setUp() and tearDown() on the gui and throw an exception if there is none or not found. It cost me quite some time and remote debugging to find out, why my setUp() was not called. Jürgen - 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]
Re: JUnit setUp() trap
I've updated the tutorial with a warning. thanks for catching that and opening a bugzilla. peter On 1/23/07, Jürgen Weber [EMAIL PROTECTED] wrote: Actually, the tutorial (http://jakarta.apache.org/jmeter/usermanual/junitsampler_tutorial.pdf) does not mention that setUp() has to be public. OK, I entered http://issues.apache.org/bugzilla/show_bug.cgi?id=41446 Debugging was actually a bit difficult as I could not simply run jmeter as part of my Eclipse project as jmeter does some magic loading its classes so I had to remote debug. But never mind, I learned something ;-) Thanks for a great tool, Jürgen Peter Lin wrote: the tutorial on the JUnit sampler states the setup and teardown method need to be public. please open a bugzilla to enhance the user manual. sorry you had to waste time debugging your test. it's generally better to make the setup, teardown, onetimesetup and onetimeteardown public methods. peter On 1/23/07, Jürgen Weber [EMAIL PROTECTED] wrote: Hi, several JUnit tutorials (inclusive the sample at http://junit.sourceforge.net/javadoc/junit/framework/TestCase.html) show a protected void setUp() method. The JUnitSampler looks for the setUp() method using getMethod() but this finds only __public__ methods. So when you have a protected setUp() in your testcase, JUnitSampler will almost silently not call it, there is only a harmless log line: 2007/01/23 13:18:11 WARN - jmeter.protocol.java.sampler.JUnitSampler: unittest.UnitTestClientImpl.setUp() try { return clazz.getClass().getMethod(method,new Class[0]); } catch (NoSuchMethodException e) { log.warn(e.getMessage()); } I think it were better if there was a [x] call setUp() and tearDown() on the gui and throw an exception if there is none or not found. It cost me quite some time and remote debugging to find out, why my setUp() was not called. Jürgen - 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]
Re: Hardware required to simulate 500 Virtual Users
that depends on the request per/second you want to simulate and the size of the pages. first look at your bandwidth and then work backwards from there. i would suggest reading the article I have on the articles page on jmeter wiki. peter On 1/17/07, shivaji raju [EMAIL PROTECTED] wrote: Hi all, I would like to simulate around 500 virtual users using Jmeter. What would be the ideal hardware required to simulate this load. Regards Shivaji
Re: Variance between JMeter response times and real users
could be simple explanation. when you used jmeter to test it, was it on a LAN? often people forget the performance on the LAN will be dramatically different than performance on the internet. having lots of slow connections can and will slow down the webserver, so it's important to consider those factors. peter On 1/16/07, rgjohnson [EMAIL PROTECTED] wrote: We have used JMeter to perform load testing on a webserver. One major problem we have encountered is a large variance between the load JMeter says the server can handle vs. the load the server can handle when real users are accessing the application. In one example, we used JMeter to simulate 60 users running on a single instance of the webserver running an order entry application. All response times and statistics were very favorable. We then put real users on the same order entry appllication and started running into unaccetable performace and response times after about 15 users. I can think of several reasons why response times reported by JMeter could be worse than real life, but I am having a difficult time understanding how response times and server performance can be so much better when simulating users with JMeter than what the response times and server performance are with real users. Has anyone else had this kind of experience? -- View this message in context: http://www.nabble.com/Variance-between-JMeter-response-times-and-real-users-tf3021728.html#a8392563 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Include controller problems
that looks like a bug. i would suggest filing a bugzilla peter On 1/3/07, Sonam Chauhan [EMAIL PROTECTED] wrote: Hello - Can anyone advise on these problems I've run into with the include controller in Jmeter 2.1.1? These are the 2 problems: a) In non-GUI mode, samples from the included JMX do not show up in the test log at all. b) In GUI mode, the 'View Results Tree' shows me included samples run, but they seem to run out of order. The top-level JMX structure: -- 1 HTTP Request 2 Java Request (Classname: SleepTest) 3 Java Request (Classname: SleepTest) 4 Include Controller (Filename: .\lower_level.jmx) 5 HTTP Request -- The included JMX structure: - A Java Request (Classname: SleepTest) B HTTP Request - When the tests run in GUI mode, I expect 'ViewResultsTree' to show the following order of execution: 1, 2, 3, A, B, 5 Instead, it shows: 1, A, B, 2, 3, 5 Regards, Sonam PS: In case, anyone was wondering, I use the Java Requests/SleepTest samplers to insert discrete parameterized delays using external properties. Ie. the SleepTest sampler will have this attribute set: SleepTime = ${__P(parameter1)} The toplevel JMX is normally run in non-GUI mode with this command: jmeter -n -t top_level.jmx -l log -p testrun_cfg -Dfile_format.testlog=2.0
Re: parse the Tomcat Server log files and generate statistics
nope, jmeter doesn't have that ability. jmeter can read a log file and generate requests to stress test a server. peter On 12/28/06, Raghavendra Kristam [EMAIL PROTECTED] wrote: Hi, My Requirement is parse the Tomcat Server log files and generate statistics and send out notification if the request numbers are less than thresholds. Please let me know how to handle this scenario with JMeter2.2 Thanks, Raghavendra. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: listening tomcat server / mermory / disk space ....
there is the jmeter tomcat monitor, which is documented here. http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html peter On 12/27/06, sebb [EMAIL PROTECTED] wrote: On 26/12/06, Raghavendra Kristam [EMAIL PROTECTED] wrote: Hi, I am new to JMeter and need to test the following scenarios. I Installed JMeter2.2 and jdk1.5.0_02 in windows. Please let me know how to handle this scenarios. 1) For server availability: listening to Tomcat server port periodically and send out notification when there is no response on the port(when the tomcat server is down). http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Mailer_Visualizer 2) For memory/disk usage: periodically check memory/disk space and send out notification when the usage reaches certain thresholds. Jmeter does not support this - you would have to write your own sampler. 3) Requests per minute for the Tomcat Server If you mean requests sent by JMeter, use one of the Listeners. If you mean all requests received by Tomcat, you will need to send a request to the appropriateTomcat manager page. 4) per JSP level requests per minute and response time As for 3) Thanks in Advance, Regards, Raghavendra. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com - 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]
Re: Throughput in Aggregate report
usually I look at the capacity of the network and determine if the bytes/sec is going to saturate the bandwidth or not. I have an article in the wiki that explains this stuff in detail. peter On 12/14/06, Jian Tong [EMAIL PROTECTED] wrote: Hi Peter, As you said bytes/sec and requests/sec are better metrics for load testing, then I hope to know what the benchmark is for bytes/sec and requests/sec from your experience ? Thanks Jian Tong Peter Lin [EMAIL PROTECTED] 12/13/06 8:29 PM jmeter will measure the requests per second. that isn't the same as pages per second for a couple of reasons. 1. a page may have multiple images and stuff embedded 2. images are cached by the browser the first time it's loaded 3. not every page is the same, so page per second a poor measurement of load 4. bytes per second or requests per second is a better measurement 5. what happens when the pages change and a page ends up having more images? loadRunner is a good product. Pages downloaded per second isn't all that useful from a capacity and planning perspective. It is much better to measure bytes/second and requests/second. my bias opinion. peter On 12/13/06, rmiller [EMAIL PROTECTED] wrote: We use Pages Downloaded per Second as a performance metric in LoadRunner. In side by side tests with LoadRunner and JMeter there dosen't seem to be any correlation between that metric in LoadRunner and Throughput in JMeter. Can someone please explain how to get the eaquivalent metric in JMeter? Regards, Ron -- View this message in context: http://www.nabble.com/Throughput-in-Aggregate-report-tf2817925.html#a7865207 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Throughput in Aggregate report
http://jakarta.apache.org/tomcat/articles/performance.pdf http://cvs.apache.org/~woolfel/article.zip On 12/14/06, Ron Miller [EMAIL PROTECTED] wrote: Peter, I searched for your article but couldn't find it. Would you please send a link to it? Ron -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 3:24 PM To: JMeter Users List Subject: Re: Throughput in Aggregate report usually I look at the capacity of the network and determine if the bytes/sec is going to saturate the bandwidth or not. I have an article in the wiki that explains this stuff in detail. peter On 12/14/06, Jian Tong [EMAIL PROTECTED] wrote: Hi Peter, As you said bytes/sec and requests/sec are better metrics for load testing, then I hope to know what the benchmark is for bytes/sec and requests/sec from your experience ? Thanks Jian Tong Peter Lin [EMAIL PROTECTED] 12/13/06 8:29 PM jmeter will measure the requests per second. that isn't the same as pages per second for a couple of reasons. 1. a page may have multiple images and stuff embedded 2. images are cached by the browser the first time it's loaded 3. not every page is the same, so page per second a poor measurement of load 4. bytes per second or requests per second is a better measurement 5. what happens when the pages change and a page ends up having more images? loadRunner is a good product. Pages downloaded per second isn't all that useful from a capacity and planning perspective. It is much better to measure bytes/second and requests/second. my bias opinion. peter On 12/13/06, rmiller [EMAIL PROTECTED] wrote: We use Pages Downloaded per Second as a performance metric in LoadRunner. In side by side tests with LoadRunner and JMeter there dosen't seem to be any correlation between that metric in LoadRunner and Throughput in JMeter. Can someone please explain how to get the eaquivalent metric in JMeter? Regards, Ron -- View this message in context: http://www.nabble.com/Throughput-in-Aggregate-report-tf2817925.html#a786 5207 Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: Throughput in Aggregate report
jmeter will measure the requests per second. that isn't the same as pages per second for a couple of reasons. 1. a page may have multiple images and stuff embedded 2. images are cached by the browser the first time it's loaded 3. not every page is the same, so page per second a poor measurement of load 4. bytes per second or requests per second is a better measurement 5. what happens when the pages change and a page ends up having more images? loadRunner is a good product. Pages downloaded per second isn't all that useful from a capacity and planning perspective. It is much better to measure bytes/second and requests/second. my bias opinion. peter On 12/13/06, rmiller [EMAIL PROTECTED] wrote: We use Pages Downloaded per Second as a performance metric in LoadRunner. In side by side tests with LoadRunner and JMeter there dosen't seem to be any correlation between that metric in LoadRunner and Throughput in JMeter. Can someone please explain how to get the eaquivalent metric in JMeter? Regards, Ron -- View this message in context: http://www.nabble.com/Throughput-in-Aggregate-report-tf2817925.html#a7865207 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Throughput in Aggregate report
sadly, jmeter does not provide that functionality :( luckily for me, the times I've had to give performance numbers for capacity planning and performance specs, it was in terms of bandwidth consumed and requests/second. peter On 12/13/06, Ron Miller [EMAIL PROTECTED] wrote: I agree with your argument about pages downloaded per second Peter; in fact this graph is off by default in LoadRunner. But my company has used this as a metric (among others) for years and is not about to change. That's why I'm trying to find a JMeter equivalent. -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 5:30 PM To: JMeter Users List Subject: Re: Throughput in Aggregate report jmeter will measure the requests per second. that isn't the same as pages per second for a couple of reasons. 1. a page may have multiple images and stuff embedded 2. images are cached by the browser the first time it's loaded 3. not every page is the same, so page per second a poor measurement of load 4. bytes per second or requests per second is a better measurement 5. what happens when the pages change and a page ends up having more images? loadRunner is a good product. Pages downloaded per second isn't all that useful from a capacity and planning perspective. It is much better to measure bytes/second and requests/second. my bias opinion. peter On 12/13/06, rmiller [EMAIL PROTECTED] wrote: We use Pages Downloaded per Second as a performance metric in LoadRunner. In side by side tests with LoadRunner and JMeter there dosen't seem to be any correlation between that metric in LoadRunner and Throughput in JMeter. Can someone please explain how to get the eaquivalent metric in JMeter? Regards, Ron -- View this message in context: http://www.nabble.com/Throughput-in-Aggregate-report-tf2817925.html#a786 5207 Sent from the JMeter - User mailing list archive at Nabble.com. - 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]
Re: OpenJMS Alpha and JMeter
I would suggest asking openJMS what the error means. peter On 12/5/06, Hemant Gaur [EMAIL PROTECTED] wrote: Hi, I am trying to run the jmeter performance tests on the OpenJMS. Though I am able to get the tests running and results for release version there is an exception thrown in the duable/persistant subscriber for the OpenJMS alpha. Mismatched destination properties for destination with name=TOOL.DEFAULT.TOPIC0 at org.exolab.jms.messagemgr.ConsumerManagerImpl.getDestination(ConsumerMan agerImpl.java:772) at org.exolab.jms.messagemgr.ConsumerManagerImpl.createInactiveDurableConsu mer(ConsumerManagerImpl.java:571) at org.exolab.jms.messagemgr.ConsumerManagerImpl.createDurableConsumer(Cons umerManagerImpl.java:345) at org.exolab.jms.server.ServerSessionImpl.createDurableConsumer(ServerSess ionImpl.java:343) at org.exolab.jms.server.net.RemoteServerSession.createDurableConsumer(Remo teServerSession.java:245) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.exolab.jms.net.orb.DefaultORB$Handler.invoke(DefaultORB.java:553) at org.exolab.jms.net.orb.DefaultORB$1.run(DefaultORB.java:511) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Thread.java:595) ON searching i found the explaination for this (By Tim Anderson): The topic you are using doesn't have the same properties as a destination with the same name, being managed by the server. This will typically happen if you have used the TopicSession.createTopic()method giving a name for a topic that is persistent on the server. For persistent topics, you should look them up using JNDI. -Tim == As I dont build the JMeter or OpenJMS locally and hence have no control over the source. I have this topic populated using the OpenJMS config file using AdministeredDestinations AdministeredTopic name=TOOL.DEFAULT.TOPIC0/ /AdministeredDestinations Can there be any settings which makes me work this with the alpha version. Things are already working with the same test case using the OpenJMS release version. Relevant code from the openJMS ConsumerManagerImpl.getDestination() if(!destination.getClass().getName().equals(existing.getClass().getName( ))) throw new InvalidDestinationException(Mismatched destination properties for destination with name= + name); if(existing.getPersistent() != destination.getPersistent()) throw new InvalidDestinationException(Mismatched destination properties for destination with name= + name); Thanks, Hemant Gaur
Re: Remote Testing
if you didn't read the tutorial on distributed testing, I would recommend doing that. There's 2 reasons why you want jmeter on the same ethernet segment. More specifically on the same subnet. java RMI doesn't work over multiple subnets out of the box, so jmeter has the same requirements. peter On 12/5/06, socio_pal [EMAIL PROTECTED] wrote: Hi: I am doing the Database Performance Test and I would like to do Remote Testing. I was reading the Jmeter Manual for Remote testing and I was not able to understand the following statement: The recommended approach is to have one or more machines on the same Ethernet segment as your application server that you configure to run the JMeter Engine. This will minimize the impact of the network on the test results without impacting the performance of the application serer itself. Please clarify. Thanks -- View this message in context: http://www.nabble.com/Remote-Testing-tf2763024.html#a7703778 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Remote testing -error
looks like your java environment might not be setup correctly peter On 11/23/06, pradeep_2731 [EMAIL PROTECTED] wrote: Hi friends, I am trying to do remote testing from jmeter.But when i click the jmeter-server.bat iam getting a error message like Windows cannot find rmiregistry . What can be done for this problem in order to do the remote testing using jmeter. -- View this message in context: http://www.nabble.com/Remote-testing--error-tf2689823.html#a7500817 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WSDL Question
the current implementation expects an URL, so you could drop the wsdl into IIS and use the URL in jmeter peter On 11/7/06, Vanguri, Raghava Rao V (Raghava Rao) [EMAIL PROTECTED] wrote: Hi, I am using jmeter2.2. The sampler Web Service (SOAP) Request window provides the ability to add a WSDL file but only from a URL. Does anyone know how I can load a WSDL file from one of the directories in my PC? What should be the extension of this WSDL file? Any help you can provide will be greatly appreciated. Thanks, Rao Vanguri - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: WSDL Question
IIS is windows webserver. you might need to install it. or you can download a free webserver like tomcat and drop the wsdl in there. peter On 11/7/06, Vanguri, Raghava Rao V (Raghava Rao) [EMAIL PROTECTED] wrote: Peter, Thanks for your suggestion. Can you please tell me how I can drop wsdl into IIS? By the way, what is IIS? -Rao -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 2:27 PM To: JMeter Users List Subject: Re: WSDL Question the current implementation expects an URL, so you could drop the wsdl into IIS and use the URL in jmeter peter On 11/7/06, Vanguri, Raghava Rao V (Raghava Rao) [EMAIL PROTECTED] wrote: Hi, I am using jmeter2.2. The sampler Web Service (SOAP) Request window provides the ability to add a WSDL file but only from a URL. Does anyone know how I can load a WSDL file from one of the directories in my PC? What should be the extension of this WSDL file? Any help you can provide will be greatly appreciated. Thanks, Rao Vanguri - 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]
Re: Delivery mode option the JMS point-to-point sampler
please file a bugzilla and attach the patch file. thanks peter lin On 11/2/06, Jonas Lim [EMAIL PROTECTED] wrote: Hi Guys, I created a patch for adding a delivery mode option for the JMS Point-to-point sampler. Not really sure how or where I should send the patch so I'm attaching it here :) I wonder if any of the jmeter committer can test it and see if it can be committed :) Btw, I'm working from the trunk source. I tested it using Activemq and seems to be working ok Regards, Jonas Index: src/core/org/apache/jmeter/resources/messages.properties === --- src/core/org/apache/jmeter/resources/messages.properties(revision 469835) +++ src/core/org/apache/jmeter/resources/messages.properties(working copy) @@ -253,6 +253,9 @@ java_request=Java Request java_request_defaults=Java Request Defaults jms_auth_not_required=Not Required +jms_delivery_mode=Delivery Mode +jms_persistent=Persistent +jms_non_persistent=Non Persistent jms_auth_required=Required jms_authentication=Authentication jms_client_caption=Receive client uses TopicSubscriber.receive() to listen for message. @@ -751,4 +754,4 @@ xpath_file_file_name=XML file to get values from you_must_enter_a_valid_number=You must enter a valid number zh_cn=Chinese (Simplified) -zh_tw=Chinese (Traditional) \ No newline at end of file +zh_tw=Chinese (Traditional) Index: src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSConfigGui.java === --- src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSConfigGui.java (revision 469835) +++ src/protocol/jms/org/apache/jmeter/protocol/jms/control/gui/JMSConfigGui.java (working copy) @@ -35,6 +35,7 @@ import org.apache.jorphan.gui.JLabeledChoice; import org.apache.jorphan.gui.JLabeledTextArea; import org.apache.jorphan.gui.JLabeledTextField; +import org.apache.jorphan.gui.JLabeledRadio; /** * Configuration screen for Java Messaging Point-to-Point requests. br @@ -66,6 +67,14 @@ private JLabeledChoice oneWay = new JLabeledChoice( JMeterUtils.getResString(jms_communication_style), labels); + private String persitent = JMeterUtils.getResString (jms_persistent); + + private String non_persistent = JMeterUtils.getResString (jms_non_persistent); + +private String[] delivery_modes = { persitent, non_persistent }; + +private JLabeledRadio deliveryMode = new JLabeledRadio( JMeterUtils.getResString(jms_delivery_mode), delivery_modes, non_persistent); + private ArgumentsPanel jmsPropertiesPanel; private ArgumentsPanel jndiPropertiesPanel; @@ -107,6 +116,8 @@ boolean isOneway = oneWay.getText().equals( JMeterUtils.getResString(jms_request)); element.setProperty(new BooleanProperty( JMSSampler.IS_ONE_WAY, isOneway)); +element.setProperty(JMSSampler.DELIVERY_MODE, deliveryMode.getText()); + element.setProperty(JMSSampler.TIMEOUT, timeout.getText ()); element.setProperty(JMSSampler.XML_DATA, soapXml.getText ()); @@ -227,6 +238,10 @@ onewayPanel.add(oneWay); messageNorthPanel.add(onewayPanel, BorderLayout.NORTH); + JPanel deliveryModePanel = new JPanel(new BorderLayout()); + deliveryModePanel.add(deliveryMode); + messageNorthPanel.add(deliveryModePanel, BorderLayout.CENTER); + JPanel timeoutPanel = new JPanel(new BorderLayout()); timeoutPanel.add(timeout); messageNorthPanel.add(timeoutPanel, BorderLayout.SOUTH); @@ -274,4 +289,4 @@ return jms_point_to_point;// TODO - probably wrong } -} \ No newline at end of file +} Index: src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java === --- src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java (revision 469835) +++ src/protocol/jms/org/apache/jmeter/protocol/jms/sampler/JMSSampler.java (working copy) @@ -31,6 +31,7 @@ import javax.jms.QueueSender; import javax.jms.QueueSession; import javax.jms.Session; +import javax.jms.DeliveryMode; import javax.jms.StreamMessage; import javax.jms.TextMessage; import javax.naming.Context; @@ -45,6 +46,7 @@ import org.apache.jmeter.testelement.ThreadListener; import org.apache.jmeter.testelement.property.BooleanProperty; import org.apache.jmeter.testelement.property.TestElementProperty; +import org.apache.jmeter.util.JMeterUtils; import org.apache.jorphan.logging.LoggingManager; import org.apache.log.Logger; @@ -79,6 +81,8 @@ public final static String QUEUE_CONNECTION_FACTORY_JNDI = JMSSampler.queueconnectionfactory; +public final static String DELIVERY_MODE = JMSSampler.DeliveryMode; + private static final Logger LOGGER = LoggingManager.getLoggerForClass(); // @@ -141,7 +145,7
Re: EJB Stress Testing using Jmeter
an user contributed an EJB sampler, but I haven't had time to commit those contributions. you should be able to find it in bugzilla. peter On 10/30/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Meena, Maybe I don't quite understand what do you want to do, but if I am correct in my nuderstanding you want to test the EJBs outside the application server. This makes sense if you were doing functional/unit tests, but I don't see what type of stress testing can you do outside a container? After all when you do stress/perf teseting you test the ability of the application server to respond under a certain load. Individual EJBs are only ever alive inside a container, you can test their business logic, but not their performance outside a container. Please, clarify what you want to do. Cheers! Gantcho -Original Message- From: Meenakshi Rm [mailto:[EMAIL PROTECTED] Sent: Monday, October 30, 2006 1:28 AM To: jmeter-user@jakarta.apache.org Subject: EJB Stress Testing using Jmeter Hi All, I am currently working on stress testing EJBs with Jmeter, Iam not sure how to write Java Sampler classes to achieve the same. I went through the archives and found a lot of questions on same problem. But no responses :-( I would like to decouple the EJBs from the web container and then do the tesing. Any idea/directions will be highly appreciated. Thanks, Meena. - ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NPE with JMS Publisher to Websphere MQ version 6
It could be related. I've tested the pub/sub samplers against weblogic, activemq, openjms and orion. I'll look into the bug and try to apply the fix. peter On 10/28/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: What about this bug report: http://issues.apache.org/bugzilla/show_bug.cgi?id=40363 It describes exactly what I am seeing. And the fix mentioned in this bug report does not seem to be in Jmeter 2.2 Publisher.java file. Is this bug applicable to Websphere MQ also? Hugh -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 1:54 PM To: JMeter Users List Subject: Re: NPE with JMS Publisher to Websphere MQ version 6 it looks like jmeter couldn't connect ot the jms server, I would double check the settings peter On 10/26/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: I am getting the following error when I try to publish to a topic using Websphere MQ version 6 and Jmeter version 2.2 2006/10/26 10:08:09 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval 2006/10/26 10:08:09 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 is done 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2006/10/26 10:08:09 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local) 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2006/10/26 10:10:56 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2006/10/26 10:15:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Write Notification Tests Thread Group. Ramp up = 1. 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2006/10/26 10:15:47 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 started 2006/10/26 10:15:47 INFO - jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial context factory 2006/10/26 10:15:47 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher .java:86) at org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:63 ) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi sherSampler.java:110) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:134) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:121) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) I have checked all of my JNDI settings and they are OK. I wrote a standalone JMS Publisher Java program and a separate subscriber standalone Java program. They were able to pub/sub between themselves using the same JNDI settings that I am trying to use with Jmeter. (My JMS Point-to-Point works in Jmeter with the same JNDI context factory and provider URL). Any help is appreciated. Hugh Rodgers Lockheed Martin ISS Bldg 42, Room 017, M/S 4211 1300 S. Litchfield Rd Goodyear, AZ 85338 623-925-7785 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: NPE with JMS Publisher to Websphere MQ version 6
it looks like jmeter couldn't connect ot the jms server, I would double check the settings peter On 10/26/06, Rodgers, Hugh [EMAIL PROTECTED] wrote: I am getting the following error when I try to publish to a topic using Websphere MQ version 6 and Jmeter version 2.2 2006/10/26 10:08:09 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval 2006/10/26 10:08:09 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 is done 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Stopping test 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test 2006/10/26 10:08:09 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local) 2006/10/26 10:08:09 INFO - jmeter.engine.StandardJMeterEngine: Test has ended 2006/10/26 10:10:56 WARN - jmeter.gui.tree.JMeterTreeListener: Shouldn't be here 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Running the test! 2006/10/26 10:15:47 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local) 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Write Notification Tests Thread Group. Ramp up = 1. 2006/10/26 10:15:47 INFO - jmeter.engine.StandardJMeterEngine: Continue on error 2006/10/26 10:15:47 INFO - jmeter.threads.JMeterThread: Thread Write Notification Tests Thread Group 1-1 started 2006/10/26 10:15:47 INFO - jmeter.protocol.jms.client.InitialContextFactory: created the JNDI initial context factory 2006/10/26 10:15:47 ERROR - jmeter.threads.JMeterThread: java.lang.NullPointerException at org.apache.jmeter.protocol.jms.client.Publisher.initConnection(Publisher .java:86) at org.apache.jmeter.protocol.jms.client.Publisher.init(Publisher.java:63 ) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.initClient(Publi sherSampler.java:110) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:134) at org.apache.jmeter.protocol.jms.sampler.PublisherSampler.sample(Publisher Sampler.java:121) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) I have checked all of my JNDI settings and they are OK. I wrote a standalone JMS Publisher Java program and a separate subscriber standalone Java program. They were able to pub/sub between themselves using the same JNDI settings that I am trying to use with Jmeter. (My JMS Point-to-Point works in Jmeter with the same JNDI context factory and provider URL). Any help is appreciated. Hugh Rodgers Lockheed Martin ISS Bldg 42, Room 017, M/S 4211 1300 S. Litchfield Rd Goodyear, AZ 85338 623-925-7785 [EMAIL PROTECTED]
Re: writing custom sampler howto?
you can find a tutorial on the website. there's also some tips on the wiki about setting up eclipse. peter On 10/20/06, Mark [EMAIL PROTECTED] wrote: Where can I find information on writing a custom sampler for jmeter? Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: writing custom sampler howto?
http://wiki.apache.org/jakarta-jmeter/JMeterDevelopment http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/xdocs/extending/jmeter_tutorial.pdf On 10/20/06, Mark [EMAIL PROTECTED] wrote: These what you are talking about? http://wiki.apache.org/jakarta-jmeter/JMeterEclipse http://jakarta.apache.org/usermanual/junitsampler_tutorial.pdf Thank you. On 10/20/06, Peter Lin [EMAIL PROTECTED] wrote: you can find a tutorial on the website. there's also some tips on the wiki about setting up eclipse. peter On 10/20/06, Mark [EMAIL PROTECTED] wrote: Where can I find information on writing a custom sampler for jmeter? Thank you. - 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]
Re: writing custom sampler howto?
you have to add it to src\core\org\apache\jmeter\resources\messages.properties then you have to make a new jar of the core stuff. peter On 10/20/06, Mark [EMAIL PROTECTED] wrote: I have been following the code in MailReaderSampler and MailReaderSamplerGui. I have my sampler showing up in JMeter, the problem is that I do not know where to load properties and configuration for the sampler. I get the following errors in jmeter.log 2006/10/20 16:19:50 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 2006/10/20 16:19:51 WARN - jmeter.util.JMeterUtils: ERROR! Resource string not found: [smtp_sampler] java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key smtp_sampler at java.util.ResourceBundle.getObject(ResourceBundle.java:325) at java.util.ResourceBundle.getString(ResourceBundle.java:285) at org.apache.jmeter.util.JMeterUtils.getResStringDefault( JMeterUtils.java:342) at org.apache.jmeter.util.JMeterUtils.getResString( JMeterUtils.java:306) at org.apache.jmeter.gui.AbstractJMeterGuiComponent.getStaticLabel (AbstractJMeterGuiComponent.java:292) at org.apache.jmeter.gui.AbstractJMeterGuiComponent.init( AbstractJMeterGuiComponent.java:80) at org.apache.jmeter.samplers.gui.AbstractSamplerGui.init( AbstractSamplerGui.java:37) On 10/20/06, Peter Lin [EMAIL PROTECTED] wrote: go through the tutorial. basically, you need to put the jar file under jmeter/lib/ directory and it will scan it. peter On 10/20/06, Mark [EMAIL PROTECTED] wrote: Peter - Thanks for the links, but either I am missing something, or I need more information. I want to write a sampler that will send SMTP messages to a server. I have the smtp code written, but I am unsure as to how to tie the SMTP protocol code to JMeter. How does the JMeter application know to load my classes, and what about writing a configuration GUI? Thanks. On 10/20/06, Peter Lin [EMAIL PROTECTED] wrote: http://wiki.apache.org/jakarta-jmeter/JMeterDevelopment http://svn.apache.org/repos/asf/jakarta/jmeter/trunk/xdocs/extending/jmeter_tutorial.pdf On 10/20/06, Mark [EMAIL PROTECTED] wrote: These what you are talking about? http://wiki.apache.org/jakarta-jmeter/JMeterEclipse http://jakarta.apache.org/usermanual/junitsampler_tutorial.pdf Thank you. On 10/20/06, Peter Lin [EMAIL PROTECTED] wrote: you can find a tutorial on the website. there's also some tips on the wiki about setting up eclipse. peter On 10/20/06, Mark [EMAIL PROTECTED] wrote: Where can I find information on writing a custom sampler for jmeter? Thank you. - 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] - 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]
Re: Monitor plan for WAS 5.1 MBean StatusServlet
I know it's feasible. I did a port of Tomcat's status servlet for BEA weblogic a few years back, but i don't have the code anymore. as long as you output the statistics in the same format, you should be able to re-use the monitor listener to save time. though if you want something that nicer and better, I would use a different format for the server stats and write a new listener. peter On 10/11/06, priya menon [EMAIL PROTECTED] wrote: Thanks a lot Peter, your input was really useful. Has any body customized the statusServlet.java for Webpshere Application Server and also schema for the status data. Thanks, Priya - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
Re: Web Services Problem
are you using the XML rpc sampler, or the soap webservice sampler? peter On 10/10/06, jai nathe [EMAIL PROTECTED] wrote: Hi, I am new to jmeter.I am testing my appplication through jmeter.Ineed to send a soap request to my application through web services. I am getting the following Error response in jmeter. Thread Name: Test 1-1 Sample Start: Tue Oct 10 11:12:53 IST 2006 Load time: 0 HTTP response code: 000 HTTP response message: For input string: 1631 HTTP response headers: I captured through TCPMON The request is POST /normal/servlets/ServerSOAPProcessor HTTP/1.0 Host: 107.108.72.236:6080 Content-Type: text/xml; charset=utf-8 Content-Length: 2005 SOAPAction: srm:GET with XML file and the response is HTTP/1.1 200 OK Host: www.rmdevice.samsung.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: 1631 Date: Thu, 13 Jul 2006 13:59:10 GMT with response XML file. But i was not able to get the response in Jmeter.I guess the reason may be HTTP version.Because jmeter sends the version HTTP 1.0 to my application and my application sends as HTTP 1.1 Can anyone tell me how to trackle this problem. Regards, minnal.
Re: Aggregate Table- Sub result
I would look at jmeter's tomcat monitor then. that shows the approach I used to show tomcat performance statistics like threads, and memory usage. http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html if you're using a J2EE compliant app server, you should be able to use JMC client to talk to JMX component on the serverside to get the performance metrics. peter On 10/11/06, priya menon [EMAIL PROTECTED] wrote: I am sorry for not being clear. I am trying to capture some performance parameters from an application server by running another java program and trying to call that from the sampler. Basically I want to capture more parameters such as heapsize, connection pool. So I wanted a way to capture them in a sub results With all the features of aggregate table if it would have displayed sub results in a tabular format would be very interesting. thanks, Priya Peter Lin [EMAIL PROTECTED] wrote: not sure what you mean by sub-result. jmeter currently has aggregate listener and aggregate table. The results are shown by URL. It's unclear what you mean by sub-result from the email. Also, ask yourself, what's the purpose of the sampler? In a normal HTTP request, each request has a specific URL with request parameters. There are no sub results, unless someone wants to measure how long it takes to load each embedded resource. To do that, one would need to break a request down to the smallest item, and set the request to not retrieve embedded resources. hope that helps peter On 10/9/06, priya menon wrote: I have read about JMeter after going through the Apache's site and I found it very interesting. I want to start as an user and If i am able to sustain the interest and become enough productive, I want to become a developer. I have played around JMeter, a little. Trying to create a sampler: Customer Sampler: I am trying to write a custom sampler just to display sub results in a table and I created a jar and dropped in /lib/ext. Added a sampler Java Requests and ran this stuff. I did the following steps: Trying to visualize and see these 3 values sperately in a table, I created a plan and threadgroup and the I found only 2 ways to view results in table and aggregate report. but both are getting the aggregate values. Is there a table component to see this values as a row or column or do I have to write my own custom visualizer. public SampleResult runTest(JavaSamplerContext context) { SampleResult results = new SampleResult(); try { Thread.sleep(2000); // Generate a random value using the current time. results.setSuccessful(true); results.setSampleLabel(PriyaTest); SampleResult r = new SampleResult(); r.setSampleLabel(Priya Result1); r.setTime(200); results.addSubResult(r); SampleResult r1 = new SampleResult(); r1.setSampleLabel(Priya Result2); r1.setTime(300); results.addSubResult(r1); SampleResult r2 = new SampleResult(); r1.setSampleLabel(Priya Result3); r1.setTime(500); results.addSubResult(r2); } catch (Exception e) { getLogger().error(SleepTest: error during sample, e); results.setSuccessful(false); } finally { results.sampleEnd(); } if (getLogger().isDebugEnabled()) { getLogger().debug( whoAmI() + \trunTest() + \tTime:\t + results.getTime()); listParameters(context); } return results; } Thank you, Priya - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster. - How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call rates.
Re: Aggregate Table- Sub result
not sure what you mean by sub-result. jmeter currently has aggregate listener and aggregate table. The results are shown by URL. It's unclear what you mean by sub-result from the email. Also, ask yourself, what's the purpose of the sampler? In a normal HTTP request, each request has a specific URL with request parameters. There are no sub results, unless someone wants to measure how long it takes to load each embedded resource. To do that, one would need to break a request down to the smallest item, and set the request to not retrieve embedded resources. hope that helps peter On 10/9/06, priya menon [EMAIL PROTECTED] wrote: I have read about JMeter after going through the Apache's site and I found it very interesting. I want to start as an user and If i am able to sustain the interest and become enough productive, I want to become a developer. I have played around JMeter, a little. Trying to create a sampler: Customer Sampler: I am trying to write a custom sampler just to display sub results in a table and I created a jar and dropped in /lib/ext. Added a sampler Java Requests and ran this stuff. I did the following steps: Trying to visualize and see these 3 values sperately in a table, I created a plan and threadgroup and the I found only 2 ways to view results in table and aggregate report. but both are getting the aggregate values. Is there a table component to see this values as a row or column or do I have to write my own custom visualizer. public SampleResult runTest(JavaSamplerContext context) { SampleResult results = new SampleResult(); try { Thread.sleep(2000); // Generate a random value using the current time. results.setSuccessful(true); results.setSampleLabel(PriyaTest); SampleResult r = new SampleResult(); r.setSampleLabel(Priya Result1); r.setTime(200); results.addSubResult(r); SampleResult r1 = new SampleResult(); r1.setSampleLabel(Priya Result2); r1.setTime(300); results.addSubResult(r1); SampleResult r2 = new SampleResult(); r1.setSampleLabel(Priya Result3); r1.setTime(500); results.addSubResult(r2); } catch (Exception e) { getLogger().error(SleepTest: error during sample, e); results.setSuccessful(false); } finally { results.sampleEnd(); } if (getLogger().isDebugEnabled()) { getLogger().debug( whoAmI() + \trunTest() + \tTime:\t + results.getTime()); listParameters(context); } return results; } Thank you, Priya - All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
Re: HTTPS Recording using jmeter proxy sever.
actually there was a contribution over the summer that enhanced the proxy immitate HTTPS. I think sebb checked those contributions in, so the nightly build should have it. peter On 10/5/06, Yann WOGENSTAHL [EMAIL PROTECTED] wrote: Labudu Gopanna a écrit : Hi, Can we record HTTPS site using jmeter proxy server? If yes, how to do that? Legal Disclaimer: This electronic message and all contents contain information from Cybage Software Private Limited which may be privileged, confidential, or otherwise protected from disclosure. The information is intended to be for the addressee(s) only. If you are not an addressee, any disclosure, copy, distribution, or use of the contents of this message is strictly prohibited. If you have received this electronic message in error please notify the sender by reply e-mail to and destroy the original message and all copies. Cybage has taken every reasonable precaution to minimize the risk of malicious content in the mail, but is not liable for any damage you may sustain as a result of any malicious content in this e-mail. You should carry out your own malicious content checks before opening the e-mail or attachment. www.cybage.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi, You can't record HTTPS requests using jmeter proxy server. For my part, I use badboy to record my navigation and then, I export it into JMeter. It works well. Yann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: HTTPS Recording
the nightly builds also can record HTTPS now. you can see this bugzilla for more details http://issues.apache.org/bugzilla/show_bug.cgi?id=39820 peter On 10/5/06, Yann WOGENSTAHL [EMAIL PROTECTED] wrote: Gopan, Here are the steps : *In badboys* 1. In badboy, you have the record button (on the top), turn it on 2. In the navigation window, go on the web as if you were in IE 3. When you will have finished, press the stop button 4. Go into the File menu, export to JMeter *Install the JSSE Java package* Before running the script make sure you have installed the jsse java package 1. Download and unzip the JSSE Java package 2. Copy the following files from JSSE folder/lib to JMeter folder/lib/ext : - jcert.jar - jnet.jar - jsse.jar 3. Uncomment the following lines int JMeter folder/bin/jmeter.properties ssl.provider=com.sun.net.ssl.internal.ssl.Provider ssl.pkgs=com.sun.net.sll.internal.www.protocol javax.net.ssl.keyStorePassword=changeit *In JMeter* 1. Open the script you juste have exported 2. In the HTTPS requests (you should know which ones they are among all the requests), you have to specify the protocol, type https 3. In all the requests, check the Follow Redirects option 4. Run and enjoy Yann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: distributed testing woes
did you read the tutorial? http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Hi, I'm tearing my hair out trying to get distributed testing working. I have a simple configuration: Console: matt.domain remote_hosts=java.domain Slave: java.domain (default configuration) I run the server like this (after rmiregistry 1099): ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s But I always get the following error on the server: 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on java.domain:1099 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java :574) at sun.rmi.transport.tcp.TCPChannel.createConnection( TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java :171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted (Unknown Source) at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted( RemoteListenerWrapper.java:74) From what I can tell, the console should open a connection to the server via RMI. This seems to be working. I'm stumped as to why the server would try to open a connection anywhere other than the web server. I've combed the web in search of an answer but to no avail. I'm a newbie to all this RMI stuff, could someone with a clue please shed some light? Cheers, Matt. -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS d-- s: a- C UL+++ P++ L+ E--- W+++ N o-- K w-- O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++ G-- e* h-- r+ y+ --END GEEK CODE BLOCK-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: distributed testing woes
127.0.0.1 is the loop back, which is there for an example. you need to replace that with the IP's of the systems. go through page 2 step-by-step and it will work. peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: The thing I really can't understand, and which I think is the problem, is that the server is trying to connect to 127.0.1.1 for some reason. It's probably just my incomplete knowlege of RMI, but shouldn't the console be the one having problems to connect (via RMI) if anything is wrong? *boggle* Matt On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: did you read the tutorial? http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Hi, I'm tearing my hair out trying to get distributed testing working. I have a simple configuration: Console: matt.domain remote_hosts=java.domain Slave: java.domain (default configuration) I run the server like this (after rmiregistry 1099): ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain -s But I always get the following error on the server: 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on java.domain:1099 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket( TCPEndpoint.java :574) at sun.rmi.transport.tcp.TCPChannel.createConnection( TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection( TCPChannel.java :171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted (Unknown Source) at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted( RemoteListenerWrapper.java:74) From what I can tell, the console should open a connection to the server via RMI. This seems to be working. I'm stumped as to why the server would try to open a connection anywhere other than the web server. I've combed the web in search of an answer but to no avail. I'm a newbie to all this RMI stuff, could someone with a clue please shed some light? Cheers, Matt. -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS d-- s: a- C UL+++ P++ L+ E--- W+++ N o-- K w-- O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++ G-- e* h-- r+ y+ --END GEEK CODE BLOCK-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS d-- s: a- C UL+++ P++ L+ E--- W+++ N o-- K w-- O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++ G-- e* h-- r+ y+ --END GEEK CODE BLOCK-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: distributed testing woes
don't use a domain. use the IP address. using a domain may cause weirdness. list all the ip addresses for the systems running jmeter-server.bat. if you're running both jmeter-server.bat and jmeter.bat, list the IP of the system. it would be easier to diagnose your problem, if you include more details like number of systems, each system's IP and the settings in each system. peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Yup, that's why I have: remote_hosts=java.domain which resolves to an IP that does exist and is pingable :-) On the server, remote_hosts is commented out; is that right? It's not mentioned in the tutorial.. matt On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: 127.0.0.1 is the loop back, which is there for an example. you need to replace that with the IP's of the systems. go through page 2 step-by-step and it will work. peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: The thing I really can't understand, and which I think is the problem, is that the server is trying to connect to 127.0.1.1 for some reason. It's probably just my incomplete knowlege of RMI, but shouldn't the console be the one having problems to connect (via RMI) if anything is wrong? *boggle* Matt On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: did you read the tutorial? http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Hi, I'm tearing my hair out trying to get distributed testing working. I have a simple configuration: Console: matt.domain remote_hosts=java.domain Slave: java.domain (default configuration) I run the server like this (after rmiregistry 1099): ./jmeter -Dserver_port=1099 -Djava.rmi.server.hostname=java.domain-s But I always get the following error on the server: 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on java.domain:1099 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket( TCPEndpoint.java :574) at sun.rmi.transport.tcp.TCPChannel.createConnection( TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection( TCPChannel.java :171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted (Unknown Source) at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted( RemoteListenerWrapper.java:74) From what I can tell, the console should open a connection to the server via RMI. This seems to be working. I'm stumped as to why the server would try to open a connection anywhere other than the web server. I've combed the web in search of an answer but to no avail. I'm a newbie to all this RMI stuff, could someone with a clue please shed some light? Cheers, Matt. -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS d-- s: a- C UL+++ P++ L+ E--- W+++ N o-- K w-- O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++ G-- e* h-- r+ y+ --END GEEK CODE BLOCK-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS d-- s: a- C UL+++ P++ L+ E--- W+++ N o-- K w-- O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++ G-- e* h-- r+ y+ --END GEEK CODE BLOCK-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS d-- s: a- C UL+++ P++ L+ E--- W+++ N o-- K w-- O M V- PS+++ PE Y PGP t+ 5 X++ R+ !tv b+++ DI- D++ G-- e* h-- r+ y+ --END GEEK CODE BLOCK-- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: distributed testing woes
something is preventing the RMI connection. the tutorial clearly states make sure there's no firewall running on any of the systems. if RMI can't connect and tries to connect repeatedly, JMeter won't be able to do distributed testing. On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: FTR, I also get the message 'jmeter.engine.RemoteJMeterEngineImpl: Starting backing engine on 1099' on the server, so it's starting up fine. Also, I tried running the server with -Djava.rmi.server.logCalls=true and got the following, maybe it will help? NP 10.21.62.137=matt.domain Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)] Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws java.rmi.RemoteException] Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.setHost(java.lang.String) throws java.rmi.RemoteException] Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.configure( org.apache.jorphan.collections.HashTree) throws java.rmi.RemoteException] Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.runTest() throws java.rmi.RemoteException,org.apache.jmeter.engine.JMeterEngineException] Oct 3, 2006 12:46:01 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(6)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws java.rmi.RemoteException] On 10/3/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Yup, that's why I have: remote_hosts=java.domain which resolves to an IP that does exist and is pingable :-) On the server, remote_hosts is commented out; is that right? It's not mentioned in the tutorial.. matt On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: 127.0.0.1 is the loop back, which is there for an example. you need to replace that with the IP's of the systems. go through page 2 step-by-step and it will work. peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: The thing I really can't understand, and which I think is the problem, is that the server is trying to connect to 127.0.1.1 for some reason. It's probably just my incomplete knowlege of RMI, but shouldn't the console be the one having problems to connect (via RMI) if anything is wrong? *boggle* Matt On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: did you read the tutorial? http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Hi, I'm tearing my hair out trying to get distributed testing working. I have a simple configuration: Console: matt.domain remote_hosts=java.domain Slave: java.domain (default configuration) I run the server like this (after rmiregistry 1099): ./jmeter -Dserver_port=1099 - Djava.rmi.server.hostname=java.domain -s But I always get the following error on the server: 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on java.domain:1099 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket( TCPEndpoint.java :574) at sun.rmi.transport.tcp.TCPChannel.createConnection( TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection( TCPChannel.java :171) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94) at org.apache.jmeter.samplers.RemoteSampleListenerImpl_Stub.testStarted (Unknown Source) at org.apache.jmeter.samplers.RemoteListenerWrapper.testStarted( RemoteListenerWrapper.java:74) From what I can tell, the console should open a connection to the server via RMI. This seems to be working. I'm
Re: distributed testing woes
the problem is that the server and client are on different subnets. this is a limitation of RMI. both systems have to be on either 10.21.62.x or 10.21.202.x peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: I can telnet from both machines to port 1099, that's the RMI port, right? On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: something is preventing the RMI connection. the tutorial clearly states make sure there's no firewall running on any of the systems. if RMI can't connect and tries to connect repeatedly, JMeter won't be able to do distributed testing. On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: FTR, I also get the message 'jmeter.engine.RemoteJMeterEngineImpl: Starting backing engine on 1099' on the server, so it's starting up fine. Also, I tried running the server with -Djava.rmi.server.logCalls=true and got the following, maybe it will help? NP 10.21.62.137=matt.domain Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: sun.rmi.transport.DGCImpl[0:0:0, 2]: java.rmi.dgc.Lease dirty(java.rmi.server.ObjID[], long, java.rmi.dgc.Lease)] Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws java.rmi.RemoteException] Oct 3, 2006 12:45:04 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.setHost( java.lang.String) throws java.rmi.RemoteException] Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.configure( org.apache.jorphan.collections.HashTree) throws java.rmi.RemoteException] Oct 3, 2006 12:45:05 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(5)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.runTest() throws java.rmi.RemoteException, org.apache.jmeter.engine.JMeterEngineException] Oct 3, 2006 12:46:01 AM sun.rmi.server.UnicastServerRef logCall FINER: RMI TCP Connection(6)-10.21.62.137: [10.21.62.137: org.apache.jmeter.engine.RemoteJMeterEngineImpl[0]: public abstract void org.apache.jmeter.engine.RemoteJMeterEngine.reset() throws java.rmi.RemoteException] On 10/3/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Yup, that's why I have: remote_hosts=java.domain which resolves to an IP that does exist and is pingable :-) On the server, remote_hosts is commented out; is that right? It's not mentioned in the tutorial.. matt On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: 127.0.0.1 is the loop back, which is there for an example. you need to replace that with the IP's of the systems. go through page 2 step-by-step and it will work. peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: The thing I really can't understand, and which I think is the problem, is that the server is trying to connect to 127.0.1.1 for some reason. It's probably just my incomplete knowlege of RMI, but shouldn't the console be the one having problems to connect (via RMI) if anything is wrong? *boggle* Matt On 10/3/06, Peter Lin [EMAIL PROTECTED] wrote: did you read the tutorial? http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf peter On 10/2/06, Matt Wlazlo [EMAIL PROTECTED] wrote: Hi, I'm tearing my hair out trying to get distributed testing working. I have a simple configuration: Console: matt.domain remote_hosts=java.domain Slave: java.domain (default configuration) I run the server like this (after rmiregistry 1099): ./jmeter -Dserver_port=1099 - Djava.rmi.server.hostname=java.domain -s But I always get the following error on the server: 2006/10/03 00:00:10 INFO - jmeter.samplers.RemoteListenerWrapper: Test Started on java.domain:1099 2006/10/03 00:00:10 ERROR - jmeter.samplers.RemoteListenerWrapper: testStarted(host) java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket( TCPEndpoint.java :574
Re: JMS Publisher Sampler: Cannot instantiate class InitialContextFactory
make sure you put weblogic's jms client jar into jmeter's lib/ directory. jmeter doesn't come with the J2EE api jar files, so users have to add those manually. peter On 9/25/06, rudy [EMAIL PROTECTED] wrote: I am a bit new to jmeter and am having an issue dropping messages into a JMS Queue. I am using the JMS Publisher sampler and getting a getting an error saying it Cannot instantiate class a.b.xInitialContextFactory Any ideas on why I am getting this? I have tried ActiveMQInitialContextFactory and have the ActiveMQ jar in my lib folder. Also I have Weblogic Server running locally and have tried weblogic.jndi.WLInitialContextFactory. Is it that it is not even finding localhost and that is why it can't find the class? -- View this message in context: http://www.nabble.com/JMS-Publisher-Sampler%3A-Cannot-instantiate-class-InitialContextFactory-tf2332741.html#a6490209 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JMS Publisher Sampler: Cannot instantiate class InitialContextFactor
it's because jmeter ignores the classpath peter On 9/25/06, rudy [EMAIL PROTECTED] wrote: I added weblogic.jar to my lib/ directory and it is now working fine. Thanks! I am not sure though what is the difference if I had added that jar to my classpath (on my pc). Any ideas on why the classpath wasn't enough? Peter Lin wrote: make sure you put weblogic's jms client jar into jmeter's lib/ directory. jmeter doesn't come with the J2EE api jar files, so users have to add those manually. peter On 9/25/06, rudy [EMAIL PROTECTED] wrote: I am a bit new to jmeter and am having an issue dropping messages into a JMS Queue. I am using the JMS Publisher sampler and getting a getting an error saying it Cannot instantiate class a.b.xInitialContextFactory Any ideas on why I am getting this? I have tried ActiveMQInitialContextFactory and have the ActiveMQ jar in my lib folder. Also I have Weblogic Server running locally and have tried weblogic.jndi.WLInitialContextFactory. Is it that it is not even finding localhost and that is why it can't find the class? -- View this message in context: http://www.nabble.com/JMS-Publisher-Sampler%3A-Cannot-instantiate-class-InitialContextFactory-tf2332741.html#a6490209 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/JMS-Publisher-Sampler%3A-Cannot-instantiate-class-InitialContextFactory-tf2332741.html#a6494028 Sent from the JMeter - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: junit sampler and cactus?
not that I am aware of. I wrote the junitsampler, but I've never tried that. peter On 9/22/06, tanya saarva [EMAIL PROTECTED] wrote: Is there a way to set up junit sampler to run cactus tests against a locally running server (ie weblogic)?
Re: Performance Testing (Embedded Resources)
JMeter will only measure the first byte sent to last byte recieved. Depending on the page layout, rendering could take a lot longer. What's your goal? JMeter is meant to test a server's ability to handle requests, not the browser's ability to render a page. I don't know how CompuWare QA load works, so maybe it's parsing the response from the server. I would suggest reading my article on load and stress testing on jmeter's homepage. hopefully that will explain things a bit better and help bring focus to your customer's qa testing. peter On 9/18/06, Rishay Marajah [EMAIL PROTECTED] wrote: Hi Guys, I am currently measuring the performance of a J2EE application. The Customer QA is using CompuWare QA Load and the results between this product and jmeter are vastly different. The team has indicated to me that JMeter is NOT measuring the time it takes from the moment of click until the page has fully loaded. It is merely measuring the page request time. Even though jmeter does not show the CSS...Does it download it? Does the timings include all the gifs/jpgs on the web page? Regards, Rishay Marajah QA Developer / Test Analyst / Jmeter Dark Templer Mobile: +27 84 884 8633 MSN: [EMAIL PROTECTED] Direct Line: +27 11 575 1355 Direct Fax: +27 11 576 1355 Consology (Pty) Ltd www.consology.com Connect to better Business The Definition of an Upgrade: Take out old bugs and put new ones in -Original Message- From: Rishay Marajah [mailto:[EMAIL PROTECTED] Sent: Monday, September 18, 2006 4:59 PM To: JMeter Users List Subject: Performance Testing (Embedded Resources) Hi Guys, Could some explain me the following: 1. What is difference between turning embedded resources on and off? 2. When I turn embedded resources on certain pages...I get - The pages has temp...moved to 3. My testing env = a. Weblogic 8.1 SP4 b. Oracle 9i DB c. J2EE Application d. HTTPS protocol Regards, Rishay Marajah QA Developer / Test Analyst / Jmeter Dark Templer Mobile: +27 84 884 8633 MSN: [EMAIL PROTECTED] Direct Line: +27 11 575 1355 Direct Fax: +27 11 576 1355 Consology (Pty) Ltd www.consology.com Connect to better Business The Definition of an Upgrade: Take out old bugs and put new ones in - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Error in Jmeter log file when running against Weblogic 8.1
looking at the log, it appears weblogic is closing the connection, which is causing jmeter to show an inputstream error. if it was a problem with jmeter sending the request, it would be an outputstream. peter On 9/6/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Sebb, The exception doesnt happen with one thread only. I have checked it out. Sometimes i also get an exception message in the Response Data pane of View Results Tree ListenerThe text suggests something like this : java.net.SocketException: Connection reset at java.net.SocketInputStream.read(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at sun.net.www.http.ChunkedInputStream.readAheadBlocking(Unknown Source) at sun.net.www.http.ChunkedInputStream.readAhead(Unknown Source) at sun.net.www.http.ChunkedInputStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at java.io.BufferedInputStream.read1(Unknown Source) at java.io.BufferedInputStream.read(Unknown Source) at java.io.FilterInputStream.read(Unknown Source) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.readResponse( HTTPSampler.java:235) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample( HTTPSampler.java:449) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample( HTTPSamplerBase.java:514) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample( HTTPSamplerBase.java:503) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source).. At the same time when i saw the Jmeter Log file i saw the following error in that: 2006/09/06 19:02:43 ERROR - jmeter.functions.JavaScript: Error processing Javascript SyntaxError: syntax error (cmd; line 1) at org.mozilla.javascript.NativeGlobal.constructError(NativeGlobal.java:597) at org.mozilla.javascript.TokenStream.reportSyntaxError(TokenStream.java :1324) at org.mozilla.javascript.Parser.reportError(Parser.java:73) at org.mozilla.javascript.Parser.primaryExpr(Parser.java:1411) at org.mozilla.javascript.Parser.memberExpr(Parser.java:1201) at org.mozilla.javascript.Parser.unaryExpr(Parser.java:1115) at org.mozilla.javascript.Parser.mulExpr(Parser.java:1062) at org.mozilla.javascript.Parser.addExpr(Parser.java:1045) at org.mozilla.javascript.Parser.shiftExpr(Parser.java:1032) at org.mozilla.javascript.Parser.relExpr(Parser.java:1024) at org.mozilla.javascript.Parser.eqExpr(Parser.java:1002) at org.mozilla.javascript.Parser.bitAndExpr(Parser.java:991) at org.mozilla.javascript.Parser.bitXorExpr(Parser.java:980) at org.mozilla.javascript.Parser.bitOrExpr(Parser.java:969) at org.mozilla.javascript.Parser.andExpr(Parser.java:957) at org.mozilla.javascript.Parser.orExpr(Parser.java:945) at org.mozilla.javascript.Parser.condExpr(Parser.java:928) at org.mozilla.javascript.Parser.assignExpr(Parser.java:909) at org.mozilla.javascript.Parser.expr(Parser.java:898) at org.mozilla.javascript.Parser.statementHelper(Parser.java:577) at org.mozilla.javascript.Parser.statement(Parser.java:387) at org.mozilla.javascript.Parser.statements(Parser.java:315) at org.mozilla.javascript.Parser.statementHelper(Parser.java:773) at org.mozilla.javascript.Parser.statement(Parser.java:387) at org.mozilla.javascript.Parser.statementHelper(Parser.java:593) at org.mozilla.javascript.Parser.statement(Parser.java:387) at org.mozilla.javascript.Parser.parse(Parser.java:128) at org.mozilla.javascript.Context.compile(Context.java:1995) at org.mozilla.javascript.Context.compile(Context.java:1948) at org.mozilla.javascript.Context.compileReader(Context.java:899) at org.mozilla.javascript.Context.evaluateReader(Context.java:817) at org.mozilla.javascript.Context.evaluateString(Context.java:784) at org.apache.jmeter.functions.JavaScript.execute(JavaScript.java:81) at org.apache.jmeter.engine.util.CompoundVariable.execute( CompoundVariable.java:125) at org.apache.jmeter.engine.util.CompoundVariable.execute( CompoundVariable.java:93) at org.apache.jmeter.testelement.property.FunctionProperty.getStringValue( FunctionProperty.java:85) at org.apache.jmeter.testelement.AbstractTestElement.getPropertyAsString( AbstractTestElement.java:195) at org.apache.jmeter.config.Argument.getValue(Argument.java:121) at org.apache.jmeter.protocol.http.util.HTTPArgument.getEncodedValue( HTTPArgument.java:142) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.getQueryString( HTTPSamplerBase.java:430) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection( HTTPSampler.java:157) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(
Re: Webservice Request (SOAP), HTTPS, Client Certificate
the ssl socket is suppose to send that automatically. peter On 9/3/06, Nop Lists [EMAIL PROTECTED] wrote: Thanks Peter. Once loaded into the keystore, how do I send the client certificate with the request ? thanks Nop -- Forwarded message -- From: Peter Lin [EMAIL PROTECTED] Date: Aug 30, 2006 9:15 PM Subject: Re: Webservice Request (SOAP), HTTPS, Client Certificate To: JMeter Users List jmeter-user@jakarta.apache.org I believe you may need to convert the cert to the correct method and use the jdk keytool to import it. it's been a while since I've had to do that, so I don't remember the exact steps. there should be some tutorials on Sun's website on that. peter On 8/30/06, Nop Lists [EMAIL PROTECTED] wrote: Hello, I need to load test a webservice over https. I have imported the server certificate into the keystore. The developer said, the client (JMeter in my case, Internet Explorer for the users) should send a client certificate with the request. I was not successfull importing the client certificate (in .p12 - format) into the keystore: keytool was complaining keytool error: java.lang.Exception: Input not an X.509certificate Any clue how to overcome the problem? The error message starts with javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure I am using both JMeter 2.2 and 2.1.1 (a solution to any of them would suffice), Java 1.4 (can upgrade to 1.5 if needed). Just for reference - after importing the cient certificate to internet explorer I was able to get a response. Thanks for any help Nop
Re: t3 and t3s protocols supported?
if you're referring to BEA's T3 protocol, the answer is no. Jmeter doesn't support weblogic T3 protocol. peter On 9/3/06, Nop Lists [EMAIL PROTECTED] wrote: Hello, does JMeter support the protocols t3 and t3s? Thanks nop