RE: How to use Regex Extractor Post Processor to passing data from the http response to another http request

2011-02-04 Thread Tao Lin
Hi Felix, After study the link you gave and this link: http://jakarta.apache.org/jmeter/usermanual/regular_expressions.html I finally figure out my RegEx should be: .*"clientId":"([^"]+)".* Then in my next Http request, I use ${CLIENTID_g1}. Everything works! Thanks for your help! Tao > Date: Fri

Re: regex post processor with Apply To Jmeter Variable option

2011-02-04 Thread sebb
On 4 February 2011 18:04, Deepak Shetty wrote: >>No, the variable is not a list of values. > a rose by any other name :) >>And what would it do if some matched and some did not? > Id expect that the new set would have only the matched multiple values (and > default if none matched). Not sure I fo

Re: regex post processor with Apply To Jmeter Variable option

2011-02-04 Thread Deepak Shetty
>No, the variable is not a list of values. a rose by any other name :) >And what would it do if some matched and some did not? Id expect that the new set would have only the matched multiple values (and default if none matched). I do not know if this is a good enough use case to ask for an enhancem

Re: How to pass response assertion result to other controller

2011-02-04 Thread rkedari
Hi, I have tried with ${JMeterThread.last_sample_ok} but as you have mentioned it after all the samples executed, so i can not user assertion. I was able to do it with "Regular Expression Extractor" added to in once only controller with regex some thing like "" and set a reference variable value

Re: regex post processor with Apply To Jmeter Variable option

2011-02-04 Thread sebb
On 3 February 2011 23:20, Deepak Shetty wrote: > Hi > When we select the Apply To Jmeter Variable Option along with Regex Post > processor and the variable is actually a list of values  (a previous post No, the variable is not a list of values. The RE PP creates a set of variables each with its

Re: Running multiple jmeter slaves on one machine

2011-02-04 Thread Rob Schroder
Awesome. Thanks! On 2/4/11 2:21 AM, "sebb" wrote: On 4 February 2011 07:28, Rob Schroder wrote: > As a follow up to this, I did install several instances of jmeter on one box. > When I try to run more that one headless, I get the following stacktrace: > > Waiting for possible shutdown messa

Re: Running multiple jmeter slaves on one machine

2011-02-04 Thread sebb
On 4 February 2011 07:28, Rob Schroder wrote: > As a follow up to this, I did install several instances of jmeter on one box. >  When I try to run more that one headless, I get the following stacktrace: > > Waiting for possible shutdown message on port 4445 > java.net.BindException: Address alrea

Re: How to use Regex Extractor Post Processor to passing data from the http response to another http request

2011-02-04 Thread Felix Frank
Hi, have you read this? http://jakarta.apache.org/jmeter/usermanual/component_reference.html#Regular_Expression_Extractor On 02/04/2011 10:13 AM, Tao Lin wrote: > > Hi, > I try to use JMeter to stress test a Comet server. I use a Http Post Request > to send a handshake request to the server.

How to use Regex Extractor Post Processor to passing data from the http response to another http request

2011-02-04 Thread Tao Lin
Hi, I try to use JMeter to stress test a Comet server. I use a Http Post Request to send a handshake request to the server. The server return json data like this: [{"channel":"/meta/handshake","id":"1","clientId":"iO2N3oUBScLMaXDThRZh","version":"1.0","supportedConnectionTypes":["long-polling"],