Take a look at custom java sampler.Embed your script in that sampler that way jmeter knows what script/program is doing.by Just invoking a script I am not sure as what it solves and if you need to just invoke it why do you need jmeter?. Also take a look at java process api and see if you can implement verification on exit codes. I quess you want to know if background program or process does what it is suppose to be doing.
Sent from Yahoo Mail for iPad On Friday, August 10, 2018, 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 ******************************************************************************************ustomr 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