Re: Wired Behaviour of Cookie Manager config Element

2006-03-03 Thread sebb
Check for errors in jmeter.log - and possibly the console screen. Or try a recent nightly build. S. On 03/03/06, Ganti, Venkata <[EMAIL PROTECTED]> wrote: > All, > > I am having problems with the cookie manager. My test scenario just > stops after the login screen. It won't execute the rest of

Wired Behaviour of Cookie Manager config Element

2006-03-03 Thread Ganti, Venkata
All, I am having problems with the cookie manager. My test scenario just stops after the login screen. It won't execute the rest of the http requests in my test plan. If I disable cookie manager, it will execute all the http requests. If I place my Cookie Manager Element inside some Controller

Reg Cookie

2006-03-03 Thread Ganti, Venkata
All, I am testing an application which has around 6 HTTP Samplers with Cookie Configuration element added to my test plan. I checked Use KeepAlive checkbox for all the Samplers, now when I run my test I want to ensure my test is using the same Cookie across the application? Can somebody through

Re: parallel samplers and nested thread groups

2006-03-03 Thread sebb
The HTTP Sampler can generate subsamples when it downloads derived resources - so that might give some ideas for how to return more than one sample result. This should also show the samples correctly in the Tree View Listener. S. On 03/03/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks

Re: parallel samplers and nested thread groups

2006-03-03 Thread Greg . Peace
Thanks Sebb, I'm simulating hundreds of users (I guess I'll have to look into distributed testing) and this is just a small proportion of my test script; it will have additional thread groups with different use cases. I thought I may end up using other samplers (beanshell, Java request or Junit

Re: parallel samplers and nested thread groups

2006-03-03 Thread sebb
I don't think that is going to be easy using JMeter If you are prepared to write some Java code, you could potentially use the BeanShell Sampler to create 4 threads to run the JDBC queries and wait for the result. Or indeed you could create a JUnit parallel testcase to do the work, and then test

Re: XPath Function

2006-03-03 Thread sebb
This is a bug in JMeter 2.1 and 2.1.1 - it uses the filename as the key to the extracted nodelist, so only the first expression is used. One way round this is to give the file a different name for each path, e.g. myFile.xml and ./myFile.xml or MyFile.xml if you are running on a case-blind system

XPath Function

2006-03-03 Thread Parham, Clinton
Hi, I was hoping I could use the XPath function to extract multiple attribute values from the same element and set them as HTTP parameters using this syntax: Param1=${__XPath(myFile.xml, //record/@firstName)} Param2=${__XPath(myFile.xml, //record/@lastName)} Here's a snippet of the XML: Unfo

Re: parallel samplers and nested thread groups

2006-03-03 Thread Greg . Peace
Sorry if my mail was confusing. The test is simulating the JDBC calls being an EJB application, where we have a logon page followed by one of three possible summary pages. The logon page is built from one SQL statement, the summary pages 5 statements. For the summary page we have one initial S

Re: Regular expression

2006-03-03 Thread sebb
It ought to be possible using something like: org\.apache\.struts\.taglib\.html\.TOKEN.*?="?([\da-f]+) This assumes that the token value is only hex characters, and the character following it will never be a hex character. S On 03/03/06, Gareth Western <[EMAIL PROTECTED]> wrote: > I had this sam

Re: parallel samplers and nested thread groups

2006-03-03 Thread sebb
Not sure I understand the bit about 4 simultaneous JDBC requests - is that for one login, or 4 separate logins? A given thread (user) can only do one request at a time. S. On 03/03/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > In my load I want to test the following scenario as JDBC

Re: AW: Regular expression

2006-03-03 Thread Gareth Western
Well, as it turned out actually I didn't have two, because in the end we never needed to catch the second case you described. But I guess you just specify both token name in the "Value" part when passing your variable. Eg. name: ${token} and value: ${token1}${token2} Either value1 or value2 wi

AW: Regular expression

2006-03-03 Thread Torsten . Frehe
The problem i have that both layouts could be in the same responce so I can´t write as value : ${result1}${result2} I have allways to use result2, but when result2 is null i have to use result1. Can I write this into the value? -Ursprüngliche Nachricht- Von: Gareth Western [mailto:[EMAIL P

AW: Regular expression

2006-03-03 Thread Torsten . Frehe
How did you caoncatenate the two variables? -Ursprüngliche Nachricht- Von: Gareth Western [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 3. März 2006 13:34 An: JMeter Users List Betreff: Re: Regular expression I had this same question a couple of weeks ago. The best way is to just use T

Re: Regular expression

2006-03-03 Thread Gareth Western
I had this same question a couple of weeks ago. The best way is to just use TWO regular expressions (one for each case), store the results in two variables (e.g. result1 and result2) then concatenate the two into one (e.g result). I came close to getting a single regular expresssion to do it al

Regular expression

2006-03-03 Thread Torsten . Frehe
Hi, I tried to catch a struts-token from the responce data but I can´t find the right expression. There are two possible layouts: 1. org.apache.struts.taglib.html.TOKEN=8e2a7662a96db8af07ec5f73482d8e00 2. name="org.apache.struts.taglib.html.TOKEN" value="82cdbbcaf1ca130f966624702f348d4e"

Grouped Reports XSL Stylesheet

2006-03-03 Thread Gareth Western
Hi All, Just wanted to share what I've been doing to interpret the JMeter results after load testing our application. I wanted to group a series of HTTP results (i.e. a series of requests which make up a frameset) and display an average time for each request, as well as the average time for e

parallel samplers and nested thread groups

2006-03-03 Thread Greg . Peace
Hi, In my load I want to test the following scenario as JDBC requests. As a one off the user logs in (there’s one JDBC request attributed to this) they can then view either a level one, level two or level three summary screen with (60% 30% or 10%) probability for each. Each summary screen is