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_username windows username
  • your_password windows password
  • remote_machine hostname or ip address of remote machine
  • your_command powershell script want execute

more information: how run external commands , programs locally , remotely jmeter


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -