Problem with Jmeter

2006-08-01 Thread Srinims
Hi , I have designed a load test with the use case being the login scenario for an application . Now my test details are as follows : No of Threads :1 Ramp up period -1 sec Forever option checked Run duration - 600 secs Now the tests complete when I start with 1 thread and increase to 25 t

Re: User Defined variable and BeanShell function

2006-08-01 Thread amelaao
I think my problem comes from the way I'm referencing this variable created by RegEx from BeanShell. My RegEx look like: ReferenceName: Attributes Regular Expression: (.+?) Template:$1$ Match No: 1 and the BeanShell function string: ${__BeanShell(String str=v

Boot CD with JMeter?

2006-08-01 Thread Oliver Erlewein \(DSLWN\)
Hi all, I wondered whether somebody out there has a Linux JMeter Boot CD that he/she might share?! What I mean is a bootable Linux (Knoppix or something like it) which is customised to be a JMeter client/server. If not I'll probably try and do something like that over the next weeks (months?!).

Another JSP Login problem

2006-08-01 Thread jax
Hi Everyone, I have trawled through this site (and others via google) and I can't the answer I'm looking for so am posting this question here. 1) I have a jsp page called setup.jsp. This checks for a cookie called 'username'. If it can't find it, then it redirects to login.jsp. 2) login.jsp tak

Re: Code Reuse

2006-08-01 Thread Peter Lin
there's also a Include controller http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Include_Controller not sure if that fits your needs or not. peter On 8/1/06, Carl Nygaard <[EMAIL PROTECTED]> wrote: The module controller was designed with this in mind. Unfortunately it

Re: Code Reuse

2006-08-01 Thread Carl Nygaard
The module controller was designed with this in mind. Unfortunately it is not very reliable. (For example it does not work in non-GUI mode, and saving is flaky.) I also don't think it works at all to abstract out post-processors. As far as I know, you'll have to settle with copy and paste. On

Re: User Defined variable and BeanShell function

2006-08-01 Thread amelaao
so I would like my parameter productAttributes to get its value from this function string I created, but still no results: ${__BeanShell(String str = vars.get("Attributes"); String newstr = str.replace("<"\," wrote: To explain this a bit more. This is a sequence: 1. Variable Attributes is retu

Re: User Defined variable and BeanShell function

2006-08-01 Thread amelaao
To explain this a bit more. This is a sequence: 1. Variable Attributes is returned from a RegEx in a step before. 2. I have a Soap RPC Sampler with a preprocessor - User Parameters. This parameter NewAttributes needs to be populated with whatever BeanShell function returns in order for that Soap

Re: User Defined variable and BeanShell function

2006-08-01 Thread Yanroy
I haven't tried this, and I don't really know what I'm talking about as I'm new to beanshell, but I suspect you want to use vars.get("Attributes"} and then vars.put("Attributes", newstr) to replace the value in Attributes with your new one. Or if you're just trying to use it immediately without s

User Defined variable and BeanShell function

2006-08-01 Thread amelaao
I'm trying to manipulate a string (replace some characters) using BeanShell function and store this new string as a user defined variable. This is the code I have but it does not do what it is supposed to do: ${__BeanShell(String str = new String("${Attributes}"); String newstr = str.replace("<"\

Re: using regex with beanshell

2006-08-01 Thread Yanroy
Actually, yes, just moments ago I finally came up with a solution. The code isn't very pretty (I suspect beanshell never is), but it does what I need it to do. Hopefully it'll help you too. I use the java regex library to parse the result of a jmeter sampler. This code is what I typed into a b

Re: Re: Problem with CSVRead and multithread

2006-08-01 Thread mart
Hello, > > It seems you're having almost exactly the same problem I am! I was > wishing > for something similar to the CSV data set config element, except that > would > allow each thread to have its own pointer. No such thing exists. I was > told beanshell would be a good solution to this. S

Re: Re: Problem with CSVRead and multithread

2006-08-01 Thread mart
sebb napisał(a): > > >> As long as I run one-thread tests all seems to be working properly. > The problem > > >> begins in case of number of threads. CSVRead allows to manage file > pointers in each > > >> thread independently but - here is the catch - each time I load value > from > > They are no

Re: using regex with beanshell

2006-08-01 Thread paraglade
I have a similar issue your first problem. Have you been able to come up with any solutions? -- View this message in context: http://www.nabble.com/using-regex-with-beanshell-tf2029950.html#a5601684 Sent from the JMeter - User forum at Nabble.com. -

Code Reuse

2006-08-01 Thread paraglade
Is it possible to reuse test plan elements in my test plan. I have some complex RE post-processors that I need to reuse more than once through out my test that I am having trouble keeping in sync. I would like to have just one copy of the RE post-processor. -- View this message in context: htt

RE: Different IP addresses for requests

2006-08-01 Thread Milla Makelainen
Excellent, this is going to be very useful. Thanks, Milla -Original Message- From: sebb [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 01, 2006 4:46 AM To: JMeter Users List Subject: Re: Different IP addresses for requests If your host has multiple IP addresses, version 2.2 of JMeter

Re: Problem with CSVRead and multithread

2006-08-01 Thread Yanroy
I'm actually interested in checking this... I wrote a little script to print the hash value using the print() beanshell command, but I can't figure out where the output goes... I checked the jmeter.log file and it wasn't there, and I also looked around for a beanshell log and didn't find one. It

Re: Problem with CSVRead and multithread

2006-08-01 Thread sebb
On 01/08/06, Yanroy <[EMAIL PROTECTED]> wrote: Mart, It seems you're having almost exactly the same problem I am! I was wishing for something similar to the CSV data set config element, except that would allow each thread to have its own pointer. No such thing exists. I was But it could be

Re: Problem with CSVRead and multithread

2006-08-01 Thread Yanroy
Mart, It seems you're having almost exactly the same problem I am! I was wishing for something similar to the CSV data set config element, except that would allow each thread to have its own pointer. No such thing exists. I was told beanshell would be a good solution to this. Since I'm still l

Re: using the execution path as a variable

2006-08-01 Thread Chris Hansen
Thanks Andy! I think you inadvertently answered my question with > The path is relative to the working path of JMeter, all of the variables > are also user defined (once) and substituted in the appropriate places. since this means that my relative path (..\xmlresults) will always be valid, regar

Re: Problem with CSVRead and multithread

2006-08-01 Thread sebb
On 01 Aug 2006 16:18:14 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, Sorry for breaking the thread, I've had problem with post. >> As long as I run one-thread tests all seems to be working properly. The problem >> begins in case of number of threads. CSVRead allows to manage fil

Re: Problem with CSVRead and multithread

2006-08-01 Thread mart
Hello, Sorry for breaking the thread, I've had problem with post. >> As long as I run one-thread tests all seems to be working properly. The >> problem >> begins in case of number of threads. CSVRead allows to manage file pointers >> in each >> thread independently but - here is the catch - ea

Re: Question about Java Request

2006-08-01 Thread vetalok
yourfile.java must implements some abstract class, see jmeter/...src/JavaTest.java -- View this message in context: http://www.nabble.com/Question-about-Java-Request-tf2022915.html#a5594745 Sent from the JMeter - User forum at Nabble.com. ---

Re: Question about Java Request

2006-08-01 Thread sebb
The jar file should be in the lib/ext directory. Your class must implement the JavaSamplerClient interface. S. On 30/07/06, heiman666 <[EMAIL PROTECTED]> wrote: I am trying to run a Java Request. However, the list of classnames does not include the classes in my jar file. Is it because the jar

Re: Problem with CSVRead and multithread

2006-08-01 Thread sebb
On 01 Aug 2006 15:25:57 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Hello, I've encountered a non-trivial problem I cannot solve - how to open many times the same file (each in separate thread) or - how to manage file pointer for one opened file for each thread separately? Here is a sh

Problem with CSVRead and multithread

2006-08-01 Thread mart
Hello, I've encountered a non-trivial problem I cannot solve - how to open many times the same file (each in separate thread) or - how to manage file pointer for one opened file for each thread separately? Here is a short description of my application: It's a bot created to perform tests. Bot i

Re: IO.Exception - chunked stream ended unexpectedly

2006-08-01 Thread sebb
Might be worth trying the same test using the default HTTP Sampler to see if it behaves the same. It may be a bug - we'll need a test case that we can use to reproduce the problem. Please create a Bugzilla issue, and you can then attach any relevant files, e.g. jmeter.properties jmeter.log JMX f

Re: HTTP Authorization manager question

2006-08-01 Thread sebb
On 01/08/06, Labudu Gopanna <[EMAIL PROTECTED]> wrote: Thanks for reply I have added empty cookie manager but HTTP request is not logging When you login via a browser, I assume you enter the user name and password in a form. You then press a login button, which will generate a GET or POST requ

Re: Different IP addresses for requests

2006-08-01 Thread sebb
If your host has multiple IP addresses, version 2.2 of JMeter allows you to select which one to use. See jmeter.properties - httpclient.localaddress. Only works for the Apache HTTPClient sampler, and applies to the entire test-run, so it would only be useful when running multiple instances of JMe

Re: using regex with beanshell

2006-08-01 Thread sebb
On 31/07/06, Yanroy <[EMAIL PROTECTED]> wrote: Hi all, Upon the advice of the people on this list, I've started using beanshell to do the complex parts of my jmeter test. So far, this seems like a really good idea. I'd read that beanshell was a terrible language, but after a little experience

RE: how to login using jmeter?

2006-08-01 Thread Labudu Gopanna
Thanks for reply I have tried using proxy server But it is not showing the snap shots of recorded url web page in View results tree->response data->Render HTML Every time it shows logout page as snapshot I am not sure about jmeter response time whether it is giving correct response time because

Re: using the execution path as a variable

2006-08-01 Thread Andy Dawson
Hi Chris, If this isn´t useful/correct, hopefully the correction to my post may also help me. For Gui runs I created a variable like this: * FilePrefix = Results/${TestCase}/Threads_${Threads}/Duration_${RunDuration}/${__time(YMDHMS)}/ The path is relative to the working path of JM

Re: need information about JMeter

2006-08-01 Thread Andy Dawson
Hi Phillip, I´m a rather new user with JMeter but I would advise: Looking at this: http://jakarta.apache.org/jmeter/usermanual/ Then reading this: http://www.slash7.com/pages/vampires For any remaining questions before doing anything checking this: http://www.google.de/search?q=jmeter+etwas

RE: how to login using jmeter?

2006-08-01 Thread Layton, Andrew
Have you recorded a script for this login, using a Proxy Server? See Jmeter documentation for this: http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pd f Does the site use https ? If so use Badboy to record and export the resulting script as a Jmeter script. HtH Andrew Layton

how to login using jmeter?

2006-08-01 Thread Labudu Gopanna
Hi all, I am using jmeter I don't know how to login I am using HTTP authorization manager and cookie manager with one HTTP request For HTTP Authorization manager, I am giving URL, username, password, Results is showing pass but every time it shows the logout page as snap shot for every url In

tibco JMS & JMeter: JNDI Error

2006-08-01 Thread Rutherford, Matthew [CIB-IT]
Hi I have connected pub/subs manually via jndi to a tibco topic to test the jndi connection settings are fine. It works so now I go to use JMeter to stress test it. Then I enter the following jndi settings (taken from my code): Initial Context Factory: com.tibco.tibjms.naming.TibjmsInitialCont