Re: problem with remote beanshell configuration

2010-09-23 Thread Himanshu Ghai
at 4:48 PM, Himanshu Ghai himanshug...@gmail.comwrote: will try it..thanks for quick responses On Tue, Aug 31, 2010 at 3:37 PM, sebb seb...@gmail.com wrote: On 31 August 2010 23:31, Himanshu Ghai himanshug...@gmail.com wrote: Thanks Sebb, is there a way that I can get it to execute when I

problem starting beanshell http server remotely

2010-09-23 Thread Himanshu Ghai
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

problem with remote beanshell configuration

2010-08-31 Thread Himanshu Ghai
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

Re: problem with remote beanshell configuration

2010-08-31 Thread Himanshu Ghai
are picked alright.. Many thanks for looking into this Himanshu On Tue, Aug 31, 2010 at 11:03 AM, sebb seb...@gmail.com wrote: On 31 August 2010 18:30, Himanshu Ghai himanshug...@gmail.com wrote: Greetings Jmeter users, In the jmeter.properties file under beanshell configuration we included

Re: problem with remote beanshell configuration

2010-08-31 Thread Himanshu Ghai
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 seb...@gmail.com wrote: On 31 August 2010 19:46, Himanshu Ghai himanshug...@gmail.com wrote: yes Sebb, jmeter

Re: problem with remote beanshell configuration

2010-08-31 Thread Himanshu Ghai
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 seb...@gmail.com wrote: On 31 August 2010 21:11, Himanshu Ghai himanshug...@gmail.com wrote: It executes on the controller machine when I launch jmeter with this command

Re: problem with remote beanshell configuration

2010-08-31 Thread Himanshu Ghai
will try it..thanks for quick responses On Tue, Aug 31, 2010 at 3:37 PM, sebb seb...@gmail.com wrote: On 31 August 2010 23:31, Himanshu Ghai himanshug...@gmail.com 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

Jmeter test, configure proxy from a url

2010-04-22 Thread Himanshu Ghai
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?

Re: JDBC Connection Config

2009-05-07 Thread Himanshu Ghai
users and you bombed it with 5000.. Cheers, Himanshu On Wed, May 6, 2009 at 11:46 PM, kirk k...@kodewerk.com 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

Re: JDBC Connection Config

2009-05-06 Thread Himanshu Ghai
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

Re: JDBC Connection Config

2009-05-05 Thread Himanshu Ghai
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 seb...@gmail.com wrote: On 04/05/2009, C.Vijayakumar bcvijayaku...@altechindia.com wrote: Hi Sebb / Matt , Am using JMeter

Re: Cookie Manager

2009-04-30 Thread Himanshu Ghai
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

Re: stopping jmeter in non-ui mode

2009-04-15 Thread Himanshu Ghai
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

Re: stopping jmeter in non-ui mode

2009-04-15 Thread Himanshu Ghai
(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

Re: jmeter error

2009-04-14 Thread Himanshu Ghai
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

Re: Non-GUI test in Linux server

2009-04-14 Thread Himanshu Ghai
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

stopping jmeter in non-ui mode

2009-04-14 Thread Himanshu Ghai
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

Re: JMeter- how to manage correlation??

2009-03-26 Thread Himanshu Ghai
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 mayankcoo...@gmail.comwrote: Hi all, Could anyone explain me the concept of

Re: ERROR - jmeter.threads.JMeterThread: Test failed!java.lang.OutOfMemoryError: Java heap space.

2009-03-26 Thread Himanshu Ghai
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 ric...@nds.com 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

Re: ERROR - jmeter.threads.JMeterThread: Test failed!java.lang.OutOfMemoryError: Java heap space.

2009-03-24 Thread Himanshu Ghai
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

Re: HTTPS problem

2009-03-23 Thread Himanshu Ghai
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.

Re: How do we analyse the resuts in JMeter??

2009-03-21 Thread Himanshu Ghai
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 ... gattasrika...@gmail.com

Re: Configuring browser though command prompt

2009-03-15 Thread Himanshu Ghai
. 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

Re: Configuring browser though command prompt

2009-03-10 Thread Himanshu Ghai
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

Re: Support for ASP.NET WebForm_PostBackOptions in JMeter

2009-01-08 Thread Himanshu Ghai
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 ssuj...@gmail.com wrote: Hi, I am using JMeter for conducting performance testing for an

Re: Pre-operation samplers

2008-12-19 Thread Himanshu Ghai
is once only controller an option? Himanshu On Thu, Dec 18, 2008 at 9:40 PM, Serpent_Guard bluegate...@gmail.comwrote: 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

Re: Regex - Null Default values

2008-12-18 Thread Himanshu Ghai
, 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

Re: Regex - Null Default values

2008-12-18 Thread Himanshu Ghai
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 bluegate...@gmail.comwrote: Oh, well, empty strings would work too. How did you do it? Himanshu Ghai wrote: sorry! doesnt

Re: jmeter curious elapsed time

2008-12-17 Thread Himanshu Ghai
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 seb...@gmail.com wrote: On 15/12/2008, ickenic n.werni...@gmx.de wrote: Hi, i´m using jmeter 2.3.1 and

Re: Regex - Null Default values

2008-12-17 Thread Himanshu Ghai
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 bluegate...@gmail.comwrote: This isn't so much a question about regex

Re: Unable to Correlation in Siebel Web-http.

2008-12-10 Thread Himanshu Ghai
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

Re: Unable to Correlation in Siebel Web-http.

2008-12-08 Thread Himanshu Ghai
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

Re: Jmeter web performance testing

2008-12-03 Thread Himanshu Ghai
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

Re: Error when running JMeter

2008-10-15 Thread Himanshu Ghai
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

Re: Error when running JMeter

2008-10-14 Thread Himanshu Ghai
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

Re: Regular Expression Extract

2008-10-10 Thread Himanshu Ghai
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

Re: How do i record Multiple HTTP Request on single thread.

2008-10-07 Thread Himanshu Ghai
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

Re: Which Regular Expression I need?

2008-10-06 Thread Himanshu Ghai
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

Re: Which Regular Expression I need?

2008-10-06 Thread Himanshu Ghai
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

Re: Which Regular Expression I need?

2008-10-06 Thread Himanshu Ghai
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

Re: Which Regular Expression I need?

2008-10-06 Thread Himanshu Ghai
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

Re: How do i record Multiple HTTP Request on single thread.

2008-10-04 Thread Himanshu Ghai
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

Re: Test while navigating from one page to another page

2008-10-03 Thread Himanshu Ghai
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

Re: I have a problem when i run a test plan recorded by proxy.

2008-09-29 Thread Himanshu Ghai
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

Re: How does browsers handle secondary requests

2008-09-18 Thread Himanshu Ghai
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

Re: remote jmeter logging question

2008-08-27 Thread Himanshu Ghai
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

Re: Timeout error in webservices

2008-08-26 Thread Himanshu Ghai
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]

Re: remote jmeter logging question

2008-08-26 Thread Himanshu Ghai
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

Re: Session ID changes for a POST request

2008-08-22 Thread Himanshu Ghai
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

Re: problems with JMeter and Apache Load Balancer

2008-08-21 Thread Himanshu Ghai
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