Extracting client_id and client_secret for jMeter script executed on a Kubernetes Pod

3/3/2020

I am trying to execute a jmeter script from a kubernetes for a particular service that would require clientID and clientSecret as values passed through the body.

When I am executing the jmeter script via hard coding from a pod, that would extract the clientID and clientSecret from a already deployed Kubernetes applications/config maps, the jmeter script is working correctly.

Without parameterizing

But, When I am trying to execute the jmeter script via parameterizing using environmental functions(${__env(envVariable ,Varible, defaultValue)}) from a pod that would extract the clientID and clientSecret from a already deployed Kubernetes applications/config maps, the jmeter script is not working correctly as it is not able to extract the values dynamically.

With parameterizing

I would really appreciate the resolution to my query.

-- Angshuman Basak
jmeter
kubernetes
wso2

0 Answers