Reputation: 993
What is the difference between web_add_header() and web_add_auto_header() in LoadRunner? My task is to send some header information in a web_custom_request against a proxy that on the basis of this information i.e. user name and autentication level generates a saml token that it is used furter in a request against a web service.
Upvotes: 1
Views: 3973
Reputation: 5692
The difference is context for the added header
If you need to update tokens for every request then web_add_header() is the way to go.
The mad scientist in me would probably try experimenting with the header to see if I added a header with parameterization tags and then used lr_save_string() to assign the variable a value if that shift would be picked up when the header was sent.
Upvotes: 2