Good catch, I had in mind "Append" in fact.
But I think it should be an additional parameter, and maybe encoding also.

The immediate use case I see is during Data Validation phase (using
append), I always use JSR223 Sampler to do it.
Providing this function or implementation within Java Request would not
require any advanced skill.



On Thu, Mar 7, 2019 at 9:37 PM Felix Schumacher <
[email protected]> wrote:

>
> Am 07.03.19 um 21:06 schrieb Philippe Mouawad:
> > Hello,
> > I think this feature would be useful in Core.
> >
> > Contract:
> >
> > ${__stringToFile(<file path>, <string to write>)}
> >
> >
> > Questions:
> >
> > - This means we would be flushing on every call, should we add a
> parameter  ?
> > - Should we use a lock based on file name to synchronize simultaneous
> > calls that write to the same file, or should we add a mandatory
> > sync_id used to do that.
> > sync_id as a second parameter.
>
> Is this function meant to write a complete file on each call, or do you
> think about appending to a file?
>
> Felix
>
> >
> >
> > Regards
> > Philippe M.
> >
> >
> >
> >
> > <https://www.openstreetmap.org/#map=18/50.69454/3.16455>
> >
>


-- 
Cordialement.
Philippe Mouawad.

Reply via email to