41041598ce79e1b299e5aba1a9b1e2fe41775d12 hiram Thu May 16 11:27:11 2019 -0700 reduce number of test servers refs #18869 diff --git src/hg/hubApi/tests/jsonConsumer.pl src/hg/hubApi/tests/jsonConsumer.pl index 30da64a..d4cc1e7 100755 --- src/hg/hubApi/tests/jsonConsumer.pl +++ src/hg/hubApi/tests/jsonConsumer.pl @@ -1,32 +1,29 @@ #!/usr/bin/env perl use strict; use warnings; use HTTP::Tiny; use Time::HiRes; use JSON; use Getopt::Long; my $http = HTTP::Tiny->new(); +# my $server = 'https://api.genome.ucsc.edu'; # my $server = 'https://apibeta.soe.ucsc.edu'; -# my $server = 'http://localhost:1236/cgi-bin/hubApi'; my $server = 'https://api-test.gi.ucsc.edu'; -# my $server="https://genome-euro.ucsc.edu/cgi-bin/loader/hubApi"; # my $server = 'https://hgwdev-api.gi.ucsc.edu'; -# my $server = 'https://hgwbeta.soe.ucsc.edu/cgi-bin/hubApi'; -# my $server = 'https://hgwdev-hiram.gi.ucsc.edu/cgi-bin/hubApi'; my $globalHeaders = { 'Content-Type' => 'application/json' }; my $lastRequestTime = Time::HiRes::time(); my $processStartTime = Time::HiRes::time(); my $requestCount = 0; ############################################################################## # command line options my $endpoint = ""; my $hubUrl = ""; my $genome = ""; my $track = ""; my $chrom = ""; my $start = ""; my $end = ""; my $test0 = 0;