I want to capture Header Response, can any one guide me

You can capture it using BrowserMob Proxy

Here is a sample output by BrowserMob Proxy. In it, you can find a pair of Request and Response messages:

{
    "log": {
        "version": "1.2",
        "creator": {
            "name": "BrowserMob Proxy",
            "version": "2.1.5",
            "comment": ""
        },
        "pages": [
            {
                "id": "request",
                "startedDateTime": "2024-06-08T22:14:41.393Z",
                "title": "request",
                "pageTimings": {
                    "comment": ""
                },
                "comment": ""
            }
        ],
        "entries": [
            {
                "pageref": "request",
                "startedDateTime": "2024-06-08T22:14:42.333Z",
                "request": {
                    "method": "GET",
                    "url": "http://demoaut.katalon.com/",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [
                        
                    ],
                    "headers": [
                        {
                            "name": "Host",
                            "value": "demoaut.katalon.com"
                        },
                        {
                            "name": "Proxy-Connection",
                            "value": "keep-alive"
                        },
                        {
                            "name": "Upgrade-Insecure-Requests",
                            "value": "1"
                        },
                        {
                            "name": "User-Agent",
                            "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/125.0.6422.142 Safari/537.36"
                        },
                        {
                            "name": "Accept",
                            "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
                        },
                        {
                            "name": "Accept-Encoding",
                            "value": "gzip, deflate"
                        }
                    ],
                    "queryString": [
                        
                    ],
                    "headersSize": 454,
                    "bodySize": 0,
                    "comment": ""
                },
                "response": {
                    "status": 301,
                    "statusText": "Moved Permanently",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [
                        
                    ],
                    "headers": [
                        {
                            "name": "x-amz-id-2",
                            "value": "KFHwVuPpFAN1wMQpyEaZ8ZV0Fw3f4kHwPg6HdqFMNZjkwONwRkmMSJTl13ERGNUj/L2KTYZxEmg="
                        },
                        {
                            "name": "x-amz-request-id",
                            "value": "MEBHWRPRMVRMXVJW"
                        },
                        {
                            "name": "Date",
                            "value": "Sat, 08 Jun 2024 22:14:45 GMT"
                        },
                        {
                            "name": "Location",
                            "value": "https://katalon-demo-cura.herokuapp.com/"
                        },
                        {
                            "name": "Server",
                            "value": "AmazonS3"
                        },
                        {
                            "name": "content-length",
                            "value": "0"
                        }
                    ],
                    "content": {
                        "size": 0,
                        "mimeType": "",
                        "text": "",
                        "encoding": "base64",
                        "comment": ""
                    },
                    "redirectURL": "https://katalon-demo-cura.herokuapp.com/",
                    "headersSize": 288,
                    "bodySize": 0,
                    "comment": ""
                },
                "cache": {
                    
                },
                "timings": {
                    "comment": "",
                    "ssl": -1,
                    "send": 23,
                    "wait": 1425,
                    "receive": 14,
                    "connect": 196,
                    "blocked": 0,
                    "dns": 58
                },
                "serverIPAddress": "52.216.62.205",
                "comment": "",
                "time": 1717
            },
            {
                "pageref": "request",
                "startedDateTime": "2024-06-08T22:14:45.994Z",
                "request": {
                    "method": "GET",
                    "url": "https://katalon-demo-cura.herokuapp.com/",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [
                        
                    ],
                    "headers": [
                        {
                            "name": "Host",
                            "value": "katalon-demo-cura.herokuapp.com"
                        },
                        {
                            "name": "Connection",
                            "value": "keep-alive"
                        },
                        {
                            "name": "Upgrade-Insecure-Requests",
                            "value": "1"
                        },
                        {
                            "name": "User-Agent",
                            "value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/125.0.6422.142 Safari/537.36"
                        },
                        {
                            "name": "Accept",
                            "value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
                        },
                        {
                            "name": "Sec-Fetch-Site",
                            "value": "none"
                        },
                        {
                            "name": "Sec-Fetch-Mode",
                            "value": "navigate"
                        },
                        {
                            "name": "Sec-Fetch-User",
                            "value": "?1"
                        },
                        {
                            "name": "Sec-Fetch-Dest",
                            "value": "document"
                        },
                        {
                            "name": "sec-ch-ua",
                            "value": "\"HeadlessChrome\";v=\"125\", \"Chromium\";v=\"125\", \"Not.A/Brand\";v=\"24\""
                        },
                        {
                            "name": "sec-ch-ua-mobile",
                            "value": "?0"
                        },
                        {
                            "name": "sec-ch-ua-platform",
                            "value": "\"macOS\""
                        },
                        {
                            "name": "Accept-Encoding",
                            "value": "gzip, deflate, br"
                        }
                    ],
                    "queryString": [
                        
                    ],
                    "headersSize": 662,
                    "bodySize": 0,
                    "comment": ""
                },
                "response": {
                    "status": 200,
                    "statusText": "OK",
                    "httpVersion": "HTTP/1.1",
                    "cookies": [
                        
                    ],
                    "headers": [
                        {
                            "name": "Report-To",
                            "value": "{\"group\":\"heroku-nel\",\"max_age\":3600,\"endpoints\":[{\"url\":\"https://nel.heroku.com/reports?ts=1717884886&sid=67ff5de4-ad2b-4112-9289-cf96be89efed&s=gZkab%2BVYbKxlAhTyqfcX%2FFOIdjaa6c4d5YnVn7Ki21M%3D\"}]}"
                        },
                        {
                            "name": "Reporting-Endpoints",
                            "value": "heroku-nel=https://nel.heroku.com/reports?ts=1717884886&sid=67ff5de4-ad2b-4112-9289-cf96be89efed&s=gZkab%2BVYbKxlAhTyqfcX%2FFOIdjaa6c4d5YnVn7Ki21M%3D"
                        },
                        {
                            "name": "Nel",
                            "value": "{\"report_to\":\"heroku-nel\",\"max_age\":3600,\"success_fraction\":0.005,\"failure_fraction\":0.05,\"response_headers\":[\"Via\"]}"
                        },
                        {
                            "name": "Connection",
                            "value": "keep-alive"
                        },
                        {
                            "name": "Date",
                            "value": "Sat, 08 Jun 2024 22:14:46 GMT"
                        },
                        {
                            "name": "Server",
                            "value": "Apache"
                        },
                        {
                            "name": "Expires",
                            "value": "Thu, 19 Nov 1981 08:52:00 GMT"
                        },
                        {
                            "name": "Cache-Control",
                            "value": "no-store, no-cache, must-revalidate"
                        },
                        {
                            "name": "Pragma",
                            "value": "no-cache"
                        },
                        {
                            "name": "Set-Cookie",
                            "value": "PHPSESSID=jgr70qg30qfd2md27ttnr12gsogpfsa5; path=/"
                        },
                        {
                            "name": "Transfer-Encoding",
                            "value": "chunked"
                        },
                        {
                            "name": "Content-Type",
                            "value": "text/html; charset=UTF-8"
                        },
                        {
                            "name": "Via",
                            "value": "1.1 vegur"
                        }
                    ],
                    "content": {
                        "size": 4234,
                        "mimeType": "text/html; charset=UTF-8",
                        "text": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n    <meta charset=\"utf-8\">\n    <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n    <meta name=\"description\" content=\"CURA Healthcare Service; (678) 813-1KMS\">\n    <meta name=\"robots\" content=\"noindex\">\n\n    <title>CURA Healthcare Service</title>\n\n    <!-- Bootstrap Core CSS -->\n    <link href=\"https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css\" rel=\"stylesheet\">\n    <link href=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/css/bootstrap-datepicker.min.css\" rel=\"stylesheet\">\n\n    <!-- Custom CSS -->\n    <link href=\"https://katalon-demo-cura.herokuapp.com//css/theme.css\" rel=\"stylesheet\">\n\n    <!-- Custom Fonts -->\n    <link href=\"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\">\n    <link href=\"https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,300italic,400italic,700italic\" rel=\"stylesheet\" type=\"text/css\">\n\n    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->\n    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->\n    <!--[if lt IE 9]>\n    <script src=\"https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js\"></script>\n    <script src=\"https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js\"></script>\n    <![endif]-->\n\n</head>\n\n<body>\n<!-- Navigation -->\n<a id=\"menu-toggle\" href=\"#\" class=\"btn btn-dark btn-lg toggle\"><i class=\"fa fa-bars\"></i></a>\n<nav id=\"sidebar-wrapper\">\n    <ul class=\"sidebar-nav\">\n        <a id=\"menu-close\" href=\"#\" class=\"btn btn-light btn-lg pull-right toggle\"><i class=\"fa fa-times\"></i></a>\n        <li class=\"sidebar-brand\">\n            <a href=\"./\" onclick=\"$('#menu-close').click();\">CURA Healthcare</a>\n        </li>\n        <li>\n            <a href=\"./\" onclick=\"$('#menu-close').click();\">Home</a>\n        </li>\n                <li>\n            <a href=\"profile.php#login\" onclick=\"$('#menu-close').click();\">Login</a>\n        </li>\n            </ul>\n</nav>\n\n<!-- Header -->\n<header id=\"top\" class=\"header\">\n    <div class=\"text-vertical-center\">\n        <h1>CURA Healthcare Service</h1>\n        <h3>We Care About Your Health</h3>\n        <br>\n        <a id=\"btn-make-appointment\" href=\"./profile.php#login\" class=\"btn btn-dark btn-lg\">Make Appointment</a>\n    </div>\n</header>\n\n\n<!-- Footer -->\n<footer>\n    <div class=\"container\">\n        <div class=\"row\">\n            <div class=\"col-lg-10 col-lg-offset-1 text-center\">\n                <h4><strong>CURA Healthcare Service</strong>\n                </h4>\n                <p>Atlanta 550 Pharr Road NE Suite 525<br>Atlanta, GA 30305</p>\n                <ul class=\"list-unstyled\">\n                    <li><i class=\"fa fa-phone fa-fw\"></i> (678) 813-1KMS</li>\n                    <li><i class=\"fa fa-envelope-o fa-fw\"></i> <a href=\"mailto:info@katalon.com\">info@katalon.com</a>\n                    </li>\n                </ul>\n                <br>\n                <ul class=\"list-inline\">\n                    <li>\n                        <a href=\"#\"><i class=\"fa fa-facebook fa-fw fa-3x\"></i></a>\n                    </li>\n                    <li>\n                        <a href=\"#\"><i class=\"fa fa-twitter fa-fw fa-3x\"></i></a>\n                    </li>\n                    <li>\n                        <a href=\"#\"><i class=\"fa fa-dribbble fa-fw fa-3x\"></i></a>\n                    </li>\n                </ul>\n                <hr class=\"small\">\n                <p class=\"text-muted\">Copyright &copy; CURA Healthcare Service 2024</p>\n            </div>\n        </div>\n    </div>\n    <a id=\"to-top\" href=\"#top\" class=\"btn btn-dark btn-lg\"><i class=\"fa fa-chevron-up fa-fw fa-1x\"></i></a>\n</footer>\n\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.min.js\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js\"></script>\n<script src=\"https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.4/js/bootstrap-datepicker.min.js\"></script>\n<script src=\"https://katalon-demo-cura.herokuapp.com//js/theme.js\"></script>\n\n</body>\n</html>\n\n",
                        "comment": ""
                    },
                    "redirectURL": "",
                    "headersSize": 865,
                    "bodySize": 4234,
                    "comment": ""
                },
                "cache": {
                    
                },
                "timings": {
                    "comment": "",
                    "ssl": 1523,
                    "send": 2,
                    "wait": 514,
                    "receive": 24,
                    "connect": 1715,
                    "blocked": 0,
                    "dns": 110
                },
                "serverIPAddress": "54.205.8.205",
                "comment": "",
                "time": 2367
            },

The “Header” is included, of course.