TestProxyServer.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Update to custom 1.1.3 release of littleproxy

Latest officially released version is incompatible with Guava >= 20.

  1. … 2 more files in changeset.
Add coverage for http proxy with script plugins

- Proxy authentication via system properties does not yet work

  1. … 2 more files in changeset.
Fix concurrency bug in `HttpClientHelper`

The HTTP context should not be shared by several requests, or it just breaks when requests are done in parallel.

This explains the failures seen with `NTLM` authentication, but not only: there were more failures with `BASIC`

authentication too (and probably random other failures).

This commit changes the `HttpContext` so that we create a new one per request, in case we don't use authentication,

and if we do, then requests cannot be done in parallel (until we find a proper fix). This removes the special case in

`HttpAuthenticationDependencyResolutionIntegrationTest`.

  1. … 4 more files in changeset.
Javadoc

+review REVIEW-5736

Normalize HTTP and HTTPS proxy test coverage

+review REVIEW-5736

  1. … 3 more files in changeset.
Remove unused reference to HttpServer

+review REVIEW-5736

  1. … 4 more files in changeset.
Revert "Revert "Add tests for http/https proxying""

This reverts commit 6f81957d52be6e73c9b748d4c085e039a724658a.

  1. … 5 more files in changeset.
Revert "Add tests for http/https proxying"

This reverts commit 5222e6338284ea3b2e04daa4aaefcdaba01ee3ab.

Revert "Add test coverage for http and https proxies"

This reverts commit db886bda238d892430e01ccad6e5894ea8801c34.

These tests pass from intellij, but not from command-line...

  1. … 5 more files in changeset.
Add test coverage for http and https proxies

+review REVIEW-5736

  1. … 5 more files in changeset.
Rename instance variables to more appropriately reflect what they are

+review REVIEW-5736

Add test coverage for HTTPS proxies

+review REVIEW-5736

  1. … 3 more files in changeset.
Refactoring port allocation to use fixed ranges based on test workers

+review REVIEW-5579

  1. … 22 more files in changeset.
First stab at a multicast port allocator test fixture

+review REVIEW-5579

  1. … 28 more files in changeset.
Remove a now obsolete and broken attempt at configuring a logger in the proxy server fixture.

+review REVIEW-5417

Use a custom slf4j binding instead of logback.

+review REVIEW-5417

  1. … 31 more files in changeset.
Broke the different kinds of test fixture servers out into their own packages and inner'd some sftp server classes.

    • -0
    • +72
    ./TestProxyServer.groovy
  1. … 37 more files in changeset.