5 use lib "$FindBin::Bin/lib";
8 use Catalyst::Test 'TestAppStats';
10 if ( $ENV{CATALYST_SERVER} ) {
11 plan skip_all => 'Using remote server';
18 ok( my $response = request('http://localhost/'), 'Request' );
19 ok( $response->is_success, 'Response Successful 2xx' );
22 ok( my $response = request('http://localhost/'), 'Request' );
23 ok( $response->is_success, 'Response Successful 2xx' );
24 like( $response->content, qr/\/default.*?[\d.]+s.*- test.*[\d.]+s/s, 'Stats report');