Monitor result in jmeter
Can any one pls tel how to monitor the server using jmeter ..and pls tel tel the purpose of monitor result in jmater ..how to buiild the monitoring test plan -- View this message in context: http://jmeter.512774.n5.nabble.com/Monitor-result-in-jmeter-tp4818506p4818506.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: Issue with Response assertion for HTTP Request Sampler
Hi ZK, Thanks for the options. After trying all the options, i think the best way would to give the major elements of the xml as separate patters to be matched with the response. Thanks all for your help. I really appreciate it. :) -- View this message in context: http://jmeter.512774.n5.nabble.com/Issue-with-Response-assertion-for-HTTP-Request-Sampler-tp4803205p4818602.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: 404 errors
Thanks, I have tried adding a debug post processor as a child to the HTTP request but I get the following in response data HTTPsampler.Arguments= HTTPSampler.domain=testport1a HTTPSampler.port= HTTPSampler.connect_timeout= HTTPSampler.response_timeout= HTTPSampler.protocol=http HTTPSampler.contentEncoding= HTTPSampler.path=/test/Portals/1/Temp/d826a6e5-24f0-4dab-888c-9882e735c0fd/Perf_1Metric_WeekAndDay_RangeTimeSeries_style.css HTTPSampler.method=GET HTTPSampler.follow_redirects=true HTTPSampler.auto_redirects=false HTTPSampler.use_keepalive=true HTTPSampler.DO_MULTIPART_POST=false HTTPSampler.implementation=Java HTTPSampler.image_parser=true HTTPSampler.concurrentPool=4 HTTPSampler.monitor=false HTTPSampler.embedded_url_re= TestElement.name=/test/Portals/1/Temp/d826a6e5-24f0-4dab-888c-9882e735c0fd/Perf_1Metric_WeekAndDay_RangeTimeSeries_style.css TestElement.gui_class=org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui TestElement.test_class=org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy TestElement.enabled=true TestPlan.comments= HTTPSampler.header_manager=org.apache.jmeter.protocol.http.control.HeaderManager@20170b HTTPSampler.cookie_manager=org.apache.jmeter.protocol.http.control.CookieManager@14ec870 Here are some exampls of the types of path I see in the Http Requests /test/Portals/1/Temp/f8a54518-7bb6-4eef-b55e-8a87569bed36/C_20iT0_1.png /test/Portals/1/Temp/f8a54518-7bb6-4eef-b55e-8a87569bed36/Perf_1Metric_TypicalWeek_Box_style.css I believe rgeex is what I need to do to sort this whole thing out but I am lost -- View this message in context: http://jmeter.512774.n5.nabble.com/404-errors-tp4810204p4818682.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: Monitor result in jmeter
For monitoring servers you could use this: http://code.google.com/p/jmeter-plugins/wiki/PerfMon ZK -- View this message in context: http://jmeter.512774.n5.nabble.com/Monitor-result-in-jmeter-tp4818506p4818829.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: Make JMeter report error messages in console
No, the error messages are not being written to the jmeter.log file. The only way I was able to get any kind of real time feedback on this was to add the JMeterPlugins Console Status Logger (thanks for the help Andrey). I find this a little surprising. I think this would be a good candidate for a simple JMeter feature. Seems like have an option to see failed requests as they occur would be valuable. Would have saved me a lot of time and frustration, I know that much. On Wed, Sep 14, 2011 at 4:01 PM, sebb seb...@gmail.com wrote: On 14 September 2011 20:34, Oliver Lloyd oliver_ll...@hotmail.com wrote: You could also tail jmeter.log. But are the errors being logged? Sampler errors are generally only visible in the sample result file or visualisers. - http://www.http503.com/ -- View this message in context: http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4804129.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: Make JMeter report error messages in console
On 19 September 2011 16:34, E S electric.or.sh...@gmail.com wrote: No, the error messages are not being written to the jmeter.log file. The only way I was able to get any kind of real time feedback on this was to add the JMeterPlugins Console Status Logger (thanks for the help Andrey). I find this a little surprising. I think this would be a good candidate for a simple JMeter feature. Seems like have an option to see failed requests as they occur would be valuable. Would have saved me a lot of time and frustration, I know that much. So where were the messages being sent? I assume they were being sent to the console. If so, how come you were not able to see them? Standard JMeter script files don't suppress console messages, so you should see them. It would also help to have some examples of the error messages in case they need to be captured and logged. On Wed, Sep 14, 2011 at 4:01 PM, sebb seb...@gmail.com wrote: On 14 September 2011 20:34, Oliver Lloyd oliver_ll...@hotmail.com wrote: You could also tail jmeter.log. But are the errors being logged? Sampler errors are generally only visible in the sample result file or visualisers. - http://www.http503.com/ -- View this message in context: http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4804129.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 - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: kingry...@gmail.com
So you need to parse viewstate parameters from previous request and pass them in following requests. I see you using POST-back ASP.NET app? - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/kingrythm-gmail-com-tp4818748p4819920.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: Make JMeter report error messages in console
It turned out that Console Status Logger is much similar to http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Generate_Summary_Results Generate Summary Results native plugin... But I never tried it myself, could you? Is it helps, too? - -- Andrey Pohilko JP@GC Maintainer -- View this message in context: http://jmeter.512774.n5.nabble.com/Make-JMeter-report-error-messages-in-console-tp4803852p4819935.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
Need suggestion
Hello friends, I have an application which has a list of report links on home page. On clicking each report link a bar chart report gets populated in a popup browser window. I have created Jmeter script to load each report with N users/threads simultaneously or randomly and calculate the average response time and throughput. Can you please suggest what all other scenarios I can try and prepare to do performance testing of the reports? Thanks, Vish - Thanks, Vish -- View this message in context: http://jmeter.512774.n5.nabble.com/Need-suggestion-tp4820417p4820417.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: 404 errors
what are you trying to find out from this? You *probably* have a request to a report page which *probably* has a link to this stylesheet which the browser requests and the JMeter proxy records into the script. If you record the script again you *probably* see that this path is changing. So you have a couple of options a. For the sampler that requests the report page , observe the response (using view results tree , or you can also do this on the browser using for e.g. fiddler). Then write a regex post processor as a child of this sampler that extracts out the css path to the CSS into a variable e.g. cssurl and in the sampler which requests the css change it to ${cssurl} b. For the sampler that requests the report page , check the box saying retrieve embedded resources and JMeter will automatically fetch these for you (see new feature in 2.5 as well). Then you can just delete the call to this css regards deepak On Mon, Sep 19, 2011 at 5:09 AM, jgagnon jamie.gag...@sumerian.com wrote: Thanks, I have tried adding a debug post processor as a child to the HTTP request but I get the following in response data HTTPsampler.Arguments= HTTPSampler.domain=testport1a HTTPSampler.port= HTTPSampler.connect_timeout= HTTPSampler.response_timeout= HTTPSampler.protocol=http HTTPSampler.contentEncoding= HTTPSampler.path=/test/Portals/1/Temp/d826a6e5-24f0-4dab-888c-9882e735c0fd/Perf_1Metric_WeekAndDay_RangeTimeSeries_style.css HTTPSampler.method=GET HTTPSampler.follow_redirects=true HTTPSampler.auto_redirects=false HTTPSampler.use_keepalive=true HTTPSampler.DO_MULTIPART_POST=false HTTPSampler.implementation=Java HTTPSampler.image_parser=true HTTPSampler.concurrentPool=4 HTTPSampler.monitor=false HTTPSampler.embedded_url_re= TestElement.name=/test/Portals/1/Temp/d826a6e5-24f0-4dab-888c-9882e735c0fd/Perf_1Metric_WeekAndDay_RangeTimeSeries_style.css TestElement.gui_class=org.apache.jmeter.protocol.http.control.gui.HttpTestSampleGui TestElement.test_class=org.apache.jmeter.protocol.http.sampler.HTTPSamplerProxy TestElement.enabled=true TestPlan.comments= HTTPSampler.header_manager=org.apache.jmeter.protocol.http.control.HeaderManager@20170b HTTPSampler.cookie_manager=org.apache.jmeter.protocol.http.control.CookieManager@14ec870 Here are some exampls of the types of path I see in the Http Requests /test/Portals/1/Temp/f8a54518-7bb6-4eef-b55e-8a87569bed36/C_20iT0_1.png /test/Portals/1/Temp/f8a54518-7bb6-4eef-b55e-8a87569bed36/Perf_1Metric_TypicalWeek_Box_style.css I believe rgeex is what I need to do to sort this whole thing out but I am lost -- View this message in context: http://jmeter.512774.n5.nabble.com/404-errors-tp4810204p4818682.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: Get max or min Value of a Variable or Regular Expression
hi if there is nothing in the response that tells you the maximum then you have to select all matches(match no -1) and do it in beanshell or bsf (should be possible in XPATH). But you might be missing something as well - when your application is accessed by a normal user with the browser, what does he click (that you are trying to script) and how does the max id get sent? regards deepak On Mon, Sep 19, 2011 at 6:12 AM, dino past...@gmail.com wrote: Hello, I have read out some numeric value by using RegEx Extractor. Ref Name: FirstID Regular Ex: .*show.htm\?id=(\d+) Template: $1$ Match No.: 1 Default_Value: not_found My pages have lists with various of these id's. In fact they represent PK values from a db table. Now I have to get the highest value of an id, not necessarily the first, as in my regEx. *How can I read out the id with the highest (lowest) value.* -- View this message in context: http://jmeter.512774.n5.nabble.com/Get-max-or-min-Value-of-a-Variable-or-Regular-Expression-tp4818919p4818919.html Sent from the JMeter - User mailing list archive at Nabble.com.
Re: Make JMeter report error messages in console
On 14 September 2011 20:05, sebb seb...@gmail.com wrote: On 14 September 2011 19:12, E S electric.or.sh...@gmail.com wrote: I was recently running JMeter is headless mode and got a bunch of errors because I was running out of ephemeral ports. However, while JMeter was running, it gave me no indication of this. I had to view the results in either the Summary Report or View Results Tree listener before I realized what was going on. Is it possible to set it up so that I get error messages on the console as they occur? You can add a Summariser and watch for error count != 0. By Summariser I meant http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Generate_Summary_Results This can output to log and/or console. - 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
Nested While controller Loops question
I have a nested while loo controller p in jmeter. It's 3 levels deep. Each level has it's own config csv So it looks something like this While( File1 !- EOF) While (file2 != EOF) While(file3 != EOF) HTPRequest The most inner loop will run with data from the first entry of file 1 and the first entry of file 2 and all entries of file 3 . However the test ends after one loop through the most inner loop or continuously on if I choose Recycle on EOF for the inner loop. The outer loops never loop. If I have 3 entries in each file , instead of there being 27 calls to HTPRequest, I get 3 Are nested while loops not supported in this fashion? Thanks Bruce
Re: Nested While controller Loops question
The problem is if you have Recycle as true , you never get EOF, if you have recycle as false then the inner CSV doesnt reset itself (which is what you expect for this loop to work) as far as I remember you could a) add a dummy row at the end of the CSV that you set a flag on and used that in the comparison b) Interact with JMeter api's to reset the CVS data set config. c) Pre process your CSV file so that you dont need the nesting regards deepak On Mon, Sep 19, 2011 at 7:45 PM, Bruce Wobbe br...@thewobbes.com wrote: I have a nested while loo controller p in jmeter. It's 3 levels deep. Each level has it's own config csv So it looks something like this While( File1 !- EOF) While (file2 != EOF) While(file3 != EOF) HTPRequest The most inner loop will run with data from the first entry of file 1 and the first entry of file 2 and all entries of file 3 . However the test ends after one loop through the most inner loop or continuously on if I choose Recycle on EOF for the inner loop. The outer loops never loop. If I have 3 entries in each file , instead of there being 27 calls to HTPRequest, I get 3 Are nested while loops not supported in this fashion? Thanks Bruce