Re: Jmeter version 5.5 - OS Process Sampler - Linux Redirection

2022-08-23 Thread Shay Ginsbourg
Thank you Tong, but it doesn't work. It looks like spaces are not accepted either in one line or if divided to command parameters in the OS process sampler. For example: command: bash parameters: -c 'printf text3 > filename4' Result: No file is created. command: bash parameters: -c 'printf

Re: Jmeter version 5.5 - OS Process Sampler - Linux Redirection

2022-08-21 Thread Tong Sun
The redirection ">" sign is a shell feature. So wrap the whole thing in as a shell command, like: bash -c 'printf text3 > filename4' On Sun, Aug 21, 2022 at 4:09 AM Shay Ginsbourg wrote: > Hi, > > Using the OS Process Sampler on Linux, the redirection ">" sign keeps > failing. > > For

Jmeter version 5.5 - OS Process Sampler - Linux Redirection

2022-08-21 Thread Shay Ginsbourg
Hi, Using the OS Process Sampler on Linux, the redirection ">" sign keeps failing. For example: Command:printf text3 > filename4 Is there any workaround for this redirection ? Thanks, Shay