How to save the WorkBench with the Test Plan ?

2009-11-03 Thread Laurent Perez
Hi I don't understand why saving the Test Plan does not trigger a bundled backup of the WorkBench. For example, when I want to use the recording proxy (HTTP Proxy Server), I add it to the WorkBench, following the guide at http://jakarta.apache.org/jmeter/usermanual/jmeter_proxy_step_by_step.pdf.

[jmeter-users] contrib : a script to deploy all 2.3.4 jars as maven artifacts

2009-10-06 Thread Laurent Perez
Hello I needed to deploy jmeter 2.3.4 jars in a private maven repository, so that I could write a plugin using a maven structure. So in case anyone is interested, here's a bash script which will easily deploy all jars into a repository, you'll have to run this one under the jakarta-jmeter-2.3.4/l

Re: How to generate random dates

2008-10-23 Thread Laurent Perez
shameless blog copy and paste, looks good enough : http://blogs.circlesource.com/2008/07/17/generating-random-datetime-between-2-different-datestimestamps-in-java/ (java code, if it does not adapt under javascript, you could use a beanshell script within jmeter) laurent 2008/10/23 Hiro Protagon

Re: Unable to use variables in Thread group duration/startup delay

2008-09-29 Thread Laurent Perez
>> I'm using a beanshell postprocessor like : > By the time the beanshell post-processor is invoked, the test has > already started. Sorry, I meant, I'm using a beanshell PREprocessor (very wrong typo) But it sounds like the preprocessor is invoked once the test has started, too ; I've made a v

Unable to use variables in Thread group duration/startup delay

2008-09-29 Thread Laurent Perez
Hi Does the Thread group element support variables inside Calendar duration/startup delay fields ? I'm using a beanshell postprocessor like : u1duration = 180; u1delay = 10; vars.put("u1duration", String.valueOf(u1duration)); vars.put("u1delay",String.valueOf(u1delay)); print(cal.getTime() + "u1:

Re: Insert Cookies for some requests in a thread group

2008-09-28 Thread Laurent Perez
> How can I add my own cookies for some requests. If I add it to the cookie > manager at the thread level, these cookies get added to all requests. I believe you can use http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Header_Manager at the HTTP Request level (instead of T

Re: [jmeter-users] HTTP Request Sampler + POST + Location: redirect -> cookies not being sent ?

2008-09-22 Thread Laurent Perez
> If you are using Redirect Automatically, then yes, cookies may not be > sent, because JMeter does not see the redirect. Yes, I meant "Redirect automatically" was checked, sorry. > If you are using Follow Redirect, then JMeter should send the correct > cookies. Correct, the cookies are sent w

[jmeter-users] HTTP Request Sampler + POST + Location: redirect -> cookies not being sent ?

2008-09-22 Thread Laurent Perez
Hi I'm using Jmeter 2.3.2. I've encountered a problem when using the HTTP Request Sampler with a POST method, and the box "follow autoredirects" being checked. When the POST response does a 302 redirect (as expected), Jmeter will follow the redirect, but *without* sending back cookies, even if th

Best usage of sample_variables (trunk) with a Java Request Sampler ?

2008-05-21 Thread Laurent Perez
Hi I'm using the new "sample_variables" property in jmeter.properties (trunk) in order to write additional columns to my summary report listener csv output file ; it works as expected, except that the variable name gets surrounded by double quotes in the csv column (very, very minor "bug" ;>). My

Re: Excluding a thread group/request from Summary Report ?

2008-05-16 Thread Laurent Perez
> > If the Java sample request returns a null sample, then there's nothing > to collect. unfortunately, my sample is returning data, so I'll just move it to another instance as you suggested and postpone the start of the first instance to let me start the second instance by hand. thanks laurent

Excluding a thread group/request from Summary Report ?

2008-05-15 Thread Laurent Perez
Hi I'm using two thread groups and a summary report listener to gather their data (after the groups, not one summary report child per group). Later in the tree, I did place a third thread group with an infinite loop : it's sole role is to trigger a java sample request at random intervals, which up

Re: Summary Report : can't save Response data under CSV ?

2008-05-15 Thread Laurent Perez
terrific :) thanks ! laurent 2008/5/15 sebb <[EMAIL PROTECTED]>: > On 15/05/2008, Laurent Perez <[EMAIL PROTECTED]> wrote: > > > > > > However, the current SVN code includes better CSV support, which > > > allows for embedded commas and new-lines,

Re: Summary Report : can't save Response data under CSV ?

2008-05-15 Thread Laurent Perez
> > However, the current SVN code includes better CSV support, which > allows for embedded commas and new-lines, so it might now be possible > to add such support. very nice :) I will checkout and see if I can enable this. > In the meantime, you'll need to use XML output. since I need excel a

Summary Report : can't save Response data under CSV ?

2008-05-15 Thread Laurent Perez
Hi ! I wrote my own Sampler, based on the Java Request sample, it's collecting text data and returning it with : results.setResponseData("foo"); results.setDataType(SampleResult.TEXT); I've added a Summary Report listener, and set an output CSV file, because I need to load the file in excel to ru

[jmeter] usage of server.exitaftertest = true with local test ?

2008-05-07 Thread Laurent Perez
Hi I'm currently trying to run a jmeter 2.3.1 test under maven 2.0.8, using the maven-jmeter-plugin available at http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin : I had to repackage a pom.xml for jmeter 2.3.1, because the various blogs explaining how to get the jmeter/maven combo running w

[jmeter] HTTPResponse.parser unable to parse application/vnd.wap.xhtml+xml (XHTMLMP)

2008-05-06 Thread Laurent Perez
Hi I'm using Jmeter to benchmarks wap sites : because of content adaptation, my webapp will return either WML (text/vnd.wap.wml) or XHTMLMP (application/vnd.wap.xhtml+xml) responses. My problem is that I'm using a results tree Listener, and the Response Data tab is always empty when the returned