question

Pankaj-2265 avatar image
0 Votes"
Pankaj-2265 asked karishmatiwari-msft edited

how to configure Azure Load Testing Task in YAML to send client certificates from KeyStore.p12 file as input to test?

Hi MS Team,

I am trying to configure load test using .yaml file (using Azure Load Testing Task) and want to use multiple certificates in KeyStore.p12 file as input to my test. By using this KeyStore.p12 file and a KeyStoreAliasReference.csv referred in jmx file, I am able to run this using jmeter where I am configuring following properties in system.properties file of jmeter.

javax.net.ssl.keyStoreType=PKCS,javax.net.ssl.keyStore=KeyStore.p12,javax.net.ssl.keyStorePassword=testpassword, https.use.cached.ssl.context=false,https.keyStoreStartIndex=0,https.keyStoreEndIndex=3

Referred
https://docs.microsoft.com/en-us/azure/load-testing/reference-test-config-yaml
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/azure-load-testing?view=azure-devops

and tried passing above properties in yaml configuration using following but did not work.

Please suggest on how/where can these properties be specified so that certificates from KeyStore.p12 file are picked up correctly.

env: |
[ {
"name": "javax.net.ssl.keyStoreType",
"value": "PKCS12",
} and so on
]

Thanks

not-supported-azure
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers