varnishtest "Test hit for pass obj size" server s1 { rxreq expect req.url == "/foo" txresp -body foobar rxreq expect req.url == "/foo" txresp -body foobar1 } -start varnish v1 -vcl+backend { sub vcl_backend_response { set beresp.uncacheable = true; } } -start client c1 { txreq -url "/foo" rxresp expect resp.http.x-varnish == "1001" txreq -url "/foo" rxresp expect resp.http.x-varnish == "1003" } varnish v1 -expect SMA.Transient.g_bytes == 0 client c1 -run varnish v1 -expect SMA.Transient.g_bytes == 200