https://bz.apache.org/bugzilla/show_bug.cgi?id=63219

--- Comment #3 from Philippe Mouawad <[email protected]> ---
(In reply to Brian Wolfe from comment #2)
> wouldn't flushing to the file every call cause a performance bottleneck? 

Yes, that's why I was proposing a parameter to control this:
- false : would mean flush smartly (on thread or test end)
- true : flush on every write

> I could definitely see this being useful when building a test,

I agree that for data validation it is very useful.

> but idk if it
> is something I would use for full blown performance test.

> 
> That being said I don't see any reason we couldn't make a sampler that could
> write a string that uses "user defined variables" to a given file. That way
> they can take any data they captured from a sampler and write it to a file.

It is definitely possible today using JSR223 Sampler to do it.
Do you mean create a sampler called "Write to file" ?
We could alternatively add a class to Java Request

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to