Re: How to use Beanshell Listener

2006-08-03 Thread prakash abraham
we can access all the java packages in beanshell script, just import the java.io.* and create a file and log your data to it as you do with normal java pgms. On 8/4/06, Tarun Khurana <[EMAIL PROTECTED]> wrote: I Have been able to use the Beanshell sampler to output the value of a variable to

RE: How to use Beanshell Listener

2006-08-03 Thread Tarun Khurana
I Have been able to use the Beanshell sampler to output the value of a variable to the command prompt using the print command. Can anyone tell me how to log the same data to a log file and which command do we need to use in this case. Regards Tarun -Original Message- From: sebb [mailto:

RE: How to use Beanshell Listener

2006-08-03 Thread Tarun Khurana
I basically want to output the value of a variable to a file at runtime itself. Can you suggest me another method to do the same. Regards Tarun -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 7:12 PM To: JMeter Users List Subject: Re: How to use

Encoding of cookies in JMeter 2.2 using HTTPClient

2006-08-03 Thread Milla Makelainen
Hi all, I've just been changing a script to use "HTTP Request HTTPClient" instead of "HTTP Request" to get the use of the httpclient.localaddress property I was asking about earlier on this week. I've come across a problem - it looks like HTTPClient is possibly encoding the cookies in a diffe

Re: How to use Beanshell Listener

2006-08-03 Thread sebb
http://jakarta.apache.org/jmeter/usermanual/get-started.html http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Sampler http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Assertion On 03/08/06, Chris Hansen <[EMAIL PROTECTED]> wrote: Hey se

Re: How to use Beanshell Listener

2006-08-03 Thread Chris Hansen
Hey sebb, you just answered a question that I hadn't asked (yet) since I'm a bit overloaded - I couldn't get beanshell running either and didn't realize that I needed to put the beanshell.jar into the lib directory. I'm sure I would have found mention of that in the documentation; I just hadn't go

Re: Response time of a recorded page.

2006-08-03 Thread Chris Hansen
You would record the time for all materials on a page to download, not just the text of the html page. Labudu Gopanna wrote: > Hi all, > > I am using jmeter 2.2 version > > I have recorded using proxy server > > It shows no. of url like .gif, .js., .pnp extensions. > > Should I consider these

RE: Extending Jmeter for highly asynchronous protocol

2006-08-03 Thread Mikko Ohtamaa
> JMeter was originally designed for testing HTTP servers. It has since been expanded to test other request/response servers. > The current samplers are all effectively synchronous. > It is not clear how or whether it could be extended to deal with asynchronous testing. Sorry I can't be more spec

Re: Extending Jmeter for highly asynchronous protocol

2006-08-03 Thread Peter Lin
JMeter can test async protocols like messaging. To get it to work though isn't easy. You can look at how the JMS point-to-point sampler works. the hard part is really correlating the request message with the response message. peter On 8/3/06, Mikko Ohtamaa <[EMAIL PROTECTED]> wrote: Hi, I am

Re: HTTPS request through proxy server

2006-08-03 Thread sebb
I noticed that too. I'm not sure what the "key" is that it is looking for, but if the test works anyway, I suggest you ignore it. Or you could file a Bugzilla issue. On 03/08/06, Sen, Kakoli <[EMAIL PROTECTED]> wrote: Hi all, Using JMeter 2.2, jdk1.5.0_03. Could run HTTPS requests through m

Re: AJP sampler

2006-08-03 Thread sebb
The only information currently is here: http://issues.apache.org/bugzilla/show_bug.cgi?id=37652 S. On 03/08/06, Srinims <[EMAIL PROTECTED]> wrote: Hi Sebb/Peter, Would like some info on the AJP/1.3 sampler.DOn't remember seeing anything on that in the documentation . Thanks Srinims -- View t

Re: Jmeter enhancements pls

2006-08-03 Thread Srinims
OOps sorry about that sebb .will do that :) Srinims -- View this message in context: http://www.nabble.com/Jmeter-enhancements-pls-tf2043737.html#a5632931 Sent from the JMeter - User forum at Nabble.com.

Re: Jmeter enhancements pls

2006-08-03 Thread sebb
Please start a new thread when asking a new question. But please check the archives first - there has been some discussion on handling AJAX in JMeter. S. On 03/08/06, Srinims <[EMAIL PROTECTED]> wrote: Not a problem .will google it out.Pls let me know if there is a way to test AJAX apps using

Re: Constant Throughput Timer

2006-08-03 Thread Srinims
sebb , could u throw light on how the server throughput is caluclated . for .eg if there is an online shooping mart and if we need to calculate "the throughput" of the server i.e no of Shopping transactions that the server can process/sec then would the value that Jmeter displays in the aggreg

Re: How to use Beanshell Listener

2006-08-03 Thread sebb
Download the beanshell jar and put it in the lib directory. Read the BeanShell documentation and http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_Listener and the JavaDoc for sampleEvent and sampleResult. The rest is up to you - I've never needed to use it; I just

Re: Constant Throughput Timer

2006-08-03 Thread sebb
On 03/08/06, Srinims <[EMAIL PROTECTED]> wrote: I was just quoting some values as examples. I don't think the functionality of the Constant Throughput timer would change based on the ramp up time .Pls let me know how the constant throughput timer is supposed to work . It is documented at: ht

Re: Jmeter installation problems

2006-08-03 Thread sebb
On 03/08/06, Mikko Ohtamaa <[EMAIL PROTECTED]> wrote: >I'm trying to get jmeter to run on an Linux Box, i keep on getting the following errors: at kaffe.jar.ExecJarName.main (ExecJarName.java:67) at kaffe.jar.ExecJar.main (ExecJar.java:75) at kaffe.jar.ExecJar.main (ExecJar.java:75) JMeter

Re: Constant Throughput Timer

2006-08-03 Thread Srinims
I was just quoting some values as examples. I don't think the functionality of the Constant Throughput timer would change based on the ramp up time .Pls let me know how the constant throughput timer is supposed to work . -- View this message in context: http://www.nabble.com/Constant-Throughpu

How to use Beanshell Listener

2006-08-03 Thread Tarun Khurana
Hi sebb, Could you please tell me how to use the BeanShell listener. Regards Tarun - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Extending Jmeter for highly asynchronous protocol

2006-08-03 Thread sebb
JMeter was originally designed for testing HTTP servers. It has since been expanded to test other request/response servers. The current samplers are all effectively synchronous. It is not clear how or whether it could be extended to deal with asynchronous testing. Sorry I can't be more specific.

Re: Another JSP Login problem

2006-08-03 Thread sebb
On 03/08/06, Richard <[EMAIL PROTECTED]> wrote: jax wrote: > 2) login.jsp takes a username and password and submits to setup.jsp. Before > the 'submit' occurs, a bit of javascript adds 'username' to the cookie with > the value of what is entered by the user. Once submitted, setup.jsp will > re

RE: Jmeter installation problems

2006-08-03 Thread Mikko Ohtamaa
>I'm trying to get jmeter to run on an Linux Box, i keep on getting the following errors: at kaffe.jar.ExecJarName.main (ExecJarName.java:67) at kaffe.jar.ExecJar.main (ExecJar.java:75) at kaffe.jar.ExecJar.main (ExecJar.java:75) JMeter home directory was detected as: /root stagshoot02:~/

Re: Constant Throughput Timer

2006-08-03 Thread sebb
On 03/08/06, Srinims <[EMAIL PROTECTED]> wrote: Hi Sebb/Peter , Please clarify the significance of using a constant throughput timer . http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Constant_Throughput_Timer Now consider the following case: No of threads : -100 Ramp U

Re: Another JSP Login problem

2006-08-03 Thread Richard
jax wrote: > 2) login.jsp takes a username and password and submits to setup.jsp. Before > the 'submit' occurs, a bit of javascript adds 'username' to the cookie with > the value of what is entered by the user. Once submitted, setup.jsp will > redirect to home.jsp (which requires that there is a

Jmeter installation problems

2006-08-03 Thread tnk
Dear All, I'm trying to get jmeter to run on an Linux Box, i keep on getting the following errors: stagshoot02:~/jakarta-jmeter-2.2/bin# ./jmeter Error: Unrecognized JVM specific option `-XX:NewSize=128m'. Error: Unrecognized JVM specific option `-XX:MaxNewSize=128m'. Error: Unrecognized JVM spe

Extending Jmeter for highly asynchronous protocol

2006-08-03 Thread Mikko Ohtamaa
Hi, I am planning to do some load testing over SIP (Session Initation) protocol. SIP is highly asynchronous protocol. After opening SIP pipe, you never know what kind of messages arrive from there and in which order. The test client needs to maintain various states in its memory so that it can giv

Constant Throughput Timer

2006-08-03 Thread Srinims
Hi Sebb/Peter , Please clarify the significance of using a constant throughput timer . Now consider the following case: No of threads : -100 Ramp Up time -10 secs In this case it would mean that the server would be hit 10 users /sec. Now pls let me know how the usage of a constant throughput ti

HTTPS request through proxy server

2006-08-03 Thread Sen, Kakoli
Hi all, Using JMeter 2.2, jdk1.5.0_03. Could run HTTPS requests through my company's proxy server even though the manual says about a Java bug. But when I run the test for the first time a JDK dialog box pops up asking to enter keystore password. I enter 'changeit'. The console gives error: j

Response time of a recorded page.

2006-08-03 Thread Labudu Gopanna
Hi all, I am using jmeter 2.2 version I have recorded using proxy server It shows no. of url like .gif, .js., .pnp extensions. Should I consider these urls for web page response time? I want one web page response time? Should I add all the response times of different urls(.gif, .css, .js, .pn