# A response will not be cached unless it has an explicit age (Cache-Control max-age of s-maxage, Expires) or a validator (Last-Modified, or ETag)
# A response will not be cached either if it has an Age header that is either invalid (should be an integer) or greater than its max age.
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
server s1 {
varnishtest "A successful unsafe method (POST for instance) on a cached entry must disable it."
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
server s1 {
varnishtest "Vary support"
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
server s1 {
varnishtest "Check the Accept-Encoding processing implemented in the Vary mechanism"
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
server s1 {
# The first health-checks passed tests are checked for all these servers
# thanks to syslog messages.
-#REQUIRE_VERSION=2.4
#EXCLUDE_TARGETS=freebsd
#REGTEST_TYPE=slow
varnishtest "Health-checks"
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
#EXCLUDE_TARGETS=freebsd,osx,generic
#REGTEST_TYPE=slow
varnishtest "Health-check test"
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
#EXCLUDE_TARGETS=freebsd
#REGTEST_TYPE=slow
varnishtest "Health-checks: http-check send test"
#REGTEST_TYPE=slow
-#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
# This script tests HTTP health-checks and more particularly the "http-check
# as private and should only be reused for requests of the same session.
# This is similar to the http-reuse never mode
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
haproxy h1 -conf {
varnishtest "Test the http-reuse with special connection parameters"
-#REQUIRE_VERSION=2.4
#REQUIRE_OPTIONS=OPENSSL
feature ignore_unknown_macro
# reused for requests of the same session
# This is similar to the http-reuse never mode
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
haproxy h1 -conf {
varnishtest "Check that the TLVs are properly validated"
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
# We need one HAProxy for each test, because apparently the connection by
varnishtest "Test connection upgrades from TCP to HTTP"
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
server s1 {
varnishtest "fix converters Test"
-#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
varnishtest "JSON Query converters Test"
-#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
varnishtest "mqtt converters Test"
-#REQUIRE_VERSION=2.4
feature ignore_unknown_macro
# Valid MQTT 3.1 CONNECT packet (id: test_sub - username: test - passwd: passwd)
sendhex "102400064d514973647003c200000008746573745f7375620004746573740006706173737764"
recv 4
-} -run
\ No newline at end of file
+} -run
varnishtest "url_enc converter test"
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
server s1 {
varnishtest "Filtering test with several filters and random forwarding (via trace filter)"
-#REQUIRE_VERSION=2.4
#REQUIRE_OPTION=ZLIB|SLZ
#REGTEST_TYPE=slow
varnishtest "A test to be sure payload is skipped for bodyless responses"
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
server s1 {
rxreq
txresp \
feature cmd "$HAPROXY_PROGRAM $HAPROXY_ARGS -cc 'enabled(SPLICE)'"
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
server s1 {
rxreq
txresp \
varnishtest "A test for the wait-for-body HTTP action"
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
#REGTEST_TYPE=slow
server s1 {
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
# http/1.1 server
server srv_h1 {
rxreq
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
# valid websocket server
server s1 {
rxreq
varnishtest "Test IPv4/IPv6 except param for the forwardfor and originalto options"
-#REQUIRE_VERSION=2.4
# This config tests the except parameter for the HTTP forwardfor and originalto
# options.
varnishtest "normalize-uri tests"
-#REQUIRE_VERSION=2.4
# This reg-test tests the http-request normalize-uri action.
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
server srv_h1 -repeat 9 {
rxreq
txresp
varnishtest "Verify logging of relative/absolute URI path"
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
server s1 {
rxreq
txresp -hdr "Connection: close"
varnishtest "Lua: txn:get_priv() scope"
#REQUIRE_OPTIONS=LUA,OPENSSL
-#REQUIRE_VERSION=2.4
#REGTEST_TYPE=bug
feature ignore_unknown_macro
varnishtest "Hash validity test"
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
server s1 {
varnishtest "ub64dec sample fetche Test"
-#REQUIRE_VERSION=2.4
-
feature ignore_unknown_macro
haproxy h1 -conf {
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
server s1 {
rxreq
txresp
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
-
# static server
server s1 -repeat 3 {
rxreq
feature ignore_unknown_macro
# for "set server <srv> ssl"
-#REQUIRE_VERSION=2.4
#REGTEST_TYPE=devel
#REQUIRE_OPTIONS=OPENSSL
feature ignore_unknown_macro
-#REQUIRE_VERSION=2.4
#REQUIRE_OPTIONS=OPENSSL
feature cmd "command -v socat"
# This should be backported to 1.8
#REGTEST_TYPE=bug
-#REQUIRE_VERSION=2.4
varnishtest "stick-tables: Test expirations when used with table_*"
# do the job they are supposed to do.
# If we remove one of the "stick on" rule, this script fails.
-#REQUIRE_VERSION=2.4
-
server s_not_used_1 {}
server s_not_used_2 {}
server s_not_used_3 {}