I am hoping someone has ran into this problem and may give me some tips on what to try next.
I am trying to run some powercli scripts (ran in powershell) in jmeter. I am using the BSF sampler in jmeter using beanshell
I am using this script:
exec("powershell.exe -PSConsoleFile "C:\Program Files\VMware\InfrastructurVSphere PowerCLI\vim.psc1"
- command .\CoreApplAdmin.ps1");
The test runs (I see the output of the test in the screen) but the test does not return after running. Basically, it's hung. I had to kill jmeter. I dont see anything in the jmeter logs.
Any ideas? Thanks much for any info/suggestions.