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 <[email protected]>wrote: > On Wed, Aug 4, 2010 at 10:59 PM, Deepak Shetty <[email protected]> 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 > server; The server returns a JSON response with the doc id. I want to store > only the doc id (after parsing response), and use it in in the next sampler > by GETing the document with the doc id. > > > > a regular expression extractor can extract out data into a variable that > > the > > following samplers can use > > > > I basically want to store several doc ids returned (as responses) by > earlier samplers and randomly do GETs on them. Can I achieve it with > regular expression extractors? > > /harsha >

