'How would I import amazon java sdk for jmeter groovy scripts?

So currently I downloaded the jar and added it into the class path.

Jar is from: https://mvnrepository.com/artifact/com.amazonaws/aws-java-sdk

I also ran the groovy script i have made on its own which is just a secretsmanager and it works fine separately outside of jmeter

However in the JSSR223 preprocessor I tried a simple import of import com.amazonaws.AmazonClientException and it says class not resolved meaning library wasn't there? Is there something I'm missing?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source