Hi all, I've installed Stub function for Azure Load Testing plugin, with following info:
- Stub function for Azure Load Testing plugin: 0.1.0
- Apache JMeter: 5.6.3
- O.S. Windows 11
- JVM: OpenJDK 64-Bit Server 21.0.8
I configured the store type in user.properties:
azure_load_testing_stub.get_secret.mySecretName.store_type=environment_variable
Then I set up an environment variable in my Windows 11 laptop:
$env:AZURE_LOAD_TESTING_STUB_GET_SECRET_mySecretName='MY_SECRET_PASSWORD'
Then I configured my script to use these credentials within Authorization Manager:
but the secret value isn't loaded from env variable (I extracted from header request the Authorization header, Base64 decoded it and the password is empty).
I tried also to user the JMeter properties approach, configuring it in user.properties as follows:
azure_load_testing_stub.get_secret.mySecretName.store_type=jmeter_properties
azure_load_testing_stub.get_secret.mySecretName.value=MY_SECRET_PASSWORD
restarted JMeter, but nothing change: no secret value is extracted from user.properties. I also tried to use jmeter.properties file instead of user.properties, but nothing change.
Am I missing something?
Thanks in advance
Hi all, I've installed Stub function for Azure Load Testing plugin, with following info:
I configured the store type in user.properties:
azure_load_testing_stub.get_secret.mySecretName.store_type=environment_variableThen I set up an environment variable in my Windows 11 laptop:
$env:AZURE_LOAD_TESTING_STUB_GET_SECRET_mySecretName='MY_SECRET_PASSWORD'Then I configured my script to use these credentials within Authorization Manager:
but the secret value isn't loaded from env variable (I extracted from header request the Authorization header, Base64 decoded it and the password is empty).
I tried also to user the JMeter properties approach, configuring it in
user.propertiesas follows:restarted JMeter, but nothing change: no secret value is extracted from
user.properties. I also tried to usejmeter.propertiesfile instead of user.properties, but nothing change.Am I missing something?
Thanks in advance