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 usecase : I'm using a custom Java Request Sampler inside my plan, it's
returning results, and I would like to add part of these results as new csv
columns, using the above new functionality.

However, it doesn't look like the JavaSamplerContext object provided to the
sampler has methods to write or update variables (?) : what's the best way
for my sampler to write or update them? I started writing a beanshell post
processor, because it can update variables (thru the "vars" put/get
methods), unfortunately I don't know how to access my sampler results thru
this post processor... is there a variable holding the "last sampler
results" ?

Thanks !
laurent


-- 
<a href="http://in-pocket.blogspot.com";>http://in-pocket.blogspot.com -
Mobile world, technology and more</a>

Reply via email to