Skip to content

Add AuTest for large chunked contents#12962

Open
masaori335 wants to merge 1 commit intoapache:masterfrom
masaori335:asf-master-autest-chunk
Open

Add AuTest for large chunked contents#12962
masaori335 wants to merge 1 commit intoapache:masterfrom
masaori335:asf-master-autest-chunk

Conversation

@masaori335
Copy link
Contributor

This covers 131072 (=128KB) chunked contents handling in HTTP/1.0, HTTP/1.1 and HTTP/2.

Also, this includes extention of ats_replay for HTTP/2 (TLS) cases.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new AuTest replay to validate large (128KB) chunked-response handling across HTTP/1.0, HTTP/1.1, and HTTP/2, and extends the ATSReplayTest harness to better support TLS-enabled scenarios needed for HTTP/2-over-TLS testing.

Changes:

  • Add a new replay file covering 131072-byte chunked origin responses and expected dechunking / caching behaviors.
  • Register the new replay in the existing chunked_encoding gold test suite.
  • Extend ats_replay.test.ext to apply TLS-related ATS configuration when autest.ats.process_config.enable_tls is enabled.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/gold_tests/chunked_encoding/replays/large_chunked.replay.yaml New replay exercising large chunked responses across HTTP/1.0, HTTP/1.1, and HTTP/2.
tests/gold_tests/chunked_encoding/chunked_encoding.test.py Adds an ATSReplayTest invocation to run the new replay.
tests/gold_tests/autest-site/ats_replay.test.ext Adds TLS setup logic for ATSReplayTest when ATS is started with TLS enabled.

You can also share your feedback on Copilot code review. Take the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants