jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chaitanya bhatt <>
Subject Re: documentation for sampler object in scripts
Date Fri, 24 Apr 2015 19:49:24 GMT
Yes. You can play around with the response of a sampler.

Check the JavaDoc:

Here is an example of how can extract and/or modify the sampler's result:

Chaitanya M Bhatt

On Fri, Apr 24, 2015 at 12:35 PM, Glenn Caccia <>

>  I want to potentially interact with the "sampler" object that is
> available when working with script processors like the JSR223
> PostProcessor.  In the script section of the post processor, it shows
> available variables to be: ctx vars props prev sampler log Label Filename
> Parameters args[] OUT.
> If there any documentation on each of these and how to interact with it?
> I'm familiar with vars and props, but not with the others.  For "prev
> sampler", is this one object of "prev sampler" or two objects of "prev" and
> "sampler"?  Basically, I have an HTTP sampler and I want the post processor
> script to be able to work with the return from the sampler.  Can that be
> done?
> Thanks,
> Glenn

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message