Re: more on beanshell

2008-07-08 Thread kirk
Hi Sebb, What I was hoping for was the ability to contain all properties on a project by project basis so that I could lock down the distribution. Seems like there are a few options to manage this. I can have local copies of user.properties and system.properties. Having the ability to define

HTTP sampler PUT request body

2008-07-08 Thread holger achtziger
Hello there, i'm new with jmeter and currently trying to generate a load test for an AJAX application. The application is talking JSON. All reading tasks, i could succesfully create. The writing ones that use PUT won't work. The reqest body always is empty: -- PUT http://localhost/ajax/calen

Re: external java script function

2008-07-08 Thread sebb
On 08/07/2008, cham <[EMAIL PROTECTED]> wrote: > > Hi again, > actually what I am doing now is trying to validate the syntaxe of my sampler > HTTP result. > I used (save responses to a file) to save my json file, and what I need now > is to try one of the followings: > * Try to integrate JSLi

Re: Connection time out when testing webserver over umts-connection

2008-07-08 Thread sebb
On 08/07/2008, Funda <[EMAIL PROTECTED]> wrote: > Hi all, > > im testing webserver over umts-connection by using jmeter on my laptop . > when simulating 10 clients the same time with just 1 repetiton, i get > following error message: > Do you get this for every sample, or only some? > java.net.

Re: more on beanshell

2008-07-08 Thread sebb
On 08/07/2008, kirk <[EMAIL PROTECTED]> wrote: > Hi, > > I tend to test many websites so keeping beanshell scripts in the jmeter > distro doesn't allow me to keep things as organized as I'd like them to be. > Does anyone know of some way to set an alternate directory for the pre, > post, and sampl

more on beanshell

2008-07-08 Thread kirk
Hi, I tend to test many websites so keeping beanshell scripts in the jmeter distro doesn't allow me to keep things as organized as I'd like them to be. Does anyone know of some way to set an alternate directory for the pre, post, and sampler beanshell scripts? Regards, Kirk

Re: Using Java in BSF Sampler

2008-07-08 Thread sebb
On 08/07/2008, cham <[EMAIL PROTECTED]> wrote: > > Hello, > > I am trying to wirte a function in java as I saw that BSF sampler supports > java, but it didnt work. Jmeter cant find the java classes. The BSF sampler does not support Java per se: http://jakarta.apache.org/bsf/ But it does suppor

Re: Starting threads per second, rather than a fixed number

2008-07-08 Thread sebb
On 08/07/2008, Andrey Beznogov <[EMAIL PROTECTED]> wrote: > Hi again, > > I may be mistaken, but I think I read somewhere that you cannot change > the ThreadGroup parameters during the test. Which mean that you cannot > keep spawning the threads until you are satisfied. > JMeter does not suppor

Re: Branching in tests

2008-07-08 Thread sebb
On 08/07/2008, Andrey Beznogov <[EMAIL PROTECTED]> wrote: > Hi, > > So as I understand, the script will be something like > > > Random generator = new Random(); > double myRandom = generator.nextDouble(); > if (myRandom < 0.9) { > > return 0; > > } else if (myRandom < 0.95) { > >

Re: SMTP, IMAP JMeter Possible ?

2008-07-08 Thread sebb
On 08/07/2008, Z W <[EMAIL PROTECTED]> wrote: > Hi > > I'm new to JMeter. Is it possible to use SMTP and IMAP inside JMeter ? JMeter already supports reading e-mails by POP3(S) and IMAP(S). http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Mail_Reader_Sampler > If so, could

SMTP, IMAP JMeter Possible ?

2008-07-08 Thread Z W
Hi I'm new to JMeter. Is it possible to use SMTP and IMAP inside JMeter ? If so, could someone show me how to write a simple sampler to achieve this ? Any help is appreciated. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED]

Using Java in BSF Sampler

2008-07-08 Thread cham
Hello, I am trying to wirte a function in java as I saw that BSF sampler supports java, but it didnt work. Jmeter cant find the java classes. Any ideas ? Thanx in advance -- View this message in context: http://www.nabble.com/Using-Java-in-BSF-Sampler-tp18342238p18342238.html Sent from the

Re: Starting threads per second, rather than a fixed number

2008-07-08 Thread Andrey Beznogov
Hi again, I may be mistaken, but I think I read somewhere that you cannot change the ThreadGroup parameters during the test. Which mean that you cannot keep spawning the threads until you are satisfied. But anyway, why won't you just use a big enough number of threads? In the end, if the total ra

Problem getting access to a JMS queue after being authenticated using JMS Point-to-Point

2008-07-08 Thread David McInerney
Hi All, I am trying to send JMS messages to a JMS queue using JMeter (JMS Point-to-Point) I am using weblogic92 and the queue is secured. I have been looking through the logs & I can see the user being secured but i'm not able to get access to the queues I have set the: Java.naming.security.prin

RE: Starting threads per second, rather than a fixed number

2008-07-08 Thread Marmelstein, John
Hi Thanks for your message. The behavior I wish to model is: an activity starts every 10 seconds. It models a call center, where a new call arrives every 10 seconds. I can implement this by starting a thread every 10 seconds. JMeter basic behavior is to set the number of threads. There is no dir

Connection time out when testing webserver over umts-connection

2008-07-08 Thread Funda
Hi all, im testing webserver over umts-connection by using jmeter on my laptop . when simulating 10 clients the same time with just 1 repetiton, i get following error message: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method)

Re: external java script function

2008-07-08 Thread cham
Hi again, actually what I am doing now is trying to validate the syntaxe of my sampler HTTP result. I used (save responses to a file) to save my json file, and what I need now is to try one of the followings: * Try to integrate JSLint in JMeter to do the validation. * Try to write a function

Re: Starting threads per second, rather than a fixed number

2008-07-08 Thread Andrey Beznogov
Hi, Mmm I am not sure I understand what you mean, but the Constant Throughput Timer might be the element you would like to use in that case. It will pause the samples in threads so that only about X requests per minute are sent. http://jakarta.apache.org/jmeter/usermanual/component_reference.html

Starting threads per second, rather than a fixed number

2008-07-08 Thread Marmelstein, John
Hi, Might anyone know to run a test by starting a thread certain number of threads per second, rather than maintaining a fixed number of threads? To explain, we wish to simulate a call centre with calls arriving every 10 seconds. If I knew how long the calls would be (say, one minute), I could sa

Re: external java script function

2008-07-08 Thread Kirk Pepperdine
Hi, I've not found a good way to run JavaScript. Many of the interesting scripts rely on the DOM. JMeter doesn't have a DOM The best I've been able to do if figure out what is needed from the JS and use BeanShell to make it work. Regards, Kirk On Tue, Jul 8, 2008 at 9:13 AM, Andrey Beznogov

Re: external java script function

2008-07-08 Thread Andrey Beznogov
Hi, I never tried it myself, but as I understand you can use the BSF Sampler element, which can process the JavaScript you put into it. http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BSF_Sampler I hope that helps. Andrey On Mon, Jul 7, 2008 at 7:30 PM, cham <[EMAIL PROTEC

Re: Branching in tests

2008-07-08 Thread Andrey Beznogov
Hi, So as I understand, the script will be something like Random generator = new Random(); double myRandom = generator.nextDouble(); if (myRandom < 0.9) { return 0; } else if (myRandom < 0.95) { return 1; } else { return 2; } instead. But where should I put