JMeter scripts and Powershell with Azure Load Tester

Darren Sproston 1 Reputation point
2022-08-11T10:00:47.653+00:00

Hi, I recently got a task to look into Azure Load Tester. We currently have a jmx script that refers to a powershell script to get a token. Ive tried looking around the documentation, but cant find any that would help.
Can anyone tell me if i can use a powershell script and jmeter together in ALT?

Many thanks

Community Center Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2023-08-14T19:38:32.5933333+00:00

    In JMeter, you can use the "JSR223 Sampler" to invoke a PowerShell script. This can be done by selecting the "JSR223 Sampler," choosing the language as "groovy," and then writing the necessary code to execute the PowerShell script.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.