Re: Problems extracting data using XPath extractor

2009-06-09 Thread Deepak Shetty
hi try //*[local-name()='Soda' ]/*[local-name()='Name' and contains(text(),'Coke')]/following-sibling::*[local-name()='ID']/text() I use XPATH Checker in firefox to test out my XPATH queries...( https://addons.mozilla.org/en-US/firefox/addon/1095) regards deepak On Mon, Jun 8, 2009 at 6:12 PM,

Re: mysterious Test failed! exception

2009-06-09 Thread viet nguyen
JMeter version 2.3.2 I figured out the root cause. Originally I had a catch all Exception instead of Throwable (see posted snippet). An AssertionError deep in my application code was left uncaught and propagating to Jmeter engine which didn't log enough details other than Test failed message.

How to display JMeter reports in CruiseControl test results tab

2009-06-09 Thread consult_expert
Hi All, I've successfully integrated JMeter and Cruise Control by using JMeter Ant Task according the steps described on http://www.programmerplanet.org/pages/projects/jmeter-ant-task.php. I also create the JMeter HTML report using jmeter-results-report_21.xsl found in the extras folder in the

JMeter 2.3.3 hanging on csv data set

2009-06-09 Thread Benj
Hi, I've just migrated form JMeter 2.3.2 to 2.3.3. Before I had no problem with my scripts but since 2.3.3 some scripts which using CSV data set are hanging. When I do an strace on the java pid, I find the process waiting for a FUTEX. I've tried with very simple scripts which only read the csv

Martin Ruschak/Szg/PorscheInt ist außer Haus.

2009-06-09 Thread Martin Ruschak
Ich werde ab 09.06.2009 nicht im Büro sein. Ich kehre zurück am 12.06.2009. Bitte wenden sie sich in meiner Abwesenheit an Herrn Zecha Andreas - To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For

Re: Need Clarification on session info in Once only controller

2009-06-09 Thread Deepak Shetty
The 'session' is determined by the server - anytime you send it a sessionid (which isnt invalid or timed out) either encoded into the URL or as a cookie , the server will treat it as the same session. It has no direct relation to JMeter threads / controller etc. For eg: No of users is 2 Used Once

Is there a replace function in JMeter?

2009-06-09 Thread QA Echo
I have a use case where I have a set of SOAP samplers in a For Each Controller. In each iteration for the same SOAP action I want to use different SOAP data. So I can have the data in different files instead of pasting the data in the SOAP Data section and include a counter in the filename such

Re: Is there a replace function in JMeter?

2009-06-09 Thread Deepak Shetty
Beanshell can replace the file content (using java regexes) , however In each iteration for the same SOAP action I want to use different SOAP data Does the structure of your XML change or is just the value of some element/attribute? If the structure remains the same , then you are better of using

Re: Need Clarification on session info in Once only controller

2009-06-09 Thread ankush jethi
hi deepak, U just read your reply. Dont you think each jmeter request has its own session? For example I have two threads being hit at once. Won't they use separate session Ids? Just like two browsers sending requests independently Please correct me if I am wrong Regards Ankush On Tue, Jun 9,

Re: Is there a replace function in JMeter?

2009-06-09 Thread QA Echo
The XML structure itself changes so I can't paste the structure into the sampler and use variables. That is why I wanted to use different files. But some content of the data is dynamically generated from previous calls so I can't know from before what it will be. I can't use variables in files On

Re: Need Clarification on session info in Once only controller

2009-06-09 Thread Deepak Shetty
Your end result may be correct , but your reasoning is wrong. Typically what you say is the behavior , each thread begins a new request , and the server probably sends you a Set-Cookie with a new session id for each thread, hence you have two sessions, one per thread (since JMeter would maintain

SaveResponses Listener output

2009-06-09 Thread Scott McFadden
In my HTTP test plan, I have a SaveResponses Listener to save server responses on failures. I also have a Result Status Action handler that stops the test if any errors are detected. After running for a while I finally encounter an error, I then check out the file generated by Save Responses

Re: SaveResponses Listener output

2009-06-09 Thread sebb
On 09/06/2009, Scott McFadden smcfad...@criticaltech.com wrote: In my HTTP test plan, I have a SaveResponses Listener to save server responses on failures. I also have a Result Status Action handler that stops the test if any errors are detected. After running for a while I finally

Re: mysterious Test failed! exception

2009-06-09 Thread sebb
On 09/06/2009, viet nguyen viet@gmail.com wrote: JMeter version 2.3.2 I figured out the root cause. Originally I had a catch all Exception instead of Throwable (see posted snippet). An AssertionError deep in my application code was left uncaught and propagating to Jmeter engine

RE: SaveResponses Listener output

2009-06-09 Thread Scott McFadden
Turns out this is an IIS security mechanism: http://forums.iis.net/p/1149030/1868125.aspx From: sebb [mailto:seb...@gmail.com] Sent: Tue 6/9/2009 4:38 PM To: JMeter Users List Subject: Re: SaveResponses Listener output On 09/06/2009, Scott McFadden

REusable scripts

2009-06-09 Thread ankush jethi
Hi, I recorded my scripts in an environment and they worked fine. Now when I use them in a different environment where my application is deployed they fail. Please suggest what all things I need to take care of so that my scripts are stable in almost all envrionments. We are using cookies to