Highlighted
Super Contributor.
Super Contributor.
196 views

Use multiple client certs as part of the same web http/html script

Hi All,

I have a requirement to use multiple client  certs  as part of the sinfle web script. Below is the use case

Script has two web custom methods. 

1) Web_Custom_Method_A

2) Web_Custom_Method_B

Is there a way to use ssl options through the web_set_socket functions and say to use Client cert A should be set when we send the web_custom_Method_A

& Client cert B should be set when we send the web_custom_Method_B?

 

This is possible in some other load test tools and wanting to check for possible options with LR/PC

0 Likes
2 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Use multiple client certs as part of the same web http/html script

Hi JasperClareance.

 

Per my understanding, you could use the IF statement to instruct LR to use the web_set_sockets option that you want.

 

https://admhelp.microfocus.com/lr/en/12.53/help/function_reference/FuncRef.htm#c_language/etc/lrFuncRef_CLang_if_example.htm

 

Regards.

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Re: Use multiple client certs as part of the same web http/html script

Its more than an if statement, looking at how to set two different certificates for two different requests which are part of the same script

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.