LoadRunner web_reg_find search within headers

If you are submitting requests and are expecting an empty response body, you should still check your response headers to determine if the request was successful.

To search your response headers, you will need to add the “Search=Headers” into your web_reg_find function.

web_reg_find("Text/IC=HeaderSearch", "Search=Headers", LAST);

The different request methods OPTIONS, DELETE, PUT, HEADER typically return a valid response with an empty response body.

Leave a comment

Your email address will not be published. Required fields are marked *