Re: Test while navigating from one page to another page
please create a script where in you send the requests you want.. read a jmeter tutorial..use some experienced person's direct help.. I hope i made it in time.. Thanks Himanshu On Fri, Oct 3, 2008 at 10:23 AM, Ganesh Mamidi <[EMAIL PROTECTED]> wrote: > > Hi, > > This is Ganesh Mamidi, > > > I have to test the performance while navigating from one page to > another page. > > Example: > > I have OrderSearchPage.jsp,here i give orderid as the input and > click search,if orderid is correct then it hase to be navigated to > OrderSummarypage.jsp. > > Please give reply as fast as possible,its urgent. > > Thanks & Regards > > Ganesh Mamidi > -- > View this message in context: > http://www.nabble.com/Test-while-navigating-from-one-page-to-another-page-tp19802252p19802252.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: How do i record Multiple HTTP Request on single thread.
Hi Sujit, any of your action that talks to the server should be a separate request.. I do not understand how you are able to send multiple actions in single request.. does your application have some client side processing?.. send in structure of your plan.. Himanshu On Sat, Oct 4, 2008 at 12:30 PM, sujitkrnayak2006 < [EMAIL PROTECTED]> wrote: > > I have recorded all browser action on single HTTP Requst with one thread > and > playback it looks good. > > How do i add multiple request on single thread for different browser > action, > for example 1st request should record my login page request and 2nd request > should record my further page after the login succesful. > > I tried but all my action has been recorded on single request, can you > suggest me how i do add 2 different action on 2 different HTTP Request. > > -Sujit > -- > View this message in context: > http://www.nabble.com/How-do-i-record-Multiple-HTTP-Request-on-single-thread.-tp19816124p19816124.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: Which Regular Expression I need?
try \[[^\[]+\[("[^"]+",){3} what it does is starts with a [ runs on until it finds [ then starts grouping the characters inside ""..you might need to modify a bit.. Himanshu 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> > I need to extract the value '8710' from the Message Response described > below to send it in the POST action; I use the Regular expression extractor, > but I don't know which Regular Expression I need to get it. > > > > Message Response: > > //OK[0,-23,0,-23,0,23,2,-23,0,22,2,15,2,21,2,20,2,19,2,-23,0, > -23,-23,18,2,0,17,2,0,16,2,0,16,2,15,2,15,2,0,0,0,14,2,14,2, > 13,2,14,2,14,2,13,2,0,12,2,0,11,2,10,2,0,9,2,0,8,2,0,7,2,0,0, > 6,2,0,5,2,0,4,2,3,2,54,1,["[Ljava.lang.String;/2364883620", > "java.lang.String/2004016611","8710","1","20","30","OVERSEAS", > "India\x20y\x20Sudeste\x20Asiático","EMIRATOS\x20ARABES\x20UNIDOS", > "YASER\x20KHAN","3","USL","0.0","100.0","10/01/2008","5170", > "58","","N","Nuevo\x20Gasto\x20(Estado\x20Inicial)","pepe","00071","COSTOOO"],0,3] > > > > Any idea? > > > > Regards, > > > > Jose > > > > > > > > # > Este documento puede incluir información confidencial y propiedad de Neoris > y deberá ser leído solamente por la > o las personas a quienes está dirigido. Si usted ha recibido este mensaje > por error, por favor avise > inmediatamente al remitente contestando y eliminando este correo. Cualquier > punto de vista u opiniones expresadas > en este mensaje son del remitente y no necesariamente coinciden con > aquellas de Neoris. Este documento no deberá > ser reproducido, copiado, distribuido, publicado, ni modificado por > terceros sin la autorización por escrito de Neoris. > > Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. > > # >
Re: Which Regular Expression I need?
I am trying it :)...wait 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> > Thanks for answer :). > > > I tried adding that Regular Expression, but I don't have any result... > > > The variable is empty.. > > I don't know which expression I need > > > > -Original Message- > From: Himanshu Ghai [mailto:[EMAIL PROTECTED] > Sent: Lunes, 06 de Octubre de 2008 03:51 p.m. > To: JMeter Users List > Subject: Re: Which Regular Expression I need? > > try \[[^\[]+\[("[^"]+",){3} > > what it does is starts with a [ runs on until it finds [ then starts > grouping the characters inside ""..you might need to modify a bit.. > > Himanshu > > 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> > > > I need to extract the value '8710' from the Message Response described > > below to send it in the POST action; I use the Regular expression > extractor, > > but I don't know which Regular Expression I need to get it. > > > > > > > > Message Response: > > > > //OK[0,-23,0,-23,0,23,2,-23,0,22,2,15,2,21,2,20,2,19,2,-23,0, > > -23,-23,18,2,0,17,2,0,16,2,0,16,2,15,2,15,2,0,0,0,14,2,14,2, > > 13,2,14,2,14,2,13,2,0,12,2,0,11,2,10,2,0,9,2,0,8,2,0,7,2,0,0, > > 6,2,0,5,2,0,4,2,3,2,54,1,["[Ljava.lang.String;/2364883620", > > "java.lang.String/2004016611","8710","1","20","30","OVERSEAS", > > "India\x20y\x20Sudeste\x20Asiático","EMIRATOS\x20ARABES\x20UNIDOS", > > "YASER\x20KHAN","3","USL","0.0","100.0","10/01/2008","5170", > > > "58","","N","Nuevo\x20Gasto\x20(Estado\x20Inicial)","pepe","00071","COSTOOO"],0,3] > > > > > > > > Any idea? > > > > > > > > Regards, > > > > > > > > Jose > > > > > > > > > > > > > > > > > # > > Este documento puede incluir información confidencial y propiedad de > Neoris > > y deberá ser leído solamente por la > > o las personas a quienes está dirigido. Si usted ha recibido este mensaje > > por error, por favor avise > > inmediatamente al remitente contestando y eliminando este correo. > Cualquier > > punto de vista u opiniones expresadas > > en este mensaje son del remitente y no necesariamente coinciden con > > aquellas de Neoris. Este documento no deberá > > ser reproducido, copiado, distribuido, publicado, ni modificado por > > terceros sin la autorización por escrito de Neoris. > > > > Este mensaje ha sido verificado contra virus. Visítenos en > www.neoris.com. > > > > > # > > > > # > Este documento puede incluir información confidencial y propiedad de Neoris > y deberá ser leído solamente por la > o las personas a quienes está dirigido. Si usted ha recibido este mensaje > por error, por favor avise > inmediatamente al remitente contestando y eliminando este correo. Cualquier > punto de vista u opiniones expresadas > en este mensaje son del remitente y no necesariamente coinciden con > aquellas de Neoris. Este documento no deberá > ser reproducido, copiado, distribuido, publicado, ni modificado por > terceros sin la autorización por escrito de Neoris. > > Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com. > > # > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
Re: Which Regular Expression I need?
i put your text on apache root on my machine and tried it...this seems to work for me earlier one didnt work since it has a space after a.lang.String;/2364883620" this isnt as intelligent as i thought but works for me \[[^\[]+\["[^"]+", "[^\"]+","([^"]+)" do you expect position of 8710 to change? Thanks Himanshu 2008/10/6 Himanshu Ghai <[EMAIL PROTECTED]> > I am trying it :)...wait > > > 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> > >> Thanks for answer :). >> >> >> I tried adding that Regular Expression, but I don't have any result... >> >> >> The variable is empty.. >> >> I don't know which expression I need >> >> >> >> -Original Message- >> From: Himanshu Ghai [mailto:[EMAIL PROTECTED] >> Sent: Lunes, 06 de Octubre de 2008 03:51 p.m. >> To: JMeter Users List >> Subject: Re: Which Regular Expression I need? >> >> try \[[^\[]+\[("[^"]+",){3} >> >> what it does is starts with a [ runs on until it finds [ then starts >> grouping the characters inside ""..you might need to modify a bit.. >> >> Himanshu >> >> 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> >> >> > I need to extract the value '8710' from the Message Response described >> > below to send it in the POST action; I use the Regular expression >> extractor, >> > but I don't know which Regular Expression I need to get it. >> > >> > >> > >> > Message Response: >> > >> > //OK[0,-23,0,-23,0,23,2,-23,0,22,2,15,2,21,2,20,2,19,2,-23,0, >> > -23,-23,18,2,0,17,2,0,16,2,0,16,2,15,2,15,2,0,0,0,14,2,14,2, >> > 13,2,14,2,14,2,13,2,0,12,2,0,11,2,10,2,0,9,2,0,8,2,0,7,2,0,0, >> > 6,2,0,5,2,0,4,2,3,2,54,1,["[Ljava.lang.String;/2364883620", >> > "java.lang.String/2004016611","8710","1","20","30","OVERSEAS", >> > "India\x20y\x20Sudeste\x20Asiático","EMIRATOS\x20ARABES\x20UNIDOS", >> > "YASER\x20KHAN","3","USL","0.0","100.0","10/01/2008","5170", >> > >> "58","","N","Nuevo\x20Gasto\x20(Estado\x20Inicial)","pepe","00071","COSTOOO"],0,3] >> > >> > >> > >> > Any idea? >> > >> > >> > >> > Regards, >> > >> > >> > >> > Jose >> > >> > >> > >> > >> > >> > >> > >> > >> # >> > Este documento puede incluir información confidencial y propiedad de >> Neoris >> > y deberá ser leído solamente por la >> > o las personas a quienes está dirigido. Si usted ha recibido este >> mensaje >> > por error, por favor avise >> > inmediatamente al remitente contestando y eliminando este correo. >> Cualquier >> > punto de vista u opiniones expresadas >> > en este mensaje son del remitente y no necesariamente coinciden con >> > aquellas de Neoris. Este documento no deberá >> > ser reproducido, copiado, distribuido, publicado, ni modificado por >> > terceros sin la autorización por escrito de Neoris. >> > >> > Este mensaje ha sido verificado contra virus. Visítenos en >> www.neoris.com. >> > >> > >> # >> > >> >> # >> Este documento puede incluir información confidencial y propiedad de >> Neoris y deberá ser leído solamente por la >> o las personas a quienes está dirigido. Si usted ha recibido este mensaje >> por error, por favor avise >> inmediatamente al remitente contestando y eliminando este correo. >> Cualquier punto de vista u opiniones expresadas >> en este mensaje son del remitente y no necesariamente coinciden con >> aquellas de Neoris. Este documento no deberá >> ser reproducido, copiado, distribuido, publicado, ni modificado por >> terceros sin la autorización por escrito de Neoris. >> >> Este mensaje ha sido verificado contra virus. Visítenos en www.neoris.com >> . >> >> # >> >> - >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >
Re: Which Regular Expression I need?
Hey Jose I do not know how your regex works but i got the value with this [*?\"]([0-9][0-9][0-9][0-9])" or may be you can try [*?\"]([0-9]+)" we need to make sure other text on the page does not match the regex...let us know how it goes Himanshu 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> > Yeah; I need the value in that position...in the example is 8710; but the > number change each time Jmeter run > > I created this regular expression: > > [*?\"][0-9][0-9][0-9][0-9]" > > I tested it on http://regexlib.com/RETester.aspx and the result is that I > need; but Jmeter set empty (null) the reference nameI don't Know which > is the problem > > I tried with the expression that you sent me and the value set is " "... > > I will try with other...but I don't know If I'm loosing something... > > Thanks!! > > > > -Original Message- > From: Himanshu Ghai [mailto:[EMAIL PROTECTED] > Sent: Lunes, 06 de Octubre de 2008 04:35 p.m. > To: JMeter Users List > Subject: Re: Which Regular Expression I need? > > i put your text on apache root on my machine and tried it...this seems to > work for me > earlier one didnt work since it has a space after > a.lang.String;/2364883620" > > this isnt as intelligent as i thought but works for me > > \[[^\[]+\["[^"]+", "[^\"]+","([^"]+)" > > do you expect position of 8710 to change? > > Thanks > Himanshu > > > 2008/10/6 Himanshu Ghai <[EMAIL PROTECTED]> > > > I am trying it :)...wait > > > > > > 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> > > > >> Thanks for answer :). > >> > >> > >> I tried adding that Regular Expression, but I don't have any result... > >> > >> > >> The variable is empty.. > >> > >> I don't know which expression I need > >> > >> > >> > >> -Original Message- > >> From: Himanshu Ghai [mailto:[EMAIL PROTECTED] > >> Sent: Lunes, 06 de Octubre de 2008 03:51 p.m. > >> To: JMeter Users List > >> Subject: Re: Which Regular Expression I need? > >> > >> try \[[^\[]+\[("[^"]+",){3} > >> > >> what it does is starts with a [ runs on until it finds [ then starts > >> grouping the characters inside ""..you might need to modify a bit.. > >> > >> Himanshu > >> > >> 2008/10/6 Jose Pablo Sarco <[EMAIL PROTECTED]> > >> > >> > I need to extract the value '8710' from the Message Response described > >> > below to send it in the POST action; I use the Regular expression > >> extractor, > >> > but I don't know which Regular Expression I need to get it. > >> > > >> > > >> > > >> > Message Response: > >> > > >> > //OK[0,-23,0,-23,0,23,2,-23,0,22,2,15,2,21,2,20,2,19,2,-23,0, > >> > -23,-23,18,2,0,17,2,0,16,2,0,16,2,15,2,15,2,0,0,0,14,2,14,2, > >> > 13,2,14,2,14,2,13,2,0,12,2,0,11,2,10,2,0,9,2,0,8,2,0,7,2,0,0, > >> > 6,2,0,5,2,0,4,2,3,2,54,1,["[Ljava.lang.String;/2364883620", > >> > "java.lang.String/2004016611","8710","1","20","30","OVERSEAS", > >> > "India\x20y\x20Sudeste\x20Asiático","EMIRATOS\x20ARABES\x20UNIDOS", > >> > "YASER\x20KHAN","3","USL","0.0","100.0","10/01/2008","5170", > >> > > >> > "58","","N","Nuevo\x20Gasto\x20(Estado\x20Inicial)","pepe","00071","COSTOOO"],0,3] > >> > > >> > > >> > > >> > Any idea? > >> > > >> > > >> > > >> > Regards, > >> > > >> > > >> > > >> > Jose > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > # > >> > Este documento puede incluir información confidencial y propiedad de > >> Neoris > >> > y deberá ser leído solamente por la > >> > o las personas a quienes está dirigido. Si usted ha recibido este > >> mensaje > >> > por error, por favor avise > >> > inmediat
Re: How do i record Multiple HTTP Request on single thread.
Sujit, i am sorry but i am unable to understand the problem description..please find someone around who has experience with jmeter.. Himanshu On Mon, Oct 6, 2008 at 12:32 PM, sujitkrnayak2006 < [EMAIL PROTECTED]> wrote: > > I want to add multiple request in my thread for multiple action, earlier > whatever i did record its added into Thread Group directly instead of HTTP > Request. > > (Note--I have record my action through HTTP Proxy server) > please suggest me what to do next. > > Thanks in advance. > > > sujitkrnayak2006 wrote: > > > > I have recorded all browser action on single HTTP Requst with one thread > > and playback it looks good. > > > > How do i add multiple request on single thread for different browser > > action, for example 1st request should record my login page request and > > 2nd request should record my further page after the login succesful. > > > > I tried but all my action has been recorded on single request, can you > > suggest me how i do add 2 different action on 2 different HTTP Request. > > > > -Sujit > > > > -- > View this message in context: > http://www.nabble.com/How-do-i-record-Multiple-HTTP-Request-on-single-thread.-tp19816124p19844735.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: Regular Expression Extract
try \?([^`]+)$ i tried it on the page sebb referred http://jakarta.apache.org/oro/demo.html the second thing you mentioned appears to be some javascript stuff..since jmeter does not work at gui please check it on firebug the request that are sent to the server.. Himanshu On Fri, Oct 10, 2008 at 3:27 AM, rashi.gadia <[EMAIL PROTECTED]>wrote: > > Hi there, > > I am newbie to Jmeter, with limited knowledge for HTML and JAVA. > > I want to have two HTTP requests in a single Test plan. After the first > HTTP > request, I get something like this http:///s2f?A1234. I want to > retrieve > the value after ? i.e. 'A1234'. I know that need to use 'regular expression > extract', but clueless what to enter in that. > > Also, after sending the second HTTP request, I need to 'javascript: > document.stf.submit()' do this. How can this be done. > > Thanks for your help in advance > > > Cheers > > Rashi > -- > View this message in context: > http://www.nabble.com/Regular-Expression-Extract-tp19915751p19915751.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: Error when running JMeter
Jagan try to correlate the requests to what your browser sends.. things you might need to check are the parameters/cookies/ correct http method.. are you sure for checkout http method is get and does not have any parameters? Jsessionid is picked up by cookie manager correctly it seems.. Himanshu On Tue, Oct 14, 2008 at 4:42 PM, jkhanal <[EMAIL PROTECTED]> wrote: > > Hi Sebb, > > Thank you for your response > > I ran two times and Cookie Data: was different. Looks like I need to create > regular expression for inertia-bid and JSESSIONID that are different in two > different runs [I have pasted the results below]. But, I am not sure how to > create Regular Expression as I am new in RegEx. It would be great if you > could give some idea on that. > > Thanks a lot, > Jagan > > Result of First Run: > > GET http://www.sonomavich.com:9080/pages/checkout > > Cookie Data: > inertia-bid=ec293cd3c6f1436b84fe74554e88f601; > JSESSIONID=BA7E255703C3FCAED9436B7D7BF68BBF > > Request Headers: > Accept-Language: en-us > Host: www.sonomavich.com:9080 > User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR > 2.0.50727; MS-RTC LM 8; KTXN B0A0T0U0) > Connection: keep-alive > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, application/vnd.ms-excel, > application/vnd.ms-powerpoint, application/msword, */* > UA-CPU: x86 > > Result of 2nd Run: > > GET http://www.sonomavich.com:9080/pages/checkout > > Cookie Data: > inertia-bid=77e1adb1a24041e594c6dae275122ff7; > JSESSIONID=3079C4EA8BBEF5B0F1820F3272C4E258 > > Request Headers: > Accept-Language: en-us > Host: www.sonomavich.com:9080 > User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR > 2.0.50727; MS-RTC LM 8; KTXN B0A0T0U0) > Connection: keep-alive > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, application/vnd.ms-excel, > application/vnd.ms-powerpoint, application/msword, */* > UA-CPU: x86 > > > > > > sebb-2-2 wrote: > > > > On 13/10/2008, jkhanal <[EMAIL PROTECTED]> wrote: > >> > >> Additional Information in Error which is as follows: > >> > >> Sample Start: 2008-10-13 13:55:03 PDT > >> Load time: 32 > >> Latency: 32 > >> Size in bytes: 1407 > >> Sample Count: 1 > >> Error Count: 1 > >> Response code: 500 > >> Response message: Internal Server Error > >> > >> Response headers: > >> HTTP/1.1 500 Internal Server Error > >> Server: Apache-Coyote/1.1 > >> Pragma: no-cache > >> Cache-Control: no-cache, max-age=0, must-revalidate > >> Content-Type: text/html;charset=UTF-8 > >> Content-Language: en-US > >> Content-Length: 1407 > >> Date: Mon, 13 Oct 2008 20:55:01 GMT > >> Connection: close > >> > > > > That error is generated by the webserver. This is a bug, probably in > > the web application rather than the server itself. > > > > You'll need to find what is triggering the bug, e.g. by comparing what > > the browser sent when you recorded the test with what JMeter is now > > sending. > > > > Maybe there is some extra information that needs to be sent, or more > > likely the recording captured some variable information which needs to > > be changed for each run - e.g. a hidden field on a form. You'll need > > to find where the browser is picking up this information and use the > > Regex Extractor to save it in a variable for the appropriate sample. > > > > > >> > >> jkhanal wrote: > >> > > >> > Hi, > >> > > >> > I used Proxy Server to record the Use Case. Also, I have used Cookie > >> > Manager. My flow of use case is order an Item online. When running > the > >> > JMeter, I am getting error in "Checkout". Everything else is fine. > >> Error > >> > response code is 500 when checked in Log. Can you suggest me what > >> might > >> > have went wrong? > >> > > >> > I would really appreciate your suggestions. > >> > > >> > Thank you, > >> > Jagan > >> > > >> > >> -- > >> > >> View this message in context: > >> > http://www.nabble.com/Error-when-running-JMeter-tp19958807p19962820.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/Error-when-running-JMeter-tp19958807p19984258.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: Error when running JMeter
hi Jagan, I haven't recorded any application on jmeter..:-(...it could well be that problem isn't in the request where we are looking.may be before that.. on mozilla install a addon called tamper data(there are other options as well).. open the requests from browser without setting it with jmeter proxy and watch them in tamper...copy them over on a text editor..you can do that by copying all or specific requests... in another document copy the requests & responses with the headers from jmeter's view results tree..start comparing the requests from jmeter and browser.. check the post parameters from the requests as well...see the differences and check if you see anything that could be causing this.. if you can attach them here...someone can have a look at them as well.. Himanshu On Wed, Oct 15, 2008 at 1:27 PM, jkhanal <[EMAIL PROTECTED]> wrote: > > Hi Sebb and Himanshu, > > Thank you for your advice. I tried to figure out but could not get what > went > wrong. I recorded listener as well while recording and also i have listener > that I got after execution. I have pasted that below for your review. > Thanks > a lot for your cooperation. > > Request while recording (WorkBench) > > GET http://www.sonomavich.com:9080/pages/checkout > > [no cookies] > > Request Headers: > Accept-Language: en-us > Host: www.sonomavich.com:9080 > User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR > 2.0.50727; MS-RTC LM 8; KTXN B0A0T0U0) > Connection: keep-alive > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, application/vnd.ms-excel, > application/vnd.ms-powerpoint, application/msword, */* > UA-CPU: x86 > > --- > > Sample Result while recording (WorkBench) > > Thread Name: > Sample Start: 2008-10-15 13:15:04 PDT > Load time: 125 > Latency: 125 > Size in bytes: 8573 > Sample Count: 1 > Error Count: 0 > Response code: 200 > Response message: OK > > Response headers: > HTTP/1.1 200 OK > Server: Apache-Coyote/1.1 > Pragma: no-cache > Cache-Control: no-cache, max-age=0, must-revalidate > Content-Type: text/html;charset=UTF-8 > Content-Language: en-US > Transfer-Encoding: chunked > Date: Wed, 15 Oct 2008 20:15:06 GMT > > > ** > Request After Exeicution (Test Plan) > > > GET http://www.sonomavich.com:9080/pages/checkout > > Cookie Data: > inertia-bid=e2f33580a20a411fadbf06592641f5bc > > Request Headers: > Accept-Language: en-us > Host: www.sonomavich.com:9080 > User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR > 2.0.50727; MS-RTC LM 8; KTXN B0A0T0U0) > Connection: keep-alive > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, application/vnd.ms-excel, > application/vnd.ms-powerpoint, application/msword, */* > UA-CPU: x86 > > - > > Sample Result after Execution (Test Plan) > > Thread Name: Thread Group 1-1 > Sample Start: 2008-10-15 13:17:06 PDT > Load time: 16 > Latency: 16 > Size in bytes: 1407 > Sample Count: 1 > Error Count: 1 > Response code: 500 > Response message: Internal Server Error > > Response headers: > HTTP/1.1 500 Internal Server Error > Server: Apache-Coyote/1.1 > Pragma: no-cache > Cache-Control: no-cache, max-age=0, must-revalidate > Content-Type: text/html;charset=UTF-8 > Content-Language: en-US > Content-Length: 1407 > Date: Wed, 15 Oct 2008 20:17:08 GMT > Connection: close > > > > > > > > > sebb-2-2 wrote: > > > > I agree - it looks like cookies are being handled OK. The values don't > > matter, just check that the browser and JMeter are sending the same > > cookie names. You can check JMeter cookies in the Tree View Listener. > > > > You should only need to use a regex extractor if there are hidden form > > values that the server expects back. > > > > Again, compare browser with JMeter to see that the same names are being > > used. > > > > On 15/10/2008, Himanshu Ghai <[EMAIL PROTECTED]> wrote: > >> Jagan try to correlate the requests to what your browser sends.. > >> things you might need to check are the parameters/cookies/ correct > >> http method.. > >> > >> are you sure for checkout http method is get and does not have any > >> parameters? Jsessionid is picked up by cookie manager correctly it > >> seems.. > >> > >> > >> Himanshu > >> > >> > >> > >> > >> On Tue, Oct 14, 2008 at 4:42 PM, jkhanal <[EMAIL
Re: Jmeter web performance testing
Hi Sridhar, how about putting 100 users in a thread group..login sequence in a once only controller(with clear cookies each iteration in cookie manager unchecked)...then every other scenario you mentioned in throughput controllers(25% each)..does that sound right? Himanshu On Wed, Dec 3, 2008 at 9:25 AM, Sridhar <[EMAIL PROTECTED]> wrote: > Hi, > > > I am new to JMeter doing web testing for performance. Can anyone please > suggest me how to record one scenario below. I want aggregate report > > > > 100 Users Login at same time in to web application > > > > 25 users composing a email > > 25 users just login & logout with out performing any task. > > 25 users deleting couple of emails > > 25 users opening email. > > > Everything happening at same time. > > > > Thanks in advance its very urgent for me > > > > Thanks, > > > > Sridhar. >
Re: Unable to Correlation in Siebel Web-http.
looks like its the current timestamp in unix..I did a date -d @ on the time stamp and it showed some time on dec.. run this command on bash shell date -d @1228552812 just removed last 3 digits...think its current time..epoch is gmt... try getting the unix timestamp in bean shell and use it..I do not think it'd need an exact value to millisec Himanshu On Sat, Dec 6, 2008 at 4:56 AM, NitishShetty <[EMAIL PROTECTED]>wrote: > > Thanks sebb for all ur help and instant reply. > -- > View this message in context: > http://www.nabble.com/Unable-to-Correlation-in-Siebel-Web-http.-tp20850591p20869840.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: Unable to Correlation in Siebel Web-http.
Hi Nitish its difficult for me to answer it without the context and access to the application. However if I were you, i'd get all request/responses/resp headers in a file and if i do not see it in response/response headers..I'll check how these values are generated in browser..read the js code if the need be..sometimes we need to write bean shell to copy same js functionality like you just did.. Himanshu On Tue, Dec 9, 2008 at 10:47 PM, NitishShetty <[EMAIL PROTECTED]>wrote: > > Good suggestion Himanshu, I wrote a function in Beanshell for timestamp > using > Date and it worked. > Moving forward with URL it is now give me error for > SWEACn = 17741 > SWEBHWND = 328274 > SWEC = 182 > > SWEACn is SWE Application Count and SWEC is SWE Count. > > Any guess how to solve it. > > Thanks > Nitish > > > -- > View this message in context: > http://www.nabble.com/Unable-to-Correlation-in-Siebel-Web-http.-tp20850591p20929978.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: jmeter curious elapsed time
Thanks for explaining it Sebb...I wondered about this long back as well...and there were questions raised in my workplace too... Himanshu On Tue, Dec 16, 2008 at 10:35 AM, sebb wrote: > On 15/12/2008, ickenic wrote: > > > > Hi, > > > > i´m using jmeter 2.3.1 and there are curious measured elapsed time in > the > > jtl log file. > > When jmeter has complete one test with some http requests, the smallest > > elapsed time is 0 and the next 15 ms. there are no error response > messages, > > so why there are samples with a response time of 0 ? > > And why no response times between 0 and 15 ms? > > > > > > Does anybody know why? > > This is due to the timer resolution. > > If you update to 2.3.2 and use Java 1.5 (or later) JMeter will use a > better timer which is likely to provide better resolution. Or use a > different OS ;-) > > > > > -- > > View this message in context: > http://www.nabble.com/jmeter-curious-elapsed-time-tp21012622p21012622.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: Regex - Null Default values
i think i was able to get around this by declaring a user variable and not giving any value for it..then using it in the default value field..can you try if it works? Himanshu On Wed, Dec 17, 2008 at 9:38 PM, Serpent_Guard wrote: > > This isn't so much a question about regex as it is about how the JMeter > regex > component works. The Default Value is what's assigned to the variable > whenever there isn't a match. I want the default value to be an empty > string. Is this possible? Is there some escape character sequence that > translates to a null string? > > > > sudheer reddy wrote: > > > > Hi > > > > check this link > > > http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summary.html > > > > > > I hope it will help ur need > > > > Thanks & Regards > > Sudheer > > > > > > On 12/18/08, Serpent_Guard wrote: > >> > >> > >> In my regex extractors, I want the default value to be an empty > >> string. Just > >> leaving it blank, it currently ignores the variable syntax and outputs > >> the > >> raw '${var_name}' whenever there isn't a match. Anyone know how to do > >> this? > >> -- > >> View this message in context: > >> > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21064019.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 > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21067319.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: Regex - Null Default values
sorry! doesnt work for me either..looked at my scripts I used "null" string instead of empty string..I am not able to set it to empty string..may be someone else has a way! Himanshu On Thu, Dec 18, 2008 at 2:16 PM, Serpent_Guard wrote: > > Nope, that doesn't work. Apparently, it evaluates the variable first, so > when the variable points to a null value, it acts as if I hadn't entered > anything in at all for the default value. > > > Himanshu Ghai wrote: > > > > i think i was able to get around this by declaring a > > user variable and not giving any value for it..then > > using it in the default value field..can you try if it > > works? > > > > Himanshu > > > > On Wed, Dec 17, 2008 at 9:38 PM, Serpent_Guard > > wrote: > > > >> > >> This isn't so much a question about regex as it is about how the JMeter > >> regex > >> component works. The Default Value is what's assigned to the variable > >> whenever there isn't a match. I want the default value to be an empty > >> string. Is this possible? Is there some escape character sequence that > >> translates to a null string? > >> > >> > >> > >> sudheer reddy wrote: > >> > > >> > Hi > >> > > >> > check this link > >> > > >> > http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summary.html > >> > > >> > > >> > I hope it will help ur need > >> > > >> > Thanks & Regards > >> > Sudheer > >> > > >> > > >> > On 12/18/08, Serpent_Guard wrote: > >> >> > >> >> > >> >> In my regex extractors, I want the default value to be an empty > >> >> string. Just > >> >> leaving it blank, it currently ignores the variable syntax and > outputs > >> >> the > >> >> raw '${var_name}' whenever there isn't a match. Anyone know how to > do > >> >> this? > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21064019.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 > >> >> > >> >> > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21067319.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 > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21081991.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: Regex - Null Default values
i didnt provide a value for the user variable. this variable is default value on the reg-ex extractor.. Himanshu On Thu, Dec 18, 2008 at 4:28 PM, Serpent_Guard wrote: > > Oh, well, empty strings would work too. How did you do it? > > > > Himanshu Ghai wrote: > > > > sorry! doesnt work for me either..looked at my scripts > > I used "null" string instead of empty string..I am not able to set it > > to empty string..may be someone else has a way! > > > > Himanshu > > > > On Thu, Dec 18, 2008 at 2:16 PM, Serpent_Guard > > wrote: > > > >> > >> Nope, that doesn't work. Apparently, it evaluates the variable first, > so > >> when the variable points to a null value, it acts as if I hadn't entered > >> anything in at all for the default value. > >> > >> > >> Himanshu Ghai wrote: > >> > > >> > i think i was able to get around this by declaring a > >> > user variable and not giving any value for it..then > >> > using it in the default value field..can you try if it > >> > works? > >> > > >> > Himanshu > >> > > >> > On Wed, Dec 17, 2008 at 9:38 PM, Serpent_Guard > >> > wrote: > >> > > >> >> > >> >> This isn't so much a question about regex as it is about how the > >> JMeter > >> >> regex > >> >> component works. The Default Value is what's assigned to the > variable > >> >> whenever there isn't a match. I want the default value to be an > empty > >> >> string. Is this possible? Is there some escape character sequence > >> that > >> >> translates to a null string? > >> >> > >> >> > >> >> > >> >> sudheer reddy wrote: > >> >> > > >> >> > Hi > >> >> > > >> >> > check this link > >> >> > > >> >> > >> > http://jakarta.apache.org/oro/api/org/apache/oro/text/regex/package-summary.html > >> >> > > >> >> > > >> >> > I hope it will help ur need > >> >> > > >> >> > Thanks & Regards > >> >> > Sudheer > >> >> > > >> >> > > >> >> > On 12/18/08, Serpent_Guard wrote: > >> >> >> > >> >> >> > >> >> >> In my regex extractors, I want the default value to be an empty > >> >> >> string. Just > >> >> >> leaving it blank, it currently ignores the variable syntax and > >> outputs > >> >> >> the > >> >> >> raw '${var_name}' whenever there isn't a match. Anyone know how > to > >> do > >> >> >> this? > >> >> >> -- > >> >> >> View this message in context: > >> >> >> > >> >> > >> > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21064019.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 > >> >> >> > >> >> >> > >> >> > > >> >> > > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21067319.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 > >> >> > >> >> > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21081991.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 > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Regex---Null-Default-values-tp21064019p21083739.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: Pre-operation samplers
is once only controller an option? Himanshu On Thu, Dec 18, 2008 at 9:40 PM, Serpent_Guard wrote: > > I've got a loop I want to perform, but part of the loop involves a login. > I > only want my threads to log in once. I know I can add the rest of the > samplers to a loop controller, but I've also got a CSV Config element that > I > need my threads to consult each time they run through the loop, so I can't > use the loop controller. > -- > View this message in context: > http://www.nabble.com/Pre-operation-samplers-tp21086144p21086144.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: Support for ASP.NET WebForm_PostBackOptions in JMeter
Hi Sujesh, Did you try to compare the request that jmeter sends to what you record on a proxy/http logging tool? what is the difference that you see? Himanshu On Wed, Jan 7, 2009 at 4:55 AM, Sujesh wrote: > > Hi, > > I am using JMeter for conducting performance testing for an ASP.NET > application. > The problem I am facing is I am not able to submit a request through JMeter > as the page uses WebForm_PostBackOptions. > > I traced down the values to be passed > > WebForm_DoPostBackOptions(WebForm_PostBackOptions(eventTarget, > eventArgument, validation, validationGroup, actionUrl, trackFocus, > clientSubmit)) > > and found the values for the above arguments (attached the screenshot of > the > request) > > Anyone faced same issue, or any solution/workaround you suggest for this? > > Thanks in advance. > > ~ Suj > > > http://www.nabble.com/file/p21330776/WebForm_PostBackOptions.jpg > -- > View this message in context: > http://www.nabble.com/Support-for-ASP.NET-WebForm_PostBackOptions-in-JMeter-tp21330776p21330776.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: Configuring browser though command prompt
I might be wrong and I haven't done it before but it looks like there is something you could do with vbscript. http://www.servernewsgroups.net/group/microsoft.public.windows.server.scripting/topic3213.aspx Himanshu On Mon, Mar 9, 2009 at 8:10 AM, Suvendu_Mohapatra < suvendu_mohapa...@satyam.com> wrote: > Dear Team, > >I would like to configure proxy server setting of the > browser(IE) to 'localhost' and port '' through command prompt. I tried > to find the same thing from google and all my efforts are in vain as I got > the solution of browser setting for admin systems only(I am not authorized > to edit registry). If anybody has idea about this settings through command > promt, kindly help. > > Thank you in advance. > > With Regards, > Suvendu > > > 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. >
Re: Configuring browser though command prompt
I do not have answer to your question :(...try searching with that error is all i can say..my knowledge is very limited.. hope some windows guru can answer it for us... Himanshu On Tue, Mar 10, 2009 at 7:48 PM, Suvendu_Mohapatra < suvendu_mohapa...@satyam.com> wrote: > Hi Himanshu, > >Thank you very much for helping in this regards. > I have gone through the script and the script is for changing the proxy > settings. But the problem is that it writes to registry and for that I do > not have permission since I am operating behind a corporate proxy server. > But I can change the proxy setting by graphical methods(internet > option->connection->lan->proxy server). So I thought that if we can change > the proxy setting by graphical methods(this time also I do not have > permission for registry edit) why not through command prompt. > > Thank you very much once again for giving the information. > > With Regards, > Suvendu > > -Original Message- > From: Himanshu Ghai [mailto:himanshug...@gmail.com] > Sent: Tuesday, March 10, 2009 9:59 PM > To: JMeter Users List > Subject: Re: Configuring browser though command prompt > > I might be wrong and I haven't done it before but it looks like there is > something > you could do with vbscript. > > > http://www.servernewsgroups.net/group/microsoft.public.windows.server.scripting/topic3213.aspx > > Himanshu > > On Mon, Mar 9, 2009 at 8:10 AM, Suvendu_Mohapatra < > suvendu_mohapa...@satyam.com> wrote: > > > Dear Team, > > > >I would like to configure proxy server setting of the > > browser(IE) to 'localhost' and port '' through command prompt. I > tried > > to find the same thing from google and all my efforts are in vain as I > got > > the solution of browser setting for admin systems only(I am not > authorized > > to edit registry). If anybody has idea about this settings through > command > > promt, kindly help. > > > > Thank you in advance. > > > > With Regards, > > Suvendu > > > > > > 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. > > > > 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 > >
Re: How do we analyse the resuts in JMeter??
Please read the documentation for jmeter and some beginner statistics. I think scott barbar's site and his 'user experience not metrics' series on developerworks is a good start.. 2 days is as soon as it could be :-) Himanshu On Thu, Mar 19, 2009 at 11:09 AM, Sree ... wrote: > Can some one tell me How do we analyse the resuts in JMeter??What exactly > Sample, average, Throughput etc are meant for and what is the significance > of those numbers > > thx in advance and i need to know ASAP :( > > -- > -Thanks > -Srikanth.G > -Google India Ltd > -Hyderabad >
Re: HTTPS problem
on linux..modify jmeter file under bin or jmeter.sh to use full path for java instead of default. instead of java $ use /usr/lib/jvm/java-1.5.0-sun/jre/bin/java you need to trace the path on your machine and replace in above.. on windows i think jmeter.bat should have similar information. I had errors with ssl on my machine as well but changing to 1.5 java version resolved it.. Himanshu On Mon, Mar 23, 2009 at 9:40 AM, vnc wrote: > > HI, How did you managed to configure the Jmeter for HTTPS requests. > I am having problem with configuration. I am not able to connec to https > using jmeter. > Can you let me know what are the steps need to be done for jmeter to > connect > to Https. > I am using jmeter 2.3.2 and jdk 1.6 > Please let me know . > > Thanks in Advance > N > > > > dirweis wrote: > > > > Hi, > > > > I'm using JMeter 2.3.2 and try to run tests with an https connect. > > Connecting in my browser to the https pages is working fine and the > JMeter > > tutorial told me: > > Making HTTPS Requests > > JMeter can make HTTPS requests - just create an HTTP Request Sampler, and > > set the protocol to https (instead of blank). > > --- > > > > Well, of course in my HTTP Request Default I entered 'https' into the > > protocol field but the result file tells me > > rc="Non HTTP response code: javax.net.ssl.SSLHandshakeException" rm="Non > > HTTP response message: Received fatal alert: bad_certificate" > > > > Can you help me here? > > Many thanks and best regards, > > Dirk > > > > -- > View this message in context: > http://www.nabble.com/HTTPS-problem-tp22435611p22663870.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: ERROR - jmeter.threads.JMeterThread: Test failed!java.lang.OutOfMemoryError: Java heap space.
I see that you ran the test for more than an hour before you got the error..do you have view results tree listener on? could you do with something like aggregate or just writing log to disk and not viewing it? view results tree is most common cause that I know of.. Himanshu On Tue, Mar 24, 2009 at 5:05 AM, Monga, Richa wrote: > Hi, > > > I'm first time user of jmeter. > Jmeter 2.3.2 > Im facing the follwoing error: ERROR - jmeter.threads.JMeterThread: Test > failed!java.lang.OutOfMemoryError: Java heap space. > I have set heap size as 1024MB max. > What is the basic requirement for Physical memory? > Am I missing some configuration? > If someone can assist me, That will be great > > 2009/03/24 15:02:18 INFO - jmeter.util.JMeterUtils: Setting Locale to > en_US > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading user properties from: > C:\Documents and Settings\richam\My > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\user.properties > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading system properties from: > C:\Documents and Settings\richam\My > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\system.properties > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Copyright (c) 1998-2008 The > Apache Software Foundation > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Version 2.3.2 r665936 > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.version=1.5.0_06 > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) > Client VM > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.name=Windows XP > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.arch=x86 > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.version=5.1 > 2009/03/24 15:02:19 INFO - jmeter.JMeter: file.encoding=Cp1252 > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Default Locale=English (United > States) > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeter Locale=English (United > States) > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeterHome=C:\Documents and > Settings\richam\My > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2 > 2009/03/24 15:02:19 INFO - jmeter.JMeter: user.dir =C:\Documents and > Settings\richam\My > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > 2009/03/24 15:02:19 INFO - jmeter.JMeter: PWD =C:\Documents and > Settings\richam\My > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > 2009/03/24 15:02:19 INFO - jmeter.JMeter: IP: 10.201.46.159 Name: RichaM > FullName: RichaM.in.nds.com > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loaded icon properties from > org/apache/jmeter/images/icon.properties > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > Function class names must contain the string: '.functions.' > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > Function class names must not contain the string: '.gui.' > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Cannot find .className property for htmlParser, using default > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/html is > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for application/xhtml+xml is > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for application/xml is > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/xml is > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > Parser for text/vnd.wap.wml is > org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > 2009/03/24 15:02:28 INFO - jmeter.gui.util.MenuFactory: Skipping > org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui > 2009/03/24 15:02:28 INFO - jmeter.gui.util.MenuFactory: Skipping > org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSampler: > Maximum connection retries = 10 > 2009/03/24 15:02:29 WARN - jmeter.gui.util.MenuFactory: Missing jar? Could > not create org.apache.jmeter.visualizers.MailerVisualizer. > java.lang.NoClassDefFoundError: javax/mail/MessagingException > 2009/03/24 15:02:29 INFO - jmeter.samplers.SampleResult: Note: Sample > TimeStamps are START times > 2009/03/24 15:02:29 INFO - jmeter.samplers.SampleResult: > sampleresult.default.encoding is set to ISO-8859-1 > 2009/03/24 15:02:52 INFO - jmeter.services.FileServer: Default > base=C:\Documents and Settings\richam\My > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > 2009/03/24 15:02:52 INFO - jmeter.gui.action.Load: Loading file: > C:\Jmeter\bin\test\example1.jmx > 2009/03/24 15:02:52 INFO - jmeter.services.FileServer: Set new > base=C:\Jmeter\bin\test > 2009/03/24 15:02:52 INFO - jmeter.save.SaveService: Testplan (JMX) > version: 2.2. Testlog (JTL) version: 2.2 > 2009/03/24 15:02:52 INFO - jmeter.save.SaveService: Using SaveService > properties file encoding
Re: ERROR - jmeter.threads.JMeterThread: Test failed!java.lang.OutOfMemoryError: Java heap space.
even on my 2 core 2.4 ghz ubuntu box with 4 gb ram i do not expect the view results tree to run for an hour with lots of data downloaded with requests. I have not monitored it closely though..if you run it for less time do you see any valid activity in your logs? Himanshu On Tue, Mar 24, 2009 at 11:11 PM, Monga, Richa wrote: > Yeah. In jmeter.bat file , I have set this attribute as > > set HEAP=-Xms1024m - Xmx1024m > > > Thanks, > Richa > -Original Message- > From: aidy lewis [mailto:aidy.le...@googlemail.com] > Sent: Tuesday, March 24, 2009 11:34 PM > To: JMeter Users List > Subject: Re: ERROR - jmeter.threads.JMeterThread: Test > failed!java.lang.OutOfMemoryError: Java heap space. > > Hi, > > Have you considered increasing the memory allocated to the JVM in > jmeter.bat? > > eg. > > set HEAP=-Xms256m -Xmx1024m > > Aidy > > On 24/03/2009, Himanshu Ghai wrote: > > I see that you ran the test for more than an hour before > > you got the error..do you have view results tree listener on? > > could you do with something like aggregate or > > just writing log to disk and not viewing it? > > > > view results tree is most common cause that I know of.. > > > > Himanshu > > > > On Tue, Mar 24, 2009 at 5:05 AM, Monga, Richa wrote: > > > > > Hi, > > > > > > > > > I'm first time user of jmeter. > > > Jmeter 2.3.2 > > > Im facing the follwoing error: ERROR - jmeter.threads.JMeterThread: > Test > > > failed!java.lang.OutOfMemoryError: Java heap space. > > > I have set heap size as 1024MB max. > > > What is the basic requirement for Physical memory? > > > Am I missing some configuration? > > > If someone can assist me, That will be great > > > > > > 2009/03/24 15:02:18 INFO - jmeter.util.JMeterUtils: Setting Locale to > > > en_US > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading user properties > from: > > > C:\Documents and Settings\richam\My > > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\user.properties > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading system properties > from: > > > C:\Documents and Settings\richam\My > > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\system.properties > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Copyright (c) 1998-2008 The > > > Apache Software Foundation > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Version 2.3.2 r665936 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.version=1.5.0_06 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.vm.name=Java > HotSpot(TM) > > > Client VM > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.name=Windows XP > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.arch=x86 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.version=5.1 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: file.encoding=Cp1252 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Default Locale=English > (United > > > States) > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeter Locale=English > (United > > > States) > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeterHome=C:\Documents and > > > Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: user.dir =C:\Documents and > > > Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: PWD =C:\Documents and > > > Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: IP: 10.201.46.159 Name: > RichaM > > > FullName: RichaM.in.nds.com > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loaded icon properties from > > > org/apache/jmeter/images/icon.properties > > > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > > > Function class names must contain the string: '.functions.' > > > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > > > Function class names must not contain the string: '.gui.' > > > 2009/03/24 15:02:28 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > > > Cannot find .className property for htmlParser, using default > > > 2009/03/24 15:02:28 INFO - > jmet
Re: JMeter- how to manage correlation??
add the cookie manager it will do it for sessions and other cookies..for the application correlation use regular expression extractor..it's there in the manual.. Himanshu On Thu, Mar 26, 2009 at 7:04 AM, mayank panwar wrote: > Hi all, Could anyone explain me the concept of correlation, session id in > JMeter? how can i manage correlation in JMeter? > i am unable to find any help :( Thanks in advance. Mayank Panwar. >
Re: ERROR - jmeter.threads.JMeterThread: Test failed!java.lang.OutOfMemoryError: Java heap space.
i do not think it would work with low threads even for 5 days. Can you try in non-ui mode as sebb suggested? Himanshu On Thu, Mar 26, 2009 at 7:41 AM, Monga, Richa wrote: > I have 2 GB of RAM in my system. How can I know each thread is using how > much memory? > So that I can limit threads for the current system requirement to run the > test for longer time. > > -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Thursday, March 26, 2009 6:53 PM > To: JMeter Users List > Subject: Re: ERROR - jmeter.threads.JMeterThread: Test > failed!java.lang.OutOfMemoryError: Java heap space. > > http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean > > On 26/03/2009, Monga, Richa wrote: > > Increased the Heap size in jmeter-report...still it runs 25 threads for > an hour. But I want to run it at least for 5 days. I have selected Loop > Count as Forever. > > Is it possible? > > > > > > -Original Message- > > From: nivaskona [mailto:srinivasuk...@gmail.com] > > Sent: Thursday, March 26, 2009 10:12 AM > > To: jmeter-user@jakarta.apache.org > > Subject: Re: ERROR - jmeter.threads.JMeterThread: Test > failed!java.lang.OutOfMemoryError: Java heap space. > > > > > > Hi, > > > > Increase the Heap size in JMeter-report. > > You can find JMeter-report file in bin folder. > > > > OR > > > > If u running the script for Long time Disable Debug Logs. > > > > > > Monga, Richa wrote: > > > > > > Hi, > > > > > > > > > I'm first time user of jmeter. > > > Jmeter 2.3.2 > > > Im facing the follwoing error: ERROR - jmeter.threads.JMeterThread: > Test > > > failed!java.lang.OutOfMemoryError: Java heap space. > > > I have set heap size as 1024MB max. > > > What is the basic requirement for Physical memory? > > > Am I missing some configuration? > > > If someone can assist me, That will be great > > > > > > 2009/03/24 15:02:18 INFO - jmeter.util.JMeterUtils: Setting Locale to > > > en_US > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading user properties > from: > > > C:\Documents and Settings\richam\My > > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\user.properties > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading system properties > from: > > > C:\Documents and Settings\richam\My > > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\system.properties > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Copyright (c) 1998-2008 The > > > Apache Software Foundation > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Version 2.3.2 r665936 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.version=1.5.0_06 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.vm.name=Java > HotSpot(TM) > > > Client VM > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.name=Windows XP > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.arch=x86 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.version=5.1 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: file.encoding=Cp1252 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Default Locale=English > (United > > > States) > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeter Locale=English > (United > > > States) > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeterHome=C:\Documents and > > > Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2 > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: user.dir =C:\Documents and > > > Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: PWD =C:\Documents and > > > Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: IP: 10.201.46.159 Name: > RichaM > > > FullName: RichaM.in.nds.com > > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loaded icon properties from > > > org/apache/jmeter/images/icon.properties > > > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > > > Function class names must contain the string: '.functions.' > > > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > > > Function class names must not contain the string: '.gui.' > > > 2009/03/24 15:02:28 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > > > Cannot find .className property for htmlParser, using default > > > 2009/03/24 15:02:28 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > > > Parser for text/html is > > > 2009/03/24 15:02:28 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > > > Parser for application/xhtml+xml is > > > 2009/03/24 15:02:28 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > > > Parser for application/xml is > > > 2009/03/24 15:02:28 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > > > Parser for text/xml is > > > 2009/03/24 15:02:28 INFO - > jmeter.protocol.http.sampler.HTTPSamplerBase: > > > Pars
Re: jmeter error
look at the request closely on view results tree listener on why is it redirecting that many times. There is a parameter in jmeter.properties called httpsampler.max_redirects which could be changed to increase the limit. However it wouldn't be recommended. I see in firefox3 this redirect limit is set to 20. it could be an application bug as well.. Himanshu On Tue, Apr 14, 2009 at 5:33 AM, Ekta Trivedi wrote: > Hi, > > > > I am using JMeter for load testing. While running JMeter scripts, I am > getting this error message. > > > > In the result panel, I do see HTTP/1.1 302 Found response code. But getting > this error message, > > > > > > java.io.IOException: Exceeeded maximum number of redirects: 5 > >at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.followRedirects(HTTPS > amplerBase.java:1326) > >at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.resultProcessing(HTTP > SamplerBase.java:1373) > >at > org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:5 > 28) > >at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBas > e.java:1021) > >at > org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBas > e.java:1007) > >at > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290) > >at java.lang.Thread.run(Unknown Source) > > > > > > Thanks, > > E > > > > - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Non-GUI test in Linux server
i have a different but related question. Sorry to use the same thread. Is there a decent recommended way to stop jmeter on shell. My scripts kill the process which doesn't seem appropriate. say a test is started from command line and you need it to terminate in a nice way.. Himanshu On Mon, Apr 13, 2009 at 8:24 PM, Oliver Erlewein [DATACOM] wrote: > Read up on Non-GUI mode at: > http://jakarta.apache.org/jmeter/usermanual/get-started.html > Chapter 2.4.3 > > That's all you need. > > Cheers Oliver > > -Original Message- > From: Monga, Richa [mailto:ric...@nds.com] > Sent: Monday, 13 April 2009 5:19 p.m. > To: 'JMeter Users List' > Subject: Non-GUI test in Linux server > > Hi, > > How to run Non-GUI mode test in Linux? > > > Regards, > 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 > > - > 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
stopping jmeter in non-ui mode
Is there a decent recommended way to stop jmeter on shell? My scripts kill the process which doesn't seem appropriate. say a test is started from command line and you need it to terminate in a nice way.. Himanshu - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: stopping jmeter in non-ui mode
my log.jtl if i transfer to another machine could not be opened if the test is killed. I know i can try looking into jtl and patch inconsistency but i was wondering if there was a better way. for now i write a csv and then get the statistics out from a separate program. It looks like there isn't a different way to do it.. did you use jtl log by -l parameter? Himanshu On Tue, Apr 14, 2009 at 8:06 PM, Oliver Erlewein [DATACOM] wrote: > I use the command line a lot and I always kill the jmeter processes if I need > to stop the test. I haven't had a bad reaction to that yet. I can see no > reason not to use kill. When the test ends normally the jmeter process ends > anyway so there should normally be no need for kill. > > Regards > Oliver > > -Original Message- > From: Himanshu Ghai [mailto:himanshug...@gmail.com] > Sent: Wednesday, 15 April 2009 1:33 p.m. > To: JMeter Users List > Subject: stopping jmeter in non-ui mode > > Is there a decent recommended way to > stop jmeter on shell? My scripts kill the process > which doesn't seem appropriate. say a test is > started from command line and you need it to > terminate in a nice way.. > > Himanshu > > - > 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: stopping jmeter in non-ui mode
I had a wrong notion that i had to use jtl for the file to be opened on another machine. Thanks for correcting me Sebb and Oliver. My reasons for killing it might not be very serious... One reason is to transfer the shared servers for when something important comes up. or when I see that the servers have had enough spikes for me to to look at closely. i have a similar separate script that picks the csv data from aggregate graph listener and plots it with gnuplot..it has been of immense help in checking which requests spiked and then correlating with resource usage.. Himanshu On Wed, Apr 15, 2009 at 2:42 PM, Oliver Erlewein [DATACOM] wrote: > No. I use Simple Listeners to output my data. Could have used -l too but just > didn't. > > I don't use JMeter to calculate my results. I use a combination of Shell and > Python scripts with GhostScript and Gnuplot to output the data. And the > scripts dismantle the XML output without loading the XML so it doesn't need > to be correct XML. So I can see the results even if the test was killed. > > Why do you have such problems with killing a test? That should be the > exception. To me it sounds as if you're (a) running a test without time > limitation and killing it when you want to stop testing or (b) are not > failing the test properly when the application under test fails. > > Oliver > > -Original Message- > From: Himanshu Ghai [mailto:himanshug...@gmail.com] > Sent: Wednesday, 15 April 2009 7:06 p.m. > To: JMeter Users List > Subject: Re: stopping jmeter in non-ui mode > > my log.jtl if i transfer to another machine could not > be opened if the test is killed. I know i can try > looking into jtl and patch inconsistency but i > was wondering if there was a better way. > > for now i write a csv and then get > the statistics out from a separate program. It > looks like there isn't a different way to do it.. > did you use jtl log by -l parameter? > > Himanshu > > On Tue, Apr 14, 2009 at 8:06 PM, Oliver Erlewein [DATACOM] > wrote: >> I use the command line a lot and I always kill the jmeter processes if I >> need to stop the test. I haven't had a bad reaction to that yet. I can see >> no reason not to use kill. When the test ends normally the jmeter process >> ends anyway so there should normally be no need for kill. >> >> Regards >> Oliver >> >> > > > - > 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: Cookie Manager
Look at the requests which set the cookie in response headers. If you have automatic redirects, i am not sure but i faintly remember you might need to redirect yourself to set cookies in jmeter. First step is to find the requests which set the cookies ps-token andps_login..in browser response headers look for set-cookie Himanshu On Thu, Apr 30, 2009 at 5:51 AM, Kannan, Sengamalam wrote: > Sebb > I also work with Ranjitha in solving the below issue. Let me try to explain > you clearly what issue we are facing. > > When we record scenario using JMeter, the jmeter request and response headers > are same as the browser's. > > But when we run the script, headers doent have the PS_TOKEN and PS_LOGIN > cookie parameter and only the PSJSESSIONID is present. > > We don't know how to solve this as we have also added Cookie Manager and > tried with all the policy options available there (ex: compatibility, rfc.., > default, etc) but nothing worked. > > Do we need to configure something else? Please help us to solve this. > > Thanks & Regards > Sengamalam Kannan > Testing CoE > Mobile: +91 99529 67005 > Tel: +91 44 6615 2684 > > -Original Message- > From: Prakash, Ranjitha [mailto:ranjitha.prak...@aig.com] > Sent: Thursday, April 30, 2009 6:14 PM > To: JMeter Users List > Subject: RE: Cookie Manager > > The recorded request header is the same as the browser request header. > > > Thanks and Regards, > Ranjitha Prakash > Mob: 9884383831 > Off: 66152735 > It is easy to sit up and take notice. What is difficult is getting up and > taking action > > -Original Message- > From: Prakash, Ranjitha [mailto:ranjitha.prak...@aig.com] > Sent: Thursday, April 30, 2009 5:51 PM > To: JMeter Users List > Subject: RE: Cookie Manager > > Given below is the request header > > Request Headers: > Connection: keep-alive > Host: 10.46.188.36:8080 > User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; > InfoPath.1) > Accept-Language: en-us > Referer: http://10.46.188.36:8080/psp/HR880TST/?cmd=login > Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, > application/x-shockwave-flash, application/vnd.ms-excel, > application/vnd.ms-powerpoint, application/msword, */* > > Thanks and Regards, > Ranjitha Prakash > Mob: 9884383831 > Off: 66152735 > It is easy to sit up and take notice. What is difficult is getting up and > taking action > > -Original Message- > From: sebb [mailto:seb...@gmail.com] > Sent: Thursday, April 30, 2009 5:40 PM > To: JMeter Users List > Subject: Re: Cookie Manager > > What about the Requests? > > And how do these differ from the requests made by a browser? > > On 30/04/2009, Prakash, Ranjitha wrote: >> These are the recorded script response headers in JMeter. But when we run >> the script Response Headers doesn't have the PS_TOKEN, PS_LOGIN etc. Note >> that we have also ncluded Cookie Manager. >> >> Response headers: >> HTTP/1.1 200 OK >> Date: Thu, 30 Apr 2009 11:25:04 GMT >> Server: WebLogic WebLogic Temporary patch 2 for PeopleSoft 04/30/2002 >> 09:54:21 >> Content-Encoding: gzip >> Content-Length: 1853 >> Content-Type: text/html; CHARSET=UTF-8 >> Expires: Thu, 01 Dec 1994 16:00:00 GMT >> UsesPortalRelativeURL: true >> Set-Cookie: PS_TOKENEXPIRE=30_Apr_2009_11:25:04_GMT; path=/ >> PortalRegisteredURL: >> http://10.46.188.36:8080/psc/FP/EMPLOYEE/HRMS/c/MAINTAIN_SECURITY.EMAIL_PSWD.GBL >> >> Response headers: >> HTTP/1.1 200 OK >> Date: Thu, 30 Apr 2009 11:25:03 GMT >> Server: WebLogic WebLogic Temporary patch 2 for PeopleSoft 04/30/2002 >> 09:54:21 >> Content-Encoding: gzip >> Content-Length: 716 >> Content-Type: text/html; CHARSET=UTF-8 >> Expires: Thu, 01 Dec 1994 16:00:00 GMT >> Set-Cookie: PS_TOKENEXPIRE=30_Apr_2009_11:25:03_GMT; path=/ >> >> >> Response headers: >> HTTP/1.1 302 Moved Temporarily >> Date: Thu, 30 Apr 2009 11:25:00 GMT >> Location: >> http://10.46.188.36:8080/psp/FP/EMPLOYEE/HRMS/c/MAINTAIN_SECURITY.EMAIL_PSWD.GBL >> Server: WebLogic WebLogic Temporary patch 2 for PeopleSoft 04/30/2002 >> 09:54:21 >> Content-Type: text/html >> Expires: Thu, 01 Dec 1994 16:00:00 GMT >> Transfer-Encoding: Chunked >> Set-Cookie: SignOnDefault=; expires=Thursday, 07-May-2009 11:25:03 GMT; >> path=/ >> Set-Cookie: >> PS_TOKEN=sAQDAgEBvAIsBABTaGRyAk4AfQg4AC4AMQAwABSDa0+u3FOdXwNMa2yUaydpOJJjBnAFAFNkYXRhZHicHYpBDoJAEAQLJBx9gV9gs4H1sEcTXT0BAROPvsSf8TgrO53pztT0D+hObdOYR0udS2Fh46m/Wbmxq09ld/oHs6/zKiv+v7zkaSSqzKAnfTIHRhXcqx5lobaid7bFH4kfDgI=; >> path=/ >> Set-Cookie: PS_TOKENEXPIRE=30_Apr_2009_11:25:03_GMT; path=/ >> Set-Cookie: PS_LOGINLIST=http://10.46.188.36:8080/FP; path=/ >> Set-Cookie: ExpirePage=http://10.46.188.36:8080/psp/FP/; path=/ >> Connection: Close >> >> >> Thanks and Regards, >> Ranjitha Prakash >> Mob: 9884383831 >> Off: 66152735 >> It is easy to sit up and take notice. What is difficult is getting up and >> taking action >> >> >> -Original Message- >> From: sebb [ma
Re: JDBC Connection Config
it would be recommended to run it for less number of users first to see if your servers can handle such load..100/500/1000 Himanshu On Tue, May 5, 2009 at 3:37 AM, sebb wrote: > On 04/05/2009, C.Vijayakumar wrote: >> Hi Sebb / Matt , >> >> Am using JMeter for Load testing our Java application . I have some doubts >> on using JMeter . Could you please help me to solve my doubts pls ? >> >> My Tuning Parameters are as follows >> >> set HEAP=-Xms512m -Xmx1024m >> set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m >> set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% >> set TENURING=-XX:MaxTenuringThreshold=2 >> set EVACUATION=-XX:MaxLiveObjectEvacuationRatio=20% >> set RMIGC=-Dsun.rmi.dgc.client.gcInterval=60 >> -Dsun.rmi.dgc.server.gcInterval=60 >> set PERM=-XX:PermSize=128m -XX:MaxPermSize=128m >> set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution >> >> >> I have defined the Heap size as 512 - 1024 & My RAM size is 512 MB . I have >> run my Test Plan using JDBC Connection configuration for 3964 concurrent >> users successfully . If I use more than 4000 Users , JMeter shows Out of >> Memory error . Even if i tried running the test plan by changing the Heap >> size as 256 - 1024 , 768 - 1536 & 512 - 512 , there is no improvement on my >> concurrent users , still am getting Out of memory error message >> >> I tried the same test plan in another system which has 1 GB RAM , But in >> that system, Only 2000 concurrent users have successfully completed and I >> got the same Out of Memory error . >> >> Could anyone / you please reveal me what I have to do to get proper results >> for more than 5000 Concurrent users ? > > That's a lot of users. Are you sure you need to test with so many? > Remember that JMeter can put a lot more load on a server than a real > user, unless you include appropriate wait times. > > If you really need to test with that many users, then use non-GUI > mode, and run the same test in parallel on several different hosts, > then combine the results. > > Also, depending on your OS, 1GB is not very much memory for such a > large number of users. > > See also: > > http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean > > JMeter distributed mode (client-server) is unlikely to help here, as > the JMeter client and network are likely to become a bottle-neck. > >> Thanking you in Advance . >> >> 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
Re: JDBC Connection Config
"Why take the low road. If the requirement is for 6000, test for 6000. If it works, you're done without all the extra testing." i differ, if the system isn't deployed yet and breaks at 6000, it is advisable to see if it scales a lower load.. it helps to segregate problem as well without adding extra noise of system resources/network/client Himanshu On Tue, May 5, 2009 at 11:20 PM, kirk wrote: > >> >> it would be recommended to run it for less number of users first to see if >> your servers can handle such load..100/500/1000 >> > > Why take the low road. If the requirement is for 6000, test for 6000. If it > works, you're done without all the extra testing. If it doesn't work then > you have a different problem > > Regards, > Kirk > > > - > 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: JDBC Connection Config
:-) i am yet to see an app that worked so well in first go..i'd still contend it's not irrelevant..how do you know when it breaks at 6000, if after 5000 it degraded drastically or after 50? for when you're testing what is expected to have more noise 5000/500 or 50? what if it didn't even like 5 users and you bombed it with 5000.. Cheers, Himanshu On Wed, May 6, 2009 at 11:46 PM, kirk wrote: > Himanshu Ghai wrote: >> >> "Why take the low road. If the requirement is for 6000, test for 6000. >> If it works, you're done without all the extra testing." >> >> i differ, if the system isn't deployed yet and breaks at 6000, it is >> advisable to see if it scales a lower load.. >> > > How do you know that it will break at 6000 unless you test it at that load > level? Why waste time running tests that will give you irrelevant > information? Why not test at 6000 and if anything happens to break, then > investigate? IME this is a much more effective way to test for performance > requirements. > > Cheers, > Kirk > >> it helps to segregate problem as well without adding extra noise of >> system resources/network/client >> >> Himanshu >> >> On Tue, May 5, 2009 at 11:20 PM, kirk wrote: >> >>>> >>>> it would be recommended to run it for less number of users first to see >>>> if >>>> your servers can handle such load..100/500/1000 >>>> >>>> >>> >>> Why take the low road. If the requirement is for 6000, test for 6000. If >>> it >>> works, you're done without all the extra testing. If it doesn't work then >>> you have a different problem >>> >>> Regards, >>> Kirk >>> >>> >>> - >>> 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: problems with JMeter and Apache Load Balancer
Hi Daniel, you need to extract the jsessionid from the response coming from server. Please try to make cookies dynamic(if I get the problem correctly).. Do you have an http cookie manager added in plan? Please check... Also check that you are not sending any hard coded values with cookies in your requests.. Himanshu On Thu, Aug 21, 2008 at 7:28 AM, DanielBreitner <[EMAIL PROTECTED]> wrote: > > Hi you all :) > > I am new to JMeter so please don´t hurt me. > > I am trying to test my web application which is on two computers balanced by > one apache load balancer. > I have to use cookies, because I want to "navigate" within my web page - > therefore i am using the HTTP Cookie Manager. > > Now I have the problem, that when my first JMeter thread enters the URL of > the Load Balancer, it gets a jsession id together with the machine to send > the request to. For excample jsessionid=dfsdhfgsdf123_machine=computer2 > This is a problem because to me it seems, that this cookie is send to the > Load Balancer by all my threads, and so all my threads always go to one > machine, instead of being balancedon two machines. > > So I am asking you: > > 1) Does anyone know how to combine the Apache Load Balancer and JMeter ? > > 2) How do I config JMeter so that it doesn´t send the cookie with the first > request ? > > > With kind regards > > Daniel Breitner > > -- > View this message in context: > http://www.nabble.com/problems-with-JMeter-and-Apache-Load-Balancer-tp19089771p19089771.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: Session ID changes for a POST request
Slightly off topic but It doesn't seem to be secure to send an authentication session cookie in a url...any thoughts on this?(its okay for tests though) Himanshu On Fri, Aug 22, 2008 at 11:09 AM, Fitzpatrick, Adrian <[EMAIL PROTECTED]> wrote: > > Hi, > > It looks to me that you may have recorded the JSESSIONID "92714..." into > the script when you originally created the script, so thats why its being > sent with every request. If you can remove this jsession portion of the URL > from you HTTP sampler, the correct JSESSION which is being included in the > cookie data should be picked up instead. > > Alternatively, if your application and/or app server needs the JSESSION id to > be in the URL, you may be able to change the URL in the HTTP sampler so that > it > looks something like this - > > http://localhost:8080/gate.do;jsessionid=${JSESSIONID}?action=index > > i.e. its using a variable to fill in the correct value. However im not sure > if this is the correct syntax to get the value of a cookie as a variable, you > can look up how to this (am sure its possible) if that doesnt work. > > Regards, > > - Adrian > > > -Original Message- > From: Chris Hall [mailto:[EMAIL PROTECTED] > Sent: 22 August 2008 14:51 > To: jmeter-user@jakarta.apache.org > Subject: Session ID changes for a POST request > > > * > > This e-mail has been received by the Revenue Internet e-mail service. (IP) > > * > > > Hi all, > I've been getting problems with Session ID's. > > I've added a HTTP cookie manager, which seems to have resolved most of my > problems, but [EMAIL PROTECTED] come across an instance where the session ID > is not being > passed correctly to the URL. > > ie > GET request #1: >GET http://localhost:8080/welcome.do?action=form > >Cookie Data: >JSESSIONID=195374BBEEE86BB9633B1CF93B48A03C > >Request Headers: >Connection: keep-alive > > but on the next page > POST request #1: > > POST > http://localhost:8080/gate.do;jsessionid=927141B2B85E34E8F586B1FEC7CED71C?act > ion=index > > POST data: > Name=MyName&Password=pass > > Cookie Data: > JSESSIONID=195374BBEEE86BB9633B1CF93B48A03C > > Request Headers: > Connection: keep-alive > Content-Length: 294 > Content-Type: application/x-www-form-urlencoded > > From here, you can see the cookie has the same session ID for both requests, > except for the post, the url passed is incorrect. > > am i missing something simple here? I'm very new to JMeter it has to be > said. > > Rgds, > Chris > -- > View this message in context: > http://www.nabble.com/Session-ID-changes-for-a-POST-request-tp19107615p191076 > 15.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] > > > > > > This message has been delivered to the Internet by the Revenue Internet > e-mail service (OP) > > * > > - > 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: Timeout error in webservices
Trap requests on a browser or a proxy and give proper headers..I checked it here you may need to add these headers: Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 may be for user-agent as well Himnashu On 8/26/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi > > If I use this url" http://api.google.com/GoogleSearch.wsdl"; in my > testplan in JMeter I get "time out error". But if I use the url with a > browser I get the content o the URL. Must I change the system properties > Has somebody an Idea? > > Cheers > > Richard Markham > > > > __ > 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: remote jmeter logging question
In my jmeter scripts that are launched using cron..I have given a shared location as the path for aggregate log...try it in your jmeter plan itself.. to give a path for the view results tree jmx file...results tree could be pretty resource intensive...use the configure option for view results tree to minimize the logged data... may be request headers are sufficient... Thanks, Himanshu On 8/26/08, gwatson <[EMAIL PROTECTED]> wrote: > > Hello, sorry if this is in the wrong place but I am new to this forum. > > Anywhoo, I am using jmeter from a remote server to test load balancing > through a couple of new server iron GT's. I have the serverirons configured > to hand out cookies to cookie-able browsers in order to maintain session > state. (our application is relies on session state) > > I am using the following command to run a jmx test plan against said load > balancer: (from a wrapper script) > > jmeter -n -DHost=$HOST -t $JMXDIR/$JMX -Dhttpclient.localaddress=$IP -l $LOG > > The tests appear to be working. However, I need to verify that I am getting > cookie'd appropriately. I dont see anything in the logfile that Im writing > to that lets me know what cookies Ive been issued. Locally Im able to run a > jmx from jmeter gui and view the cookie information by adding a "view > results tree" element to my thread group. Does anyone know how I would > accomplish the same thing remotely? (Note that I have to run the remote > tests through CLI) > > TIA! > > > -- > View this message in context: > http://www.nabble.com/remote-jmeter-logging-question-tp19167347p19167347.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: remote jmeter logging question
I tried it here..if you have view results tree writing to a file and in any view results tree listener if you open that file(extension jtl)... it shows all the logged data in same form.. if jmeter is run with -n option this is the only way I can think of.. Himanshu On 8/26/08, gwatson <[EMAIL PROTECTED]> wrote: > > Well, I have it in my test plan. I just dont know what options to start > jmeter with in order to view the data written to the results tree. Anyone > know? > > > Himanshu Ghai wrote: > > > > In my jmeter scripts that are launched using cron..I have given a shared > > location as the path for aggregate log...try it in your jmeter plan > > itself.. > > to give a path for the view results tree jmx file...results tree could > > be pretty resource intensive...use the configure option for view results > > tree to > > minimize the logged data... may be request headers are sufficient... > > > > Thanks, > > Himanshu > > > > > > On 8/26/08, gwatson <[EMAIL PROTECTED]> wrote: > >> > >> Hello, sorry if this is in the wrong place but I am new to this forum. > >> > >> Anywhoo, I am using jmeter from a remote server to test load balancing > >> through a couple of new server iron GT's. I have the serverirons > >> configured > >> to hand out cookies to cookie-able browsers in order to maintain session > >> state. (our application is relies on session state) > >> > >> I am using the following command to run a jmx test plan against said > >> load > >> balancer: (from a wrapper script) > >> > >> jmeter -n -DHost=$HOST -t $JMXDIR/$JMX -Dhttpclient.localaddress=$IP -l > >> $LOG > >> > >> The tests appear to be working. However, I need to verify that I am > >> getting > >> cookie'd appropriately. I dont see anything in the logfile that Im > >> writing > >> to that lets me know what cookies Ive been issued. Locally Im able to > >> run a > >> jmx from jmeter gui and view the cookie information by adding a "view > >> results tree" element to my thread group. Does anyone know how I would > >> accomplish the same thing remotely? (Note that I have to run the remote > >> tests through CLI) > >> > >> TIA! > >> > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/remote-jmeter-logging-question-tp19167347p19167347.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/remote-jmeter-logging-question-tp19167347p19167819.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: remote jmeter logging question
I didn't have a machine right now to run a test remotely but it seems that default save on view results tree does not log the request/response headers..it shows info on UI but doesnt log it to a file...I was able to log it by changing it through configure option in view results tree.. Can you try modifying jmx in a text editor? the one on remote machine.. see if you can do a true, true for the view results tree.. If its currently set to false on remote machine's jmx then this is probably the reason.. Himanshu On 8/27/08, gwatson <[EMAIL PROTECTED]> wrote: > > I set up my test plan locally to write the results tree data to a file, > copied it out to the remote box and invoked it using jmeter -n blah blah > blah. It does write the log file (I guess) but that log file doesnt show me > any information relating to cookies. Though when I run it locally and then > view results tree, it does. > > Any thoughts? > > > > > Himanshu Ghai wrote: > > > > I tried it here..if you have view results tree writing to a file and > > in any view results tree listener if you open that file(extension > > jtl)... it shows all the logged data in same form.. > > if jmeter is run with -n option this is the only way I can think of.. > > > > Himanshu > > > > > > > > On 8/26/08, gwatson <[EMAIL PROTECTED]> wrote: > >> > >> Well, I have it in my test plan. I just dont know what options to start > >> jmeter with in order to view the data written to the results tree. > >> Anyone > >> know? > >> > >> > >> Himanshu Ghai wrote: > >> > > >> > In my jmeter scripts that are launched using cron..I have given a > >> shared > >> > location as the path for aggregate log...try it in your jmeter plan > >> > itself.. > >> > to give a path for the view results tree jmx file...results tree could > >> > be pretty resource intensive...use the configure option for view > >> results > >> > tree to > >> > minimize the logged data... may be request headers are sufficient... > >> > > >> > Thanks, > >> > Himanshu > >> > > >> > > >> > On 8/26/08, gwatson <[EMAIL PROTECTED]> wrote: > >> >> > >> >> Hello, sorry if this is in the wrong place but I am new to this > >> forum. > >> >> > >> >> Anywhoo, I am using jmeter from a remote server to test load > >> balancing > >> >> through a couple of new server iron GT's. I have the serverirons > >> >> configured > >> >> to hand out cookies to cookie-able browsers in order to maintain > >> session > >> >> state. (our application is relies on session state) > >> >> > >> >> I am using the following command to run a jmx test plan against said > >> >> load > >> >> balancer: (from a wrapper script) > >> >> > >> >> jmeter -n -DHost=$HOST -t $JMXDIR/$JMX -Dhttpclient.localaddress=$IP > >> -l > >> >> $LOG > >> >> > >> >> The tests appear to be working. However, I need to verify that I am > >> >> getting > >> >> cookie'd appropriately. I dont see anything in the logfile that Im > >> >> writing > >> >> to that lets me know what cookies Ive been issued. Locally Im able > >> to > >> >> run a > >> >> jmx from jmeter gui and view the cookie information by adding a > >> "view > >> >> results tree" element to my thread group. Does anyone know how I > >> would > >> >> accomplish the same thing remotely? (Note that I have to run the > >> remote > >> >> tests through CLI) > >> >> > >> >> TIA! > >> >> > >> >> > >> >> -- > >> >> View this message in context: > >> >> > >> > http://www.nabble.com/remote-jmeter-logging-question-tp19167347p19167347.html > >> >> Sent from the JMeter - User mailing list archive at Nabble.com. > >> >> > >> >> > >> >> > >> - > >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> >> For additional commands,
Re: How does browsers handle secondary requests
browser makes different connections and a single connection can serve multiple requests(http 1.1)..if using firefox there's a setting in about:config to set how many parallel connections you can have to a server(4 or 6)..http 1.1 rfc states that there should be a limit of 2 connections to a server..if you want to serve too much static content you'd be better off serving from separate domains.. jmeter does it sequentially...get the plugin tamper data for firefox and generate graphs to see it closely..there's checkbox in request sampler which when checked gets the static content all the time in jmeter(sequentially) Himanshu On Thu, Sep 18, 2008 at 10:40 PM, <[EMAIL PROTECTED]> wrote: > Guys, > A basic question for you ...When a single request for a > resource like a jsp generates many smaller secondary requests (like > for.gif, java scripts etc ) how does browser handle them ? Are they > processed parallely or sequentially ? How does Jmeter treat them ? > > Regards, > > Subhrajyoti > Mobile: +919830079545 > Mail: [EMAIL PROTECTED] > Web: www.labware.com > > LabWare LIMS Solutions - Results Count
Re: I have a problem when i run a test plan recorded by proxy.
here's an asap reply...start comparing the request and responses from the beginning of your script to the end with what your browser sends.. wherever you see any difference in the request/cookies/response correct it.. use a proxy(paros/achilles) or http live headers/firebug to see requests nd response from browser... request first in the plan should be sent first..are you running multiple threads? this is a list where people contribute..to me it does not seem appropriate to ask for ASAP responses.. Himanshu On Mon, Sep 29, 2008 at 2:40 AM, Sandeep G <[EMAIL PROTECTED]>wrote: > > Hi All, > I recorded an application with proxy with 1 user...requests are as follows > 1.Login(It contains username and password) > 2.click apply for job link > 3.apply job form 1 and click next(It contains applicant details) > 4.apply job form 2 and click submit(It contains competencies text area box) > > I saved that recorded testPlan. > Added http cookie for whole thread group.Set cookie policy as > Compatibility.Added Listeners(view results tree,view results table,summary > report etc..) > I changed username and password values in login sampler. > I changed lastname,firstname,emailid and password values in apply job form > 1 > sampler.I didn't disturb rest of the form 1 details. > I saved testplan and started run. > After completion, i saw view results tree.logged in success fully.apply job > 1 and 2 forms are not added. > Actually apply job 1 form should appear first but job 2 form appeared first > in tree.also values are not set what i have given. > I hope any other stuff has to be added.. > I stucked here.I unable to go next step. > Please reply me ASAP. > > Regards, > Sandeep G. > > > > > > -- > View this message in context: > http://www.nabble.com/I-have-a-problem-when-i-run-a-test-plan-recorded-by-proxy.-tp19720854p19720854.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] > >
Jmeter test, configure proxy from a url
Greetings jmeter users, We have proxy rules in our organization which are configured through a url. These rules set different proxy for http and https. I am not able to find a way to specify different proxy servers for http and https. Is there a way to accomplish it built in with jmeter? Himanshu - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
Re: Jmeter test, configure proxy from a url
Thank you for your response deepak. We managed to work around it since the proxy rules file that i read meant we were not using proxy for particular hosts. so i just bypassed proxy for those hosts using -N parameter. Using a local proxy was not an option since it would be an additional overhead along with this unnecessary proxy we have already. This proxy is mandated by our network folks..:-).Our users will be using same proxy too.. Himanshu On Thu, Apr 22, 2010 at 12:49 PM, Deepak Shetty wrote: > Hi > a check whether apache httpclient lets you configure different proxies (It > didnt , the last I remember) - If this is yes you might be able to use the > HTTPClient sampler. > If not then the only way I can think of is use a proxy like fiddler which > can itself chain to upstream proxies (your actual proxies) and then > configure JMeter to use fiddler, never tried it though, proxying https has > always been a problem...Usually for a performance test you shouldnt really > be using proxies. > > regards > deepak > > > On Thu, Apr 22, 2010 at 11:24 AM, Himanshu Ghai >wrote: > > > Greetings jmeter users, > > > > We have proxy rules in our organization which are configured through a > > url. These rules > > set different proxy for http and https. > > > > I am not able to find a way to specify different proxy servers for > > http and https. Is there > > a way to accomplish it built in with jmeter? > > > > Himanshu > > > > - > > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > > >
problem with remote beanshell configuration
Greetings Jmeter users, In the jmeter.properties file under beanshell configuration we included a modified startup.bsh file. Also changed the init configuration. Everything works alright as expected if we launch the test locally. However when we start the test from a remote machine, the server initialization file under beanshell configuration isn't executed. I have been struggling with it for a while..any help is appreciated.. Thanks Himanshu
Re: problem with remote beanshell configuration
yes Sebb, jmeter controller machine and host servers have same jmeter.properties file. this line server initialization launches our custom code in startup.bsh that starts a listener (our modification): beanshell.server.file=../extras/startup.bsh Other properties from jmeter.properties file are picked alright.. Many thanks for looking into this Himanshu On Tue, Aug 31, 2010 at 11:03 AM, sebb wrote: > On 31 August 2010 18:30, Himanshu Ghai wrote: > > Greetings Jmeter users, > > > > In the jmeter.properties file under beanshell configuration we included a > > modified startup.bsh file. Also changed the init > > configuration. Everything works alright as expected if we launch the test > > locally. However when we start the test from > > a remote machine, the server initialization file under beanshell > > configuration isn't executed. > > Did you update the server's copy of jmeter.properties file? > > > I have been struggling with it for a while..any help is appreciated.. > > > > Thanks > > Himanshu > > > > - > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > >
Re: problem with remote beanshell configuration
It executes on the controller machine when I launch jmeter with this command ./jmeter -t plan_xxx.jmx -r then I run it on the configured remote hosts using menu option..it doesn't execute there on the remote hosts. one thing i noticed is that this code(.bsh) gets executed not when i run the test plan but when I launch jmeter... by listener i meant our custom code that looks for incoming requests run by the .bsh file.. Himanshu On Tue, Aug 31, 2010 at 11:55 AM, sebb wrote: > On 31 August 2010 19:46, Himanshu Ghai wrote: > > yes Sebb, jmeter controller machine and host servers have same > > jmeter.properties > > file. > > > > this line server initialization launches our custom code in startup.bsh > that > > starts a > > listener (our modification): > > > > beanshell.server.file=../extras/startup.bsh > > So does the startup.bsh file gete executed or not? > > Note that listeners are treated specially by the JMeter client-server > code - the test plan is actually changed on the fly when sending > listeners to the server. > This is necessary to ensure that the server listener code can send the > sample data back to the client. > > > Other properties from jmeter.properties file are picked alright.. > > > > Many thanks for looking into this > > > > Himanshu > > > > > > > > On Tue, Aug 31, 2010 at 11:03 AM, sebb wrote: > > > >> On 31 August 2010 18:30, Himanshu Ghai wrote: > >> > Greetings Jmeter users, > >> > > >> > In the jmeter.properties file under beanshell configuration we > included a > >> > modified startup.bsh file. Also changed the init > >> > configuration. Everything works alright as expected if we launch the > test > >> > locally. However when we start the test from > >> > a remote machine, the server initialization file under beanshell > >> > configuration isn't executed. > >> > >> Did you update the server's copy of jmeter.properties file? > >> > >> > I have been struggling with it for a while..any help is appreciated.. > >> > > >> > Thanks > >> > Himanshu > >> > > >> > >> - > >> 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: problem with remote beanshell configuration
Thanks Sebb, is there a way that I can get it to execute when I run remotely.. On Tue, Aug 31, 2010 at 3:15 PM, sebb wrote: > On 31 August 2010 21:11, Himanshu Ghai wrote: > > It executes on the controller machine when I launch jmeter with this > command > > > > ./jmeter -t plan_xxx.jmx -r > > > > then I run it on the configured remote hosts using menu option..it > doesn't > > execute there > > on the remote hosts. one thing i noticed is that this code(.bsh) gets > > executed not when > > i run the test plan but when I launch jmeter... > > Yes, that is what is supposed to happen - it is a startup script. > > > by listener i meant our custom code that looks for incoming requests run > by > > the > > .bsh file.. > > > > Himanshu > > > > On Tue, Aug 31, 2010 at 11:55 AM, sebb wrote: > > > >> On 31 August 2010 19:46, Himanshu Ghai wrote: > >> > yes Sebb, jmeter controller machine and host servers have same > >> > jmeter.properties > >> > file. > >> > > >> > this line server initialization launches our custom code in > startup.bsh > >> that > >> > starts a > >> > listener (our modification): > >> > > >> > beanshell.server.file=../extras/startup.bsh > >> > >> So does the startup.bsh file gete executed or not? > >> > >> Note that listeners are treated specially by the JMeter client-server > >> code - the test plan is actually changed on the fly when sending > >> listeners to the server. > >> This is necessary to ensure that the server listener code can send the > >> sample data back to the client. > >> > >> > Other properties from jmeter.properties file are picked alright.. > >> > > >> > Many thanks for looking into this > >> > > >> > Himanshu > >> > > >> > > >> > > >> > On Tue, Aug 31, 2010 at 11:03 AM, sebb wrote: > >> > > >> >> On 31 August 2010 18:30, Himanshu Ghai > wrote: > >> >> > Greetings Jmeter users, > >> >> > > >> >> > In the jmeter.properties file under beanshell configuration we > >> included a > >> >> > modified startup.bsh file. Also changed the init > >> >> > configuration. Everything works alright as expected if we launch > the > >> test > >> >> > locally. However when we start the test from > >> >> > a remote machine, the server initialization file under beanshell > >> >> > configuration isn't executed. > >> >> > >> >> Did you update the server's copy of jmeter.properties file? > >> >> > >> >> > I have been struggling with it for a while..any help is > appreciated.. > >> >> > > >> >> > Thanks > >> >> > Himanshu > >> >> > > >> >> > >> >> - > >> >> 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: problem with remote beanshell configuration
will try it..thanks for quick responses On Tue, Aug 31, 2010 at 3:37 PM, sebb wrote: > On 31 August 2010 23:31, Himanshu Ghai wrote: > > Thanks Sebb, is there a way that I can get it to execute when I run > > remotely.. > > No. > > It is a startup script, it runs when you start JMeter, not when you > start a test. > > However you can use a BeanShell test element wherever you like in the test > plan. > > > > > On Tue, Aug 31, 2010 at 3:15 PM, sebb wrote: > > > >> On 31 August 2010 21:11, Himanshu Ghai wrote: > >> > It executes on the controller machine when I launch jmeter with this > >> command > >> > > >> > ./jmeter -t plan_xxx.jmx -r > >> > > >> > then I run it on the configured remote hosts using menu option..it > >> doesn't > >> > execute there > >> > on the remote hosts. one thing i noticed is that this code(.bsh) gets > >> > executed not when > >> > i run the test plan but when I launch jmeter... > >> > >> Yes, that is what is supposed to happen - it is a startup script. > >> > >> > by listener i meant our custom code that looks for incoming requests > run > >> by > >> > the > >> > .bsh file.. > >> > > >> > Himanshu > >> > > >> > On Tue, Aug 31, 2010 at 11:55 AM, sebb wrote: > >> > > >> >> On 31 August 2010 19:46, Himanshu Ghai > wrote: > >> >> > yes Sebb, jmeter controller machine and host servers have same > >> >> > jmeter.properties > >> >> > file. > >> >> > > >> >> > this line server initialization launches our custom code in > >> startup.bsh > >> >> that > >> >> > starts a > >> >> > listener (our modification): > >> >> > > >> >> > beanshell.server.file=../extras/startup.bsh > >> >> > >> >> So does the startup.bsh file gete executed or not? > >> >> > >> >> Note that listeners are treated specially by the JMeter client-server > >> >> code - the test plan is actually changed on the fly when sending > >> >> listeners to the server. > >> >> This is necessary to ensure that the server listener code can send > the > >> >> sample data back to the client. > >> >> > >> >> > Other properties from jmeter.properties file are picked alright.. > >> >> > > >> >> > Many thanks for looking into this > >> >> > > >> >> > Himanshu > >> >> > > >> >> > > >> >> > > >> >> > On Tue, Aug 31, 2010 at 11:03 AM, sebb wrote: > >> >> > > >> >> >> On 31 August 2010 18:30, Himanshu Ghai > >> wrote: > >> >> >> > Greetings Jmeter users, > >> >> >> > > >> >> >> > In the jmeter.properties file under beanshell configuration we > >> >> included a > >> >> >> > modified startup.bsh file. Also changed the init > >> >> >> > configuration. Everything works alright as expected if we launch > >> the > >> >> test > >> >> >> > locally. However when we start the test from > >> >> >> > a remote machine, the server initialization file under beanshell > >> >> >> > configuration isn't executed. > >> >> >> > >> >> >> Did you update the server's copy of jmeter.properties file? > >> >> >> > >> >> >> > I have been struggling with it for a while..any help is > >> appreciated.. > >> >> >> > > >> >> >> > Thanks > >> >> >> > Himanshu > >> >> >> > > >> >> >> > >> >> >> > - > >> >> >> 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: problem with remote beanshell configuration
This is resolved..Thanks Sebb.. There is a related problem that I face now..The http server started with beanshell.server.port=9000 does not start when I execute the tests remotely. I tried giving this property on command line as -Jbeanshell.server.port=9000 but didn't help. On Tue, Aug 31, 2010 at 4:48 PM, Himanshu Ghai wrote: > will try it..thanks for quick responses > > > On Tue, Aug 31, 2010 at 3:37 PM, sebb wrote: > >> On 31 August 2010 23:31, Himanshu Ghai wrote: >> > Thanks Sebb, is there a way that I can get it to execute when I run >> > remotely.. >> >> No. >> >> It is a startup script, it runs when you start JMeter, not when you >> start a test. >> >> However you can use a BeanShell test element wherever you like in the test >> plan. >> >> > >> > On Tue, Aug 31, 2010 at 3:15 PM, sebb wrote: >> > >> >> On 31 August 2010 21:11, Himanshu Ghai wrote: >> >> > It executes on the controller machine when I launch jmeter with this >> >> command >> >> > >> >> > ./jmeter -t plan_xxx.jmx -r >> >> > >> >> > then I run it on the configured remote hosts using menu option..it >> >> doesn't >> >> > execute there >> >> > on the remote hosts. one thing i noticed is that this code(.bsh) gets >> >> > executed not when >> >> > i run the test plan but when I launch jmeter... >> >> >> >> Yes, that is what is supposed to happen - it is a startup script. >> >> >> >> > by listener i meant our custom code that looks for incoming requests >> run >> >> by >> >> > the >> >> > .bsh file.. >> >> > >> >> > Himanshu >> >> > >> >> > On Tue, Aug 31, 2010 at 11:55 AM, sebb wrote: >> >> > >> >> >> On 31 August 2010 19:46, Himanshu Ghai >> wrote: >> >> >> > yes Sebb, jmeter controller machine and host servers have same >> >> >> > jmeter.properties >> >> >> > file. >> >> >> > >> >> >> > this line server initialization launches our custom code in >> >> startup.bsh >> >> >> that >> >> >> > starts a >> >> >> > listener (our modification): >> >> >> > >> >> >> > beanshell.server.file=../extras/startup.bsh >> >> >> >> >> >> So does the startup.bsh file gete executed or not? >> >> >> >> >> >> Note that listeners are treated specially by the JMeter >> client-server >> >> >> code - the test plan is actually changed on the fly when sending >> >> >> listeners to the server. >> >> >> This is necessary to ensure that the server listener code can send >> the >> >> >> sample data back to the client. >> >> >> >> >> >> > Other properties from jmeter.properties file are picked alright.. >> >> >> > >> >> >> > Many thanks for looking into this >> >> >> > >> >> >> > Himanshu >> >> >> > >> >> >> > >> >> >> > >> >> >> > On Tue, Aug 31, 2010 at 11:03 AM, sebb wrote: >> >> >> > >> >> >> >> On 31 August 2010 18:30, Himanshu Ghai >> >> wrote: >> >> >> >> > Greetings Jmeter users, >> >> >> >> > >> >> >> >> > In the jmeter.properties file under beanshell configuration we >> >> >> included a >> >> >> >> > modified startup.bsh file. Also changed the init >> >> >> >> > configuration. Everything works alright as expected if we >> launch >> >> the >> >> >> test >> >> >> >> > locally. However when we start the test from >> >> >> >> > a remote machine, the server initialization file under >> beanshell >> >> >> >> > configuration isn't executed. >> >> >> >> >> >> >> >> Did you update the server's copy of jmeter.properties file? >> >> >> >> >> >> >> >> > I have been struggling with it for a while..any help is >> >> appreciated.. >> >> >> >> > >> >> >> >> > Thanks >> >> >> >> > Himanshu >> >> >> >> > >> >> >> >> >> >> >> >> >> - >> >> >> >> 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 >> >> >
problem starting beanshell http server remotely
Hello Jmeter users, I am facing a problem with remote execution of tests. In jmeter.properties there is a configuration for beanshell http server. The http server started with beanshell.server.port=9000 does not start when I execute the tests remotely. I tried giving this property on command line as -Jbeanshell.server.port=9000 but didn't help. Himanshu