****************************
Jmeter Tutorial : • JMeter Begineers Tutorial
Performance Testing Tutorial : • Performance Testing Tutorial
Tips & Tricks in Jmeter : • HOW To in JMeter
****************************
The OS Process Sampler is a sampler that can be used to execute commands on the local machine. It should allow execution of any command that can be run from the command line. Validation of the return code can be enabled, and the expected return code can be specified. Note that OS shells generally provide command-line parsing. This varies between OSes, but generally the shell will split parameters on white-space. Some shells expand wild-card file names; some don't. The quoting mechanism also varies between OSes. The sampler deliberately does not do any parsing or quote handling. The command and its parameters must be provided in the form expected by the executable. This means that the sampler settings will not be portable between OSes.
Many OSes have some built-in commands which are not provided as separate executables. For example the Windows DIR command is part of the command interpreter (CMD.EXE). These built-ins cannot be run as independent programs, but have to be provided as arguments to the appropriate command interpreter.
For example, the Windows command-line: DIR C:\TEMP needs to be specified as follows:
Command: CMD Param 1: /C Param 2: DIR Param 3: C:\TEMP
** HOW TO in JMeter Series Video 16 **
How To Use OS Process Sampler in Jmeter, Explained in detail with example
Short Videos Series
Checkout the video : • How To Use OS Process Sampler in Jmeter | ...
If you found it helpful, Like Share and Subscribe our channel "Perfology"
More videos on the way, stay connected till then
Happy Learning !!
Thanks,
Perfology
#OSProcessSampler #Jmetertutorials #Perfology
Connect with us for Training on Performance Testing and Performance testing tools:
Facebook : / perfology
Linkedin : / perfology
Gmail : [email protected]