loadrunner How to pass the basic authorization header in loadrunner

  • Thread starter Saravanan Srinivasan
  • Start date
  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

S

Saravanan Srinivasan

Guest
How to pass the basic authorization header in loadrunner
 
I have had the same issue using Loadrunner while adding the Oauthheaers, The problem is the headers are generated on the fly and cannot be captured by web_reg_save_param, and hence cannot be passed with web_add_header functions. However, Jmeter has a way to do it. There is a OauthRequest Sampler, which can generate these values. Here is a link you can checkout https://www.google.com/url?sa=t&rct...GQvjqGdU1zxXng&bvm=bv.111396085,d.eWE&cad=rja
 
As an alternative, can you try setting web_set_sockets_option for "INITIAL_BASIC_AUTH" at start of script? Do update if it works.