AJAX Calls in JMETER

2008-10-06 Thread Jmeter PRA
Hi ALL I am conducting load test of AJAX based web application,Now I have configrued http proxy under work bench and making some http requests under thread group. Where can i see the AJAX calls that are being made. Can any one send me the sample Jmeter to make ajax calls also Please help me

RE: AJAX Calls in JMETER

2008-10-06 Thread Jose Pablo Sarco
I only use the http Header Manager and work fine for me. Check the messages: http://marc.info/?l=jmeter-userw=2r=1s=GWTq=b Regards, Jose -Original Message- From: Jmeter PRA [mailto:[EMAIL PROTECTED] Sent: Lunes, 06 de Octubre de 2008 10:04 a.m. To: jmeter-user@jakarta.apache.org

please help with a javascript error

2008-10-06 Thread henryd
Can you please tell me what is wrong with this function: ${__javaScript(var d = new Date(); var date = d.getDate(); var t=d.getTime(); var tl=t.length; var subtl=t.substr(0,t.tl-1); $sn = p+subtl;)}${__threadNum} -- View this message in context:

Re: please help with a javascript error

2008-10-06 Thread sebb
On 06/10/2008, henryd [EMAIL PROTECTED] wrote: Can you please tell me what is wrong with this function: ${__javaScript(var d = new Date(); var date = d.getDate(); var t=d.getTime(); var tl=t.length; var subtl=t.substr(0,t.tl-1); $sn = p+subtl;)}${__threadNum} What error message(s) are

Which Regular Expression I need?

2008-10-06 Thread Jose Pablo Sarco
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,

Re: please help with a javascript error

2008-10-06 Thread henryd
I am using Jmeter 2.3.2. I like to generate a unique string of 13 characters (based on the timestamp) and the first character has to be an alphabet. I was getting a string with a timestamp and want to extract 12 digits from 0 thru 12 and like to prefix it with an alpha character (eg: p).

How to remove or transfer root.log with JMeter and setting commend line parameters

2008-10-06 Thread Z W
Hi 1 - My experience with JMeter is that root.log file is created when a Jmeter run completes. How to do I redirect this file to some other filename or disable it ? 2 - I like to run Jmeter in non-GUI method. How do I set these parameters on command line a- Number of threads b- ramp-up period c-

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 Jose Pablo Sarco
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:

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: How do i record Multiple HTTP Request on single thread.

2008-10-06 Thread sujitkrnayak2006
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:

Re: Which Regular Expression I need?

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

RE: Which Regular Expression I need?

2008-10-06 Thread Jose Pablo Sarco
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

Re: Which Regular Expression I need?

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

ApacheJMeter.jar with cygwin

2008-10-06 Thread Z W
Hi I'm running a Jmeter process but when the test run completes, it's still running. This is checked with ps -ef | grep java Is there a way to run with Jmeter command line such that when the test run is completed, the Jmeter process would just go away. I remember on linux platform, that was the

Re: GUI client hangs trying to start remote test

2008-10-06 Thread Adam Monsen
Hi Sebb, sorry for the slow response, and thank you very much for your help so far. On Fri, Oct 3, 2008 at 6:11 PM, sebb wrote: The client log shows: IP: 127.0.1.1 Name: scraps FullName: scraps which means that the client /etc/hosts is not set up correctly. That's strange! I've commented