Hi Soumya
Note that if you want to use the OS process sampler and you genuinely have
a need for "the java program runs independently in the background without
JMeter waiting for it to complete execution" then you have to write a
wrapper script to run the process in the background and call that wrapper
script from the OS process sampler. Its a different matter that launching a
executable from JMeter and then not caring what it does and when it
finishes is typically not a good thing!

On Sat, Aug 11, 2018 at 7:11 AM sebb <seb...@gmail.com> wrote:

> Or
>
>
> http://jmeter.apache.org/usermanual/component_reference.html#OS_Process_Sampler
>
> On 10 August 2018 at 17:00, Kirk Pepperdine <kirk.pepperd...@gmail.com>
> wrote:
> > Runtime.exec in a bean shell???
> >
> >> On Aug 10, 2018, at 11:00 AM, Nayak, Soumya R. <sna...@firstam.com>
> wrote:
> >>
> >> Hi All,
> >>
> >> I have written a java program. So when i run a script in JMeter, the
> java program has to be invoked from the script and the java program runs
> independently in the background without JMeter waiting for it to complete
> execution. The program when running independently completes the task and
> stops automatically.
> >> So how can I invoke a java program from JMeter which runs independently
> in the background. Please help.
> >>
> >> Regards,
> >> Soumya
> >>
> >>
> ******************************************************************************************
> >> This message may contain confidential or proprietary information
> intended only for the use of the
> >> addressee(s) named above or may contain information that is legally
> privileged. If you are
> >> not the intended addressee, or the person responsible for delivering it
> to the intended addressee,
> >> you are hereby notified that reading, disseminating, distributing or
> copying this message is strictly
> >> prohibited. If you have received this message by mistake, please
> immediately notify us by
> >> replying to the message and delete the original message and any copies
> immediately thereafter.
> >>
> >> If you received this email as a commercial message and would like to
> opt out of future commercial
> >> messages, please let us know and we will remove you from our
> distribution list.
> >>
> >> Thank you.~
> >>
> ******************************************************************************************
> >> FAFLD
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> > For additional commands, e-mail: user-h...@jmeter.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
> For additional commands, e-mail: user-h...@jmeter.apache.org
>
>

Reply via email to