authorization - Multiple logins to windows server in jmeter -
i want know whether there way login windows server (os process sampler) in same test plan can unix servers (ssh command).
in ssh command asking username , password login unix box, not there in os process sampler.
i want check logs in different windows server need have 1 .jmx file. central 1 , should not installed in of windows server check logs.
thanks in advance.
microsoft powershell has ability of executing remote commands, need enable mode, see enable , use remote commands in windows powershell details.
once done should able execute commands on remote windows machines like:
powershell.exe $password = convertto-securestring -string your_password -asplaintext -force; $credentials = new-object -typename system.management.automation.pscredential -argumentlist "your_username",$password; invoke-command -computer remote_machine -cred $credentials -scriptblock {your_command} replace:
your_usernamewindows usernameyour_passwordwindows passwordremote_machinehostname or ip address of remote machineyour_commandpowershell script want execute
more information: how run external commands , programs locally , remotely jmeter
Comments
Post a Comment