Re: about script recording
Thanks Noam Paz for the guidamce Shrinivas VeriSoftIndia On 2/6/06, Noam Paz <[EMAIL PROTECTED]> wrote: > > JMeter has a built-in Recorder Controller: > Here some useful documentation > > http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf > http://jakarta.apache.org/jmeter/usermanual/index.html > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Recording_Controller > > > Best regards / Viele Grüße > > Noam Paz > > > > > > shrinivas dole <[EMAIL PROTECTED]> > > 06.02.200611:28 > > > > > > > > > > > > To > > > jmeter-user@jakarta.apache.org > > > > > > > > > > > > > > cc > > > Please > respond to > > > "JMeter > Users List" > Subject > > > > > > about > script recording > > > > > > > > > > > Hello All, > I have newly joined this mailling list. Till now I am > recording script from Badboy 1.6 beta version.And then exporting to > Jmeter. > Is there any other tool available for recording script to > Jmeter other than Badboy. > bye. > > Shrinivas > VerisoftIndia > > > > > -- > > Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte > Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail > irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und > vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte > Weitergabe dieser Mail ist nicht gestattet. > > This e-mail may contain confidential and/or privileged information. If you > are not the intended recipient (or have received this e-mail in error) > please notify the sender immediately and destroy this e-mail. Any > unauthorized copying, disclosure or distribution of the material in this > e-mail is strictly forbidden. > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: about header & response
Thanks sebb for guidance Shrinivas VeriSoftIndia On 2/8/06, sebb <[EMAIL PROTECTED]> wrote: > > On 06/02/06, shrinivas dole <[EMAIL PROTECTED]> wrote: > > Hello, > > Jmeter 2.1.1 does not support the response given by html. I am > using > > IE 6.0 on windows 2000 O.S. > >I am using Badboy 1.6 Beta version to record script and then I > export > > to Jmeter. Though using the latest version of browser I got the > following > > message. > > > > > > We have detected that you are using a browser that may be incompatible > with > > DocStore 4.0. DocStore no longer supports 4.0x and older browsers. > > > >Here Docstore is the name of application. > > How can I overcome this problem. Also how to view header of > Jmeter. > >bye > > You probably need to set the user-agent. See the Header Manager: > > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Header_Manager > > The request and response details can be seen in the View Results Tree > Listener: > > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#View_Results_Tree > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
login test problem..
hi, I am trying to work on JMeter2.1.1 I am having problem to test a login page. I'm able to send a HTTP Request to the home page of the portal.Now i want to send the http request such that i can login to the portal by providing user name and password of the user along with the http request.Is it possible by using JMeter and if it is how can I go about it? Can I simulate many users and can i provide different usernames and passwords to each user? Hope to get a reply soon. thx - Brings words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
Re: BeanShell Functions and JMeter Variables
On Wednesday 08 February 2006 17:48, Mamading Ceesay wrote: > > > Try: > > > > ${__BeanShell(return > > java.net.URLEncoder.encode(vars.get("${viewstate}")\,"UTF-8"); )} > > Got the following error: > > 2006/02/08 17:41:01 ERROR - jmeter.util.BeanShellInterpreter: Error > invoking bsh method eval > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at etc. After making some corrections to my Regular Expressions Extractor configuration and lots of trial and error, I'm now getting the following error which is a great improvement over that previously reported: 2006/02/09 00:02:08 INFO - jmeter.functions.BeanShell: dDwyMDA3NTA3OTY5O3Q8cDxsPHJhbmRvbTs+O2w8bDxpPDE+O2k8ND47aTwzPjs+Oz4+O2w8aTwwPjs+O2w8dDw7bDxpPDE3Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDwxc3QsIDR0aCwgM3JkIFBJVyB2YWx1ZXM7Pj47Pjs7Pjs+Pjs+Pjs+GX+265peKzASOkHlZgj1g5PxAYM= 2006/02/09 00:02:08 INFO - jmeter.functions.BeanShell: dDwyMDA3NTA3OTY5O3Q8cDxsPHJhbmRvbTs%2BO2w8bDxpPDE%2BO2k8ND47aTwzPjs%2BOz4%2BO2w8aTwwPjs%2BO2w8dDw7bDxpPDE3Pjs%2BO2w8dDxwPHA8bDxUZXh0Oz47bDwxc3QsIDR0aCwgM3JkIFBJVyB2YWx1ZXM7Pj47Pjs7Pjs%2BPjs%2BPjs%2BGX%2B265peKzASOkHlZgj1g5PxAYM%3D 2006/02/09 00:02:08 ERROR - jmeter.protocol.http.sampler.HTTPSampler: java.io.IOException: Server returned HTTP response code: 500 for URL: http://192.168.254.215/Login/Login.aspx 2006/02/09 00:02:08 ERROR - jmeter.protocol.http.sampler.HTTPSampler: Invalid character in a Base-64 string. body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } Server Error in '/' Application. ... My BeanShell function currently looks as follows (some debug code in there): ${__BeanShell( vstate = "${viewstate}"; log.info( vstate); newVstate = java.net.URLEncoder.encode(vstate\, "UTF-8"); log.info(newVstate); return newVstate; )} It seems that I'm almost there, but I'm missing one last thing, think I might ditch the encode() for a simple String.replaceAll() of "+" with "%2B". If that doesn't do it, I'll head for the hills! -- Qmediastream http://qmediastream.com design, commerce, hosting, streaming, multimedia - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: BeanShell Functions and JMeter Variables
On Wednesday 08 February 2006 17:19, sebb wrote: > > You need to quote commas in function calls - commas are used to > delimit function parameters. > > See Section 9.3 in: > > http://jakarta.apache.org/jmeter/usermanual/functions.html > Managed to miss that, a matching example in Section 19.5.13 would have helped. > Try: > > ${__BeanShell(return > java.net.URLEncoder.encode(vars.get("${viewstate}")\,"UTF-8"); )} > Got the following error: 2006/02/08 17:41:01 ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method eval java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.jmeter.util.BeanShellInterpreter.bshInvoke(BeanShellInterpreter.java:136) at org.apache.jmeter.util.BeanShellInterpreter.eval(BeanShellInterpreter.java:172) at org.apache.jmeter.functions.BeanShell.execute(BeanShell.java:114) 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:140) 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(HTTPSampler.java:422) 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) Caused by: Sourced file: inline evaluation of: ``return java.net.URLEncoder.encode(vars.get(""),"UTF-8"); ;'' : Method Invocation java.net.URLEncoder.encode : at Line: 1 : in file: inline evaluation of: ``return java.net.URLEncoder.encode(vars.get(""),"UTF-8"); ;'' : java .net .URLEncoder .encode ( vars .get ( "" ) , "UTF-8" ) Target exception: java.lang.NullPointerException at bsh.BSHMethodInvocation.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHPrimaryExpression.eval(Unknown Source) at bsh.BSHReturnStatement.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) ... 20 more 2006/02/08 17:41:01 WARN - jmeter.functions.BeanShell: Error running BSH script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval at org.apache.jmeter.util.BeanShellInterpreter.bshInvoke(BeanShellInterpreter.java:147) at org.apache.jmeter.util.BeanShellInterpreter.eval(BeanShellInterpreter.java:172) at org.apache.jmeter.functions.BeanShell.execute(BeanShell.java:114) 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:140) 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(HTTPSampler.java:422) 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) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.
Connection to two databases in same test plan: possible?
I think this is not possible with the JDBC Request, but based on this email discussion I thought I'd ask http://marc.theaimsgroup.com/?l=jmeter-user&m=106285267110499&w=2 ... If you specified two connections with the same URL but different user/password, it would still use only one pool, and only one username/password. This problem should be fixed in the latest code in CVS, but has not been fixed in the 1.9 branch. ... I tried to specify two different JDBC connection configuration, each of them with a different pool variable name, and then some JDBC request that reference one of the pools. What happens (which I think is by design, but all suggestions are welcome) is that the first pool is instantiated, the second one is not, and its corresponding request fail with this 2006/02/08 18:21:49 ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler: Error in JDBC sampling java.sql.SQLException: No pool created at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:76) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Thread.java:595) thanks -- Ivan Rancati SharpMind QA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: BeanShell Functions and JMeter Variables
On 08/02/06, Mamading Ceesay <[EMAIL PROTECTED]> wrote: > Hi, > > Following up from my thread yesterday, I'm trying to use a BeanShell function > in a Http Request Sampler that POSTs a form. This function transforms the > contents of a variable called viewstate containing a string grabbed from the > form in a RegEx Extractor attached to the Http Request Sampler that did a GET > of the form. > > I've tried two versions of the function without success. A succint version > and a more verbose one. My Java is more than a little rusty, so I probably > made a newbie error somewhere. Here are the functions: > > 1st function was derived from print(java.net.URLEncoder.encode(viewstate, > "UTF-8")); > > ${__BeanShell(return java.net.URLEncoder.encode(vars.get("${viewstate}"), > "UTF-8"); )} You need to quote commas in function calls - commas are used to delimit function parameters. See Section 9.3 in: http://jakarta.apache.org/jmeter/usermanual/functions.html Try: ${__BeanShell(return java.net.URLEncoder.encode(vars.get("${viewstate}")\,"UTF-8"); )} S. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
BeanShell Functions and JMeter Variables
Hi, Following up from my thread yesterday, I'm trying to use a BeanShell function in a Http Request Sampler that POSTs a form. This function transforms the contents of a variable called viewstate containing a string grabbed from the form in a RegEx Extractor attached to the Http Request Sampler that did a GET of the form. I've tried two versions of the function without success. A succint version and a more verbose one. My Java is more than a little rusty, so I probably made a newbie error somewhere. Here are the functions: 1st function was derived from print(java.net.URLEncoder.encode(viewstate, "UTF-8")); ${__BeanShell(return java.net.URLEncoder.encode(vars.get("${viewstate}"), "UTF-8"); )} 2006/02/08 17:10:33 ERROR - jmeter.util.BeanShellInterpreter: Error invoking bsh method eval java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.jmeter.util.BeanShellInterpreter.bshInvoke(BeanShellInterpreter.java:136) at org.apache.jmeter.util.BeanShellInterpreter.eval(BeanShellInterpreter.java:172) at org.apache.jmeter.functions.BeanShell.execute(BeanShell.java:114) 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:140) 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(HTTPSampler.java:422) 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) Caused by: Parse error at line 1, column 34. Encountered: ( at bsh.Parser.generateParseException(Unknown Source) at bsh.Parser.jj_consume_token(Unknown Source) at bsh.Parser.ReturnStatement(Unknown Source) at bsh.Parser.Statement(Unknown Source) at bsh.Parser.BlockStatement(Unknown Source) at bsh.Parser.Line(Unknown Source) at bsh.Interpreter.Line(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) at bsh.Interpreter.eval(Unknown Source) ... 20 more 2006/02/08 17:10:33 WARN - jmeter.functions.BeanShell: Error running BSH script org.apache.jorphan.util.JMeterException: Error invoking bsh method eval at org.apache.jmeter.util.BeanShellInterpreter.bshInvoke(BeanShellInterpreter.java:147) at org.apache.jmeter.util.BeanShellInterpreter.eval(BeanShellInterpreter.java:172) at org.apache.jmeter.functions.BeanShell.execute(BeanShell.java:114) 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:140) 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(HTTPSampler.java:422) 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) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAcce
Re: JMeter sends the same request twice ?
See inline thanks, Ivan Subject: Re: JMeter sends the same request twice ? From: sebb <[EMAIL PROTECTED]> Date: Wed, 8 Feb 2006 00:09:31 + To: JMeter Users List To: JMeter Users List Referring back to the tcpdump log - are there any other instances of duplicated counter and timestamps? In general, how many duplicated requests I have depends on how long I run the tests for. For this particular tcpdump log, I stopped as soon as I saw the first failure Is it always the same sampler that fails? No, the failure is random, although it seems to happen more often when the application server (Tomcat) is under load and takes more time to process the requests. Have you a simpler test-case that shows the problem? Not right now, but I could try to produce one during the weekend. S. On 07/02/06, Ivan Rancati <[EMAIL PROTECTED]> wrote: > I have several test plans, which test different commands for the same > servlet (Tomcat) > > The structure is like this for all of them, though > > Test plan > Thread group >HTTP defaults >Cookie manager >User defined variables >User parameters >Http request (this sends authentication parameters and sets a > cookie) > Response assertions >Random Order controller > Http request (no auth parameters sent) > Response Assertions > Http request > . >Aggregate report >View result tree (Log errors only) > > > I can send you one or more test plans as an attachment or the tcpdumps, > if needed. > > thanks and best regards > Ivan > > > > >> Subject: >> Re: JMeter sends the same request twice ? >> From: >> sebb <[EMAIL PROTECTED]> >> Date: >> Mon, 6 Feb 2006 18:21:36 + >> To: >> JMeter Users List >> >> To: >> JMeter Users List >> >> >> Sounds rather odd. >> >> What does your testplan look like? >> >> S. -- Ivan Rancati SharpMind QA - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Too many TCP connections?
There's a good chance that it's related to the number of threads, not TCP connections. TCP connections typically utilize a "port" on your machine. Setting up a TCP connection probably doesn't use as many resources as setting up the "thread" that is going to use that port. There's also the possibility that XP's firewall is not allowing you to use certain "port" numbers, but it doesn't sound that way, since you indicate that it is "consistently" happening at the same point. My guess, not knowing your machine specs, is that your machine simply runs out of resources to create more threads...I had read an article two days ago on JMeter having a similar issue at 25 threads...could have sworn it was on the Server Side website, but I can't find it now. In the article, the author wanted to run a test with 100 threads, but it broke down at around 25 threads... hth, Adym Lincoln I/S Corporate - I/S Internal Applications 603-245-8245 Ext : 58245 [EMAIL PROTECTED] ... It's a bug planet...it's an ugly planet...ever feel like your software project is going in the wrong direction. ... -Original Message- From: Fred [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 6:23 AM To: List, JMeter Users Subject: Too many TCP connections? I was running a test off a Windows XP platform, and it consistently breaks in the midst of thread.. with the following error.. I suspect it's too many TCP connections opened, is there a limit that I can open concurrently? Any advice is very much appreciated. Regards, Fred 2006/02/08 10:16:43 INFO - jmeter.threads.JMeterThread: Thread 30 Thread 3-24 started 2006/02/08 10:16:43 ERROR - jmeter.protocol.http.sampler.HTTPSampler: Can't connect java.net.BindException: Address already in use: 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.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j ava: 424) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl erBa se.java:514) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl erBa se.java:503) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Too many TCP connections?
I was running a test off a Windows XP platform, and it consistently breaks in the midst of thread.. with the following error.. I suspect it's too many TCP connections opened, is there a limit that I can open concurrently? Any advice is very much appreciated. Regards, Fred 2006/02/08 10:16:43 INFO - jmeter.threads.JMeterThread: Thread 30 Thread 3-24 started 2006/02/08 10:16:43 ERROR - jmeter.protocol.http.sampler.HTTPSampler: Can't connect java.net.BindException: Address already in use: 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.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java: 424) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa se.java:514) at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBa se.java:503) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247) at java.lang.Thread.run(Unknown Source)
writing to a file
Hi, Is it possible to write any string to any file in JMeter and how? Kind regards, Benny Rogiers