Re: Jmeter HTTP objects

2010-08-17 Thread Deepak Shetty
I dont know why you want to do this since your requirements are satisified without BeanShell, anyway, the Sample Result is something that is passed to you , you dont have to create it >From here http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_PostProcessor You get

Re: Jmeter HTTP objects

2010-08-17 Thread Sriharsha Setty
Hi Deepak, On Wed, Aug 4, 2010 at 10:50 PM, Deepak Shetty wrote: > > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#BeanShell_PostProcessor(note > the The following BeanShe

Re: Jmeter HTTP objects

2010-08-05 Thread Deepak Shetty
The regex extractor itself lets you select a match number with a 0 for random when multiple matches are found. so you should be able to us4e that directory regards deepak On Thu, Aug 5, 2010 at 12:21 AM, Sriharsha Setty wrote: > [Sorry, hit the send button too early] > > On Thu, Aug 5, 2010 at

Re: Jmeter HTTP objects

2010-08-05 Thread Sriharsha Setty
[Sorry, hit the send button too early] On Thu, Aug 5, 2010 at 12:48 PM, Sriharsha Setty wrote: > Thanks Deepak, > > On Wed, Aug 4, 2010 at 10:59 PM, Deepak Shetty wrote: > >> a regular expression extractor can extract out data into a variable that >> the >> following samplers can use >> > > I am

Re: Jmeter HTTP objects

2010-08-05 Thread Sriharsha Setty
Thanks Deepak, On Wed, Aug 4, 2010 at 10:59 PM, Deepak Shetty wrote: > a regular expression extractor can extract out data into a variable that > the > following samplers can use > I am able to extract the required text from the POST response, and I feed it immediately to a HTTP sampler that do

Re: Jmeter HTTP objects

2010-08-04 Thread Deepak Shetty
Hi >I basically want to store several doc ids returned (as responses) by earlier samplers and randomly do GETs on them. Storing yes. The random part you may or may not be able to do depending on your test plan regards deepak On Wed, Aug 4, 2010 at 10:39 AM, Sriharsha Setty wrote: > On Wed, Aug

Re: Jmeter HTTP objects

2010-08-04 Thread Sriharsha Setty
On Wed, Aug 4, 2010 at 10:59 PM, Deepak Shetty wrote: > hi > why do you need it written into a file? When you say 'parse' how many > elements are we talking about? or do you just want the entire response > written? > Like I said, I have a HTTP sampler that POSTs a JSON payload to a CouchDB serv

Re: Jmeter HTTP objects

2010-08-04 Thread Deepak Shetty
hi why do you need it written into a file? When you say 'parse' how many elements are we talking about? or do you just want the entire response written? a regular expression extractor can extract out data into a variable that the following samplers can use regards deepak On Wed, Aug 4, 2010 at 10

Re: Jmeter HTTP objects

2010-08-04 Thread Sriharsha Setty
Hi Deepak On Wed, Aug 4, 2010 at 10:50 PM, Deepak Shetty wrote: > >I want to process a HTTP response after Jmeter performs a POST operation. > Define what you want to do. There are other Post processors available. If > My application returns a JSON payload as response. I want to parse the JSON

Re: Jmeter HTTP objects

2010-08-04 Thread Deepak Shetty
>I want to process a HTTP response after Jmeter performs a POST operation. Define what you want to do. There are other Post processors available. If they dont satisfy your needs then you might want to look at BSF/Beanshell Documents are here http://jakarta.apache.org/jmeter/usermanual/component_ref

Jmeter HTTP objects

2010-08-04 Thread Sriharsha Setty
Hello users, I want to process a HTTP response after Jmeter performs a POST operation. For this, I believe, that one needs to add a Beanshell Post processor to process the HTTP response. Please correct me if I am wrong. If I am correct, I want to know the object name that I need to reference in m