rahulkotha07 opened a new pull request, #6458: URL: https://github.com/apache/jmeter/pull/6458
## Description This change enhances the HC4CookieHandler.java to support handling multiple cookies, each with its own configurable expiry time (via Max-Age). It ensures cookies are properly invalidated and removed after expiry so that new cookies are issued on subsequent requests. ## Motivation and Context The original implementation supported a single cookie with expiry. This enhancement allows testing of multiple cookie scenarios with different lifetimes, which is critical for applications simulating real-world session behavior or user tracking. It helps validate cookie expiration handling in downstream systems using Apache JMeter’s HTTP components. ## How Has This Been Tested? Manual testing via a custom Spring Boot application that sets multiple cookies with varying Max-Age values. JMeter was used to trigger requests and verify that cookies expired and were reissued correctly. Verified cookie storage and expiry via debug logs and inspection of request headers. ## Screenshots (if appropriate):      ## Types of changes <!--- What types of changes does your code introduce? Delete as appropriate --> - New feature (non-breaking change which adds functionality) ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [x] My code follows the [code style][style-guide] of this project. - [x] I have updated the documentation accordingly. [style-guide]: https://wiki.apache.org/jmeter/CodeStyleGuidelines -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org