Re: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Anybody have a clue? I still haven't figured it out. A collegue of mine had the same issue, but now it is working for him. Both of us don't know what made the difference -- View this message in context: http://jmeter.512774.n5.nabble.com/javax-net-ssl-SSLHandshakeException-Received-fatal-alert-handshake-failure-tp4841986p4848680.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: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Okay, we just made some progress. When looking at my proxyserver.jks keystore I noticed that the JMeter certificate fingerprint was MD5 and his showed SHA1. Googling for this indicated that him having jdk1.7 probably made the difference. So I just installed jdk, changed the environment variables and rebooted. And now I'm also capable of recording the HTTPS traffic. With Wireshark we see that the packet for 'Server hello, Certificate, Server Hello Done' has Cipher Suite TLS_RSA_WITH_AES_256_CBC_SHA' -- View this message in context: http://jmeter.512774.n5.nabble.com/javax-net-ssl-SSLHandshakeException-Received-fatal-alert-handshake-failure-tp4841986p4848723.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
Regular Expression Extractor behaving different from Results Tree RegEx Tester?
Hi All, The regular expression I'm using in the Regular Expression Extractor keeps getting the default value and I don't have a clue why it does that because when I do a search on the same regular expression in the Results Tree listener it comes back with the row I'm looking for. First part the source code of the page: /dtNaam/dt dd Brigitte Moulin /dd dtGeboortedatum/dt dd13-12-1923/dd dtGeboorteplaats/dt ddAvignon/dd dtGeboorteland/dt dd/dd dtBSN/dt/ Regular Expression Extractor values: Apply to: Main sample only Response field to check: Both 'body' and 'Body(unescaped)' are tried Ref Name: Geboorteplaats Regular Expression: dtGeboorteplaats/dt\n.*dd(.+?)/dd Template: $1$ Match No: 1 Default value: Geboorteplaats not found! The regular expression is working in the View Results Tree Response Data search. For the regular expression I tested with both with and without the newline (\n). Without the \n the RegEx does not find anything. I've tried adding (?m) or (?s) at the beginning of the RegEx. The site http://regexhero.net/tester/ tells me my RegEx is correct. Anybody have a clue why the variable Geboorteplaats keeps getting the default value?? -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp475p475.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: Regular Expression Extractor behaving different from Results Tree RegEx Tester?
Hmmm, I finally got it. The regular expression /dtGeboorteplaats/dt.*\n.*dd(.+?)/dd/ does the trick. I needed to add another .* before the newline. If anybody have a different way of approach I would gladly hear it -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp475p4777800.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: Regular Expression Extractor behaving different from Results Tree RegEx Tester?
Hi Nermin, I checked again for trailing spaces, but just a .* doesn't do the trick. Sebb, your suggestion works fine and is a much better way. I could provide a link, but it won't be of use because it's an internal application. Thanks both of you for your thoughts -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-behaving-different-from-Results-Tree-RegEx-Tester-tp475p4778471.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
Embedded resource is causing a StackOverflowError
Hi, I have a script that's opening multiple url's coming from a csv-file. The HTTP requests have the option retrieve all embedded resources ticked. One of the url's is causing problems: *Running the script from command line* The script ran last night and this morning when I tried to open the jtl-file I received a results file loader error. The JMeter-log from this morning contains the following message: /2011/08/30 07:02:27 WARN - jmeter.reporters.ResultCollector: Failed to load C:\Temp\JMeterLog\20110830_02 BISK048 Intro2 Verkenning.jtl using XStream. Error was: com.thoughtworks.xstream.converters.ConversionException: : markup not allowed inside attribute value - illegal (position: TEXT seen ..._catalogs/masterpage/_la... @513694:149) : : markup not allowed inside attribute value - illegal (position: TEXT seen ..._catalogs/masterpage/_la... @513694:149) Debugging information message : : markup not allowed inside attribute value - illegal (position: TEXT seen ..._catalogs/masterpage/_la... @513694:149) cause-exception : com.thoughtworks.xstream.io.StreamException cause-message : : markup not allowed inside attribute value - illegal (position: TEXT seen ..._catalogs/masterpage/_la... @513694:149) class : org.apache.jmeter.save.TestResultWrapper required-type : org.apache.jmeter.protocol.http.sampler.HTTPSampleResult line number : 513694 --- / The JMeter-log from last night contains the following message: /2011/08/30 03:11:24 ERROR - jmeter.reporters.ResultCollector: Error trying to record a sample com.thoughtworks.xstream.core.TreeMarshaller$CircularReferenceException: at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:83) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(AbstractCollectionConverter.java:64) at org.apache.jmeter.save.converters.SampleResultConverter.saveSubResults(SampleResultConverter.java:206) at org.apache.jmeter.protocol.http.util.HTTPResultConverter.marshal(HTTPResultConverter.java:71) at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:86) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:63) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:98) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:38) at com.thoughtworks.xstream.XStream.marshal(XStream.java:837) at org.apache.jmeter.save.SaveService.saveSampleResult(SaveService.java:340) at org.apache.jmeter.reporters.ResultCollector.sampleOccurred(ResultCollector.java:479) at org.apache.jmeter.threads.ListenerNotifier.notifyListeners(ListenerNotifier.java:87) at org.apache.jmeter.threads.JMeterThread.notifyListeners(JMeterThread.java:694) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:362) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243) at java.lang.Thread.run(Unknown Source)/ Then I checked the jtl-file and saw that the next httpSample is starting before the previous has ended. Below is that part is the jtl-file: /lt;httpSample t=quot;36quot; lt=quot;36quot; ts=quot;131480886quot; s=quot;truequot; lb=quot;http://urlFiltered/_catalogs/masterpage/_lalt;httpSample t=quot;1836quot; lt=quot;1239quot; ts=quot;131480686quot; s=quot;truequot; lb=quot;/sites/Gerechtshof-Arnhem/Nieuws/Pages/Koffie!.aspxquot; rc=quot;200quot; rm=quot;OKquot; tn=quot;Open pagina vanuit CSV-bestand 1-9quot; dt=quot;textquot; by=quot;29863quot; ng=quot;10quot; na=quot;10quot;gt; assertionResult/ *So what is causing this problem?* I then checked the page that is causing the problem and it contains a embedded resource with the brilliant address /src=file:///P:/Bureaublad/Energiemarktbrenda_1803.jpg/. So besides kicking the editor that created the page I was also wondering if JMeter shouldn't return a Circular Reference error for this embedded resource. *Version info* JMeter version 2.4 r961953 Java version 1.6.0_26 OS Windows XP -- View this message in context: http://jmeter.512774.n5.nabble.com/Embedded-resource-is-causing-a-StackOverflowError-tp4749228p4749228.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
While loop keeps getting StringIndexOutOfBoundsException's
Hi All, I have the following script; Thread Group -While variable EOF --CSV Data Set Config --IF variable EOF ---Debug Sampler ---HTTP Request with variable as Path The csv-file contains a lot of url's that are used in the HTTP Sampler. One of the url's apparantly is causing a problem and in the JMeter.log I see the following error occur: /2011/08/26 11:06:13 WARN - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing CookieManager HTTP Cookie Manager superseded by HTTP Cookie Manager 2011/08/26 11:06:13 WARN - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing CacheManager HTTP Cache Manager superseded by HTTP Cache Manager 2011/08/26 11:06:13 WARN - jmeter.protocol.http.sampler.HTTPSamplerBase: Existing HeaderManager 'HTTP Header Manager:HTTP Header Manager' merged with 'HTTP Header Manager' 2011/08/26 11:06:13 ERROR - jmeter.threads.JMeterThread: Error while processing sampler '/someUrl/RedirectPage.aspx?page=TagFeaturePages%2FForms%2FAllTagsIndexPage%2Easpxfilename=AllTagsIndexPage%2Easpxpagetitle=Tags%20Indexparameters=weburl%3D%5Bsite%20collection%5D%26listname%3DTags%20Collection%26Source%3Dhttp%3A%2' : java.lang.StringIndexOutOfBoundsException: String index out of range: 206 at java.lang.String.charAt(Unknown Source) at sun.net.www.ParseUtil.isEscaped(Unknown Source) at sun.net.www.ParseUtil.quote(Unknown Source) at sun.net.www.ParseUtil.appendSchemeSpecificPart(Unknown Source) at sun.net.www.ParseUtil.toString(Unknown Source) at sun.net.www.ParseUtil.createURI(Unknown Source) at sun.net.www.ParseUtil.toURI(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.disconnect(HTTPSampler.java:605) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:599) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:965) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:951) at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:348) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:243) at java.lang.Thread.run(Unknown Source)/ After some investigation I found out the last characters %2 is causing the problem. The url can be opened in a browser, but JMeter seems to have a problem. The real problem I'm facing is that each other url is failing also with the same error. In the debug sampler I can see that the variable is updated with the next row, but still the HTTP Sampler is getting the same error as given above. Does anyone have an idea how to fix this? Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/While-loop-keeps-getting-StringIndexOutOfBoundsException-s-tp4737566p4737566.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: While loop keeps getting StringIndexOutOfBoundsException's
No, send parameters with request are not present. The path contains the url with the parameters, since they were captured from the source with a spider script. But you did send me in the right direction. *First attempt* I just tried to record the url with the HTTP Proxy Server and the first time I saw got a 'Server broke' message in IE. This was when I entered the url '/someUrl/_layouts/KWizCom_TaggingFeature/RedirectPage.aspx?page=TagFeaturePages%2FForms%2FAllTagsIndexPage%2Easpxfilename=AllTagsIndexPage%2Easpxpagetitle=Tags%20Index¶meters=weburl%3D%5Bsite%20collection%5D%26listname%3DTags%20Collection%26Source%3Dhttp%3A%2' directly in IE. JMeter recorded the following HTTP Request: /Path: /someurl/TagFeaturePages/Forms/AllTagsIndexPage.aspx Parameters with request: weburl = [site%20collection] *Encode not ticked* listname = Tags%20Collection *Encode not ticked* Source = http%3A%2 *Encode not ticked*/ Replaying the recorded script failed, but when I ticked the Encode option for parameter Source the request was successful. *Second attempt* I tried recording a different way. Now I started recording the page which contains a link to the failing page. In the source of the page I see that the url is exactly the same as the one I tried in the first attempt. When I click the link I get a 501 Not Implemented/505 Version Not Supported in IE. JMeter recorded the following HTTP request: /Path: /someUrl/_layouts/KWizCom_TaggingFeature/RedirectPage.aspx Parameters with request: page = TagFeaturePages/Forms/AllTagsIndexPage.aspx *Encode ticked* filename = AllTagsIndexPage.aspx *Encode not ticked* pagetitle = Tags Index *Encode ticked* parameters = weburl=[site collection]listname=Tags CollectionSource=http%3A%2 *Encode ticked*/ Replaying the script fails, but unticking the last parameter 'parameters' lets the script pass. *Conclusion:* Since the csv data config contains the url (including the parameters) I will probably have to encode the variable used in the path -- View this message in context: http://jmeter.512774.n5.nabble.com/While-loop-keeps-getting-StringIndexOutOfBoundsException-s-tp4737566p4738220.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: Automatic generation of aggregate reports
Hi Toni, The issue has been fixed in snapshot7. I had the same problem yesterday and raised defect 33, which has been fixed now. Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Automatic-generation-of-aggregate-reports-tp4281459p4283596.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: Unable to run multiple thread groups
Hi DJ, At test plan level you have an option 'Run Thread Groups consecutively'. Is that option enabled? Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Unable-to-run-multiple-thread-groups-tp3390044p3390693.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
Load time and latency in transaction controller
Hi, When using the transaction controller containing 2 HTTP Requests I see that the load time differs from the combined load times of the 2 HTTP Requests and that the latency is not summed up at all. I'm using 2.4 r961953 and both generate parent sample and include timer are enabled, though i'm not using a timer in the controller. Is this a bug or a feature? Or do I need to change a property to get the latency summed up as well? kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Load-time-and-latency-in-transaction-controller-tp3377271p3377271.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: Uploading File to WebDAV Server
Hi Tom, I uploaded a lot of files to an iDMS called Livelink. I just used the recording option to create the HTTP Request. This is a screenshot: http://jmeter.512774.n5.nabble.com/file/n3377306/HttpUpload.jpg Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Uploading-File-to-WebDAV-Server-tp3375611p3377306.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
Path seems to be encoded to unicode instead of utf-8
Hi, I have a variable url that is populated by the CSV Data Set Config. When I use the variable in the HTTP Request in the Path it looks like it's encoded to unicode while I want it to be encoded to UTF-8. %c3%a9 becomes é instead of é. I'm using version 2.4. Is there a way to fix this? I have checked the saveservice.properties but I only see file_encoding=UTF-8 Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Path-seems-to-be-encoded-to-unicode-instead-of-utf-8-tp3357795p3357795.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: Path seems to be encoded to unicode instead of utf-8
When I enter 'UTF-8' as file encoding in the CSV Data Set Config I see that %c3%a9 is no longer changed to unicode, but ü is now no recognized at all -- View this message in context: http://jmeter.512774.n5.nabble.com/Path-seems-to-be-encoded-to-unicode-instead-of-utf-8-tp3357795p3357818.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: Path seems to be encoded to unicode instead of utf-8
Hi Rajiv, I tried that, but it changes the '/' in the url to %2f resulting in a bad request Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Path-seems-to-be-encoded-to-unicode-instead-of-utf-8-tp3357795p3357822.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: Path seems to be encoded to unicode instead of utf-8
For my last remark: The '/' changing to %2f is no problem. The bad requests were caused by the file encoding I have put up at CSV data config. Rajiv, your solution does fix the ä (changes into %c3%bc), but it changes %c3%a9 to %25c3%25a9, resulting in the bad request -- View this message in context: http://jmeter.512774.n5.nabble.com/Path-seems-to-be-encoded-to-unicode-instead-of-utf-8-tp3357795p3357828.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: Path seems to be encoded to unicode instead of utf-8
Hmm, strange. I'm running the same script on another Windows 2003 server with the same JMeter version and I'm having no problems with my initial script at all. -- View this message in context: http://jmeter.512774.n5.nabble.com/Path-seems-to-be-encoded-to-unicode-instead-of-utf-8-tp3357795p3357854.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: Need help in analyzing the reports
Yes, it's shown as a single user response. No need to devide -- View this message in context: http://jmeter.512774.n5.nabble.com/Need-help-in-analyzing-the-reports-tp3350879p3350923.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: Login and Logout only once
Why is that not the proper way? It is exactly what you are mentioning in your scenario ;-) Do you want to iterate the Business Process multiple times? If yes, then use a Loop Controller around the BP. If you want to login and logout each iteration then don't use the Once Only Controller because this controller is only executed once (hence the name) for each thread -- View this message in context: http://jmeter.512774.n5.nabble.com/Login-and-Logout-only-once-tp3320063p3320153.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: Login and Logout only once
So you just want to execute as many BP's as possible within an hour without the use of pacing/timers? You can set the loop controller to run forever and use the scheduler of the thread group to run the test for 1 hour. Disavantage is that the logout is not executed. Or you make use of a loadmodel in which you determine how often the BP should be executed and use that number as loop count. You can use Constant Throughput timer for pacing. -- View this message in context: http://jmeter.512774.n5.nabble.com/Login-and-Logout-only-once-tp3320063p3320206.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: I am not able to import the badboy script in Jmeter?
Hi, Which version of badboy and jmeter are you using? Kind regards -- View this message in context: http://jmeter.512774.n5.nabble.com/I-am-not-able-to-import-the-badboy-script-in-Jmeter-tp3316242p3317393.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: Grouping of results in report
Hi, If I understand you correctly, the transaction controller (Logic Controller) is want you might want to use. Use the 'Generate parent sample' to show only the group name in the reports. Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Grouping-of-results-in-report-tp3304468p3304493.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: Monitoring Other Values During Test?
Also check http://code.google.com/p/jmeter-plugins/ These guys are making great plugins for JMeter -- View this message in context: http://jmeter.512774.n5.nabble.com/Monitoring-Other-Values-During-Test-tp3300928p3302740.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: Problem with Regular Expression Extractor
Felix Frank-2 wrote: This notion keeps coming up on the list. I'm wondering what Regex engine treats quotes specially. I'm sure that neither POSIX nor Perl do, neither ORO. What others are out there to be wary of? Thanks, Felix I have absolutely no idea how I came up with this? In my scripts I'm automatically escaping the double quotes.for nothing I apologise for the wrong advice -- View this message in context: http://jmeter.512774.n5.nabble.com/Problem-with-Regular-Expression-Extractor-tp3287090p3294056.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: Problem with Regular Expression Extractor
Double quotes are special characters. They need to be escaped. (?=\csrf-token\ content=\).*(?=\) -- View this message in context: http://jmeter.512774.n5.nabble.com/Problem-with-Regular-Expression-Extractor-tp3287090p3287284.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: Need info on Distributive testing in Jmeter
Step 1: Do a search on google or use the search in this forum Step 2: One of the results will contain an url to http://jakarta.apache.org/jmeter/usermanual/jmeter_distributed_testing_step_by_step.pdf Step 3: read the pdf and follow the steps described in it. For future questions you might want to use the search on this forum first, because a lot of helpfull answers were already given here. kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Need-info-on-Distributive-testing-in-Jmeter-tp3270608p3275264.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: Number of Virtual Users
Probably not. You'll probably run into Out of Memory issues concerning the Heap size -- View this message in context: http://jmeter.512774.n5.nabble.com/Number-of-Virtual-Users-tp3270601p3275266.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: How to avoid blank requests while recording?
.*urs\.microsoft\.com.* -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-avoid-blank-requests-while-recording-tp3266903p3275273.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: How to avoid blank requests while recording?
In the HTTP Proxy Server use patterns to exclude -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-avoid-blank-requests-while-recording-tp3266903p3267007.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: Cutomising Aggregate Report
Hi Rashmi, I don't know if I understand correctly what you want to accomplish, so perhaps I'm completely giving the wrong answer ;-) Do you have two thread groups with the same transactionnames in it? All the listeners report the scope they are in. For example the following testplan: Test Plan ...Aggregate Report #1 ...Thread 1 (5 users, loop 10) ..Transaction1 ..Transaction2 ..Transaction3 ..Aggregate Report #2 ...Thread 2 (10 users, loop 10) ..Transaction1 ..Transaction2 ..Transaction3 ..Aggregate Report #3 After running the test the aggregated reports are: Aggregate Report #1 Transaction1 150 samples Transaction2 150 samples Transaction3 150 samples Aggregate Report #2 Transaction1 50 samples Transaction2 50 samples Transaction3 50 samples Aggregate Report #3 Transaction1 100 samples Transaction2 100 samples Transaction3 100 samples Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Cutomising-Aggregate-Report-tp3243844p3244719.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
Differences during recording IE6 vs IE7 (.axd files)?
Hi all, I'm noticing some differences in recording with Internet Explorer 6 versus 7 concerning files with extension axd. If I browse (visit 5 pages) with IE7 on a SharePoint application I see 3 unique entries for WebResource.axd in the IIS log. When I start recording the same 5 pages with JMeter while using IE7 as a browser it generates much more HTTP Requests for the WebResource.axd and I see duplicate entries in the IIS log. When I use IE6 as a browser during recording with JMeter it only generates the 3 unique entries. Does anybody has a clue why JMeter is recording differently between IE6 and 7? What browser are you using for recording with JMeter? I have a feeling that Prostak ran into the same issue in http://jmeter.512774.n5.nabble.com/Repetitive-requests-axd-aspx-td2815876.html kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Differences-during-recording-IE6-vs-IE7-axd-files-tp3244856p3244856.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: Non test element http proxy server saved in jmx file
sebb-2-2 wrote: No, the workbench is not saved. However, you can select the workbench and save it separately. It can then be merged into the current test plan. Just drag and drop does the trick. In my scripts under the testplan I created a thread group called Recording Group. I dragged the HTTP Proxy Server into this Thread group so save it with the jmx file. I also added a Recording Controller to the 'Recording Group' and in the HTTP Proxy Server set the Target Controller to use recording controller. -- View this message in context: http://jmeter.512774.n5.nabble.com/Non-test-element-http-proxy-server-saved-in-jmx-file-tp3241720p3242035.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: How to stop iteration and log the error in a file
sebb-2-2 wrote: So choose stop thread instead; the error will be recorded in the sample data file - same as if you had chosen continue. Hi Sebb, This doesn't seem to work. I have a simple script with 3 HTTP requests. The second HTTP requests has an embedded resource that cannot be found. If I select stop thread after a sampler error occurs then the failed request does not show up in the jtl-log. I ran the test both with GUI and without. I do see a line in the jmeter.log about a 404 response code, but in fact I would like to see the failed transaction in the jtl.log To Saurabh, You are aware that stop thread will stop the 'vuser' when an error occurs. All following iterations of that vuser will not be executed. The solution described by Stan fixes that problem. Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-stop-iteration-and-log-the-error-in-a-file-tp3211495p3213217.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: How to stop iteration and log the error in a file
I raised bug 50097 for this. There is a little nuance in the bug: The request is part of a transaction controller which has Generate parent sample enabled. When the HTTP request is outside the transaction controller it does show up in the listeners. -- View this message in context: http://jmeter.512774.n5.nabble.com/How-to-stop-iteration-and-log-the-error-in-a-file-tp3211495p3213391.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: Help in Response Data Size
Change jmeter.properties # Maximum size of HTML page that can be displayed; default=200 * 1024 # Set to 0 to disable the size check view.results.tree.max_size=0 -- View this message in context: http://jmeter.512774.n5.nabble.com/Help-in-Response-Data-Size-tp3201261p3201447.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: Regular Expression Extractor cannot extract value
Hi Cal, The dot in the ip-adres is a special character as well. Can't you use p_auth=(.+?) instead? Kind regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Regular-Expression-Extractor-cannot-extract-value-tp3173017p3173244.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: Trouble putting a regex response into a user variable
Hi Colin, Why don't you just use the Regular Expression Extractor (Post Processor) instead of the User Defined Variables. The reference name in the RegEx then contains your variable and you can use that in the next request. -- View this message in context: http://jmeter.512774.n5.nabble.com/Trouble-putting-a-regex-response-into-a-user-variable-tp2847160p2847628.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: Response code 500 user has already logged out
Did you add a HTTP Cookie Manager to your testplan/thread group? -- View this message in context: http://jmeter.512774.n5.nabble.com/Response-code-500-user-has-already-logged-out-tp2847776p2847976.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: __property
Hi Garvita, Try ${__P(obj.id)} I created a global.properties with in it: obj.id=Test123 In the command line I added -qglobal.properties And in a debug sampler I added ${__P(obj.id)} I ran the test locally with the command line and in the results of the debug sampler I saw Test123 -- View this message in context: http://jmeter.512774.n5.nabble.com/property-tp2840174p2840274.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: __property
Hmm, I tried to get this working in GUI mode as well, but am unsuccesful so far. If anybody has a clue. I tried adding a line to jmeter.properties (global.properties=global.properties), but no joy -- View this message in context: http://jmeter.512774.n5.nabble.com/property-tp2840174p2840290.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: Write variables to a file without showing them in Results Tree
sebb-2-2 wrote: Otherwise, I think the only way to do this is to use a BeanShell or BSF PostProcessor or Listener. I agree, but I couldn't find a good example to work with. I tried BeanShell PostProcessor in the ForEach Controller but it didn't write any lines to the log or file. Same with the BeanShell Listener. A simple test that I tried was: output = vars.get(OUT); log.info(output); But no lines were showing up in the jmeter.log -- View this message in context: http://jmeter.512774.n5.nabble.com/Write-variables-to-a-file-without-showing-them-in-Results-Tree-tp2837757p2838667.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: Test plan for (970 page requests every 5 min)
Deepak Shetty wrote: Hi Use Firebug. Use the net tab. Access a page which has a number of static files like bbc.co.uk. You cannot predict how the browser will load the static resources / what will be done simultaneously and what will be done serially. regards deepak Hi Deepak, This is an interesting topic and your answers are really informative. Why do you recommand using Firebug? Is Firebug not loading static files and apsx files simultaneously? An other question I have is: Do you have 'Retrieve All embedded reourses' enabled or disabled when loadtesting a Webserver? I couldn't really make that up from your previous posts in this topic. -- View this message in context: http://jmeter.512774.n5.nabble.com/Test-plan-for-970-page-requests-every-5-min-tp2826174p2838966.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: Write variables to a file without showing them in Results Tree
sebb-2-2 wrote: That's because there was no sampler under the ForEach Controller. JMeter only runs Pre- and Post-Processors, Timers, Listeners etc. if there is a sampler to which they can be applied. Okay, that's clear sebb-2-2 wrote: Note: you don't need a ForEach Controller with BeanShell - just loop around the variables in the code. I replaced the ForEach Controller with BeanShell PostProcessor While Controller (${__javaScript((${Inputpagina} != EOF)? true : false,)}) ...CSV Data Set Config (Variable names = Inputpagina) ...If Controller (${Inputpagina} != EOF) ..HTTP Request (path = ${Inputpagina}) .Regular Expression Extractor (Name = Outputpagina RegEx = href=\(.+?)\ Match No = -1) ..BeanShell PostProcessor The BeanShell script is: int count = Integer.parseInt(vars.get(Outputpagina_matchNr)); for(int i=1;i=count;i++) { log.info(vars.get(Outputpagina_ + i)); } I see the lines being logged to the jmeter.log (JMeter version 2.4), but I also see an error and warning 2010/09/14 14:22:33 ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method: evalSourced file: inline evaluation of: ``int count = Integer.parseInt(vars.get(Outputpagina_matchNr)); for(int i=1;i= . . . '' : Typed variable declaration : Method Invocation Integer.parseInt 2010/09/14 14:22:33 WARN - jmeter.extractor.BeanShellPostProcessor: Problem in BeanShell script org.apache.jorphan.util.JMeterException: Error invoking bsh method: evalSourced file: inline evaluation of: ``int count = Integer.parseInt(vars.get(Outputpagina_matchNr)); for(int i=1;i= . . . '' : Typed variable declaration : Method Invocation Integer.parseInt If the CSV file contains multiple inputpages, only one of the pages is written to the logfile. 1. What did I do wrong? 2. I'm still looking for a good example of a BeanShell script that let's me write to a new file instead of the jmeter.log -- View this message in context: http://jmeter.512774.n5.nabble.com/Write-variables-to-a-file-without-showing-them-in-Results-Tree-tp2837757p2839070.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: Write variables to a file without showing them in Results Tree
A, fout the problem: I should have placed the BeanShell Postprocessor as a child of the HTTP Request instead of after the Request. While Controller (${__javaScript((${Inputpagina} != EOF)? true : false,)}) ...CSV Data Set Config (Variable names = Inputpagina) ...If Controller (${Inputpagina} != EOF) ..HTTP Request (path = ${Inputpagina}) .Regular Expression Extractor (Name = Outputpagina RegEx = href=\(.+?)\ Match No = -1) .BeanShell PostProcessor Still one question is unanswered: Please please please, provide me with an example to write to new file instead of to the jmeter.log -- View this message in context: http://jmeter.512774.n5.nabble.com/Write-variables-to-a-file-without-showing-them-in-Results-Tree-tp2837757p2839101.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
Write variables to a file without showing them in Results Tree
Hi All, In looking for a way to writes lines to a file (e.g. with Simple Data Writer) without them showing up in the View Results Tree or Summary Report. The basic idea is to open multiple url's and store all links found in the response. I'm running this script in the GUI and would like to see the server responses in the Results Tree and store all links found in the response to a file. This is what I currently have: HTTP Request ...Regular Expression Extractor (Name = IN RegEx = a href=\(.+?)\ Match No = -1) ForEach Controller (Input = IN Output = OUT) ...Debug Sampler (${OUT}) ..Simple Data Writer The solution above does give me a file with the responses, but the Results tree cannot handle the amount of Debug Samplers. I have tried to replace the Debug Sampler with a BeanShell Postprocessor, but couldn't get it working. Any help is much appreciated. -- View this message in context: http://jmeter.512774.n5.nabble.com/Write-variables-to-a-file-without-showing-them-in-Results-Tree-tp2837757p2837757.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: Repetitive requests - axd, aspx
Hi Prostak, I see the same when recording a SharePoint-site. If I replay the recorded axd-files the response data seems to be empty (Response code 204, No content). If I add a View Results Tree to the HTTP Proxy Server and start recording I do see different reponses for both the axd-files. One contains functions for the menu and the other contains functions for the WebForm. Hope that this helps to get insight. kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/Repetitive-requests-axd-aspx-tp2815876p2834664.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: Proxy exclude pattern doesn't work
Hi Jens, Thanks for your answer. That indeeds seems to be the case. The path in the HTTP request only shows the part until .js. The HTTP request also contains a parameter 'rev' with a dynamic value (e.g. IRHfdsgfhff7474ehbh). If I look at the request in the View Results Tree I see that the GET consists of the path with the parameter (server/_layout/search.js?rev=IRHfdsgfhff7474ehbh) -- View this message in context: http://jmeter.512774.n5.nabble.com/Proxy-exclude-pattern-doesn-t-work-tp530175p2807692.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: Proxy exclude pattern doesn't work
Hi, It was a while ago since the last response. I just ran into the same issue where I excluded javascript-files (with .*\.js), but still saw some js-files being recorded. It seems to be related if the Path starts with '/_', because I noticed the following behaviour: /Pages/seach.js -- Not recorded, hence correctly excluded /Pages/_layouts/seach.js -- Not recorded, hence correctly excluded /_layouts/seach.js -- Still being recorded. After I added .*\_.* to URL Patters to exclude the javascript-files were not recorded anymore. -- View this message in context: http://jmeter.512774.n5.nabble.com/Proxy-exclude-pattern-doesn-t-work-tp530175p2805989.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: BeanShell Assertion - Can a failed assertion force the next iteration of a loop
Hi Sebb, Thanks for your reaction. For which of the two issues do you want me to raise a Bugzilla report? issue1 = When 'Action to be taken after a Sampler' error is set to 'Stop thread' the sampler error not shown in Results tree Summary Report issue2 = When a sampler error occurs it is not possible to start a new iteration (thread) Kind Regards, Sander -- View this message in context: http://jmeter.512774.n5.nabble.com/BeanShell-Assertion-Can-a-failed-assertion-force-the-next-iteration-of-a-loop-tp533789p2637755.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: Recording of a script in jmeter
Hi gp, Isn't the cookie manager handling the jsessionid's? With Regular Expression you add a Regular Expression Extractor. For your example this could be: Refence Name: myJessionid Regular Expression: jsessionid=(.+?)\) NOTE: (.+?) will get all characters until it reaches the right boundery. The right boundery in this case is a special character and must be escaped, hence the \ Template: $1$ Match No.: 1 Default value: jsessionid not found If you use multiple RegEx (like '(.+?)') and you want the second expression, then change the Template to $2$ Hope this helps -- View this message in context: http://jmeter.512774.n5.nabble.com/Recording-of-a-script-in-jmeter-tp2259329p2471767.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: Recording of a script in jmeter
Did you use the Regular Expression Extractor with expression like below? (Double quote and questionmark are special characters) \fInbox\?x=(.+?)\ -- View this message in context: http://jmeter.512774.n5.nabble.com/Recording-of-a-script-in-jmeter-tp2259329p2471808.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: Response Code 403 on Post Methods
So if I'm correct your testplan looks like this? Test Plan HTTP Cookie Manager Thread Group HTTP Request for login HTTP Request for submitting the form -- View this message in context: http://jmeter.512774.n5.nabble.com/Response-Code-403-on-Post-Methods-tp2471855p2471880.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: BeanShell Assertion - Can a failed assertion force the next iteration of a loop
Hi, sorry for replying to an old message but i'm facing the same issues as the topicstarter. Is there still no other way to stop processing after HTTP1 Request, than to enclose the subsequent samplers in an If Controller? My JMeter-script (version 2.3.4) consists of 15 Transaction Controllers (with Generate parent sample switch on), each with multiple HTTP Requests. If one of the HTTP Requests fails the iteration should abort and the Transaction Controller should show a failed transaction in the summary report. The Thread Group looks like this: Number of Threads (users): 50 Ramp-up Period = 300 Loop Count = 10 The 'Action to be taken after a Sampler' error is set to Continue. If I set this to Stop thread at this point and one of the HTTP Requests fails then the transaction will not show up in the summary report as failed nor is the transaction shown in the Results Tree, which makes it difficult to see which HTTP Request is failing. After the Transaction Controller I added an If Controller that checks if the last sample was ok. If the last sample is not OK a Test Action with Stop Thread is called upon, but this causes the user to abort the script and not execute the other look counts. -- View this message in context: http://jmeter.512774.n5.nabble.com/BeanShell-Assertion-Can-a-failed-assertion-force-the-next-iteration-of-a-loop-tp533789p2428605.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