Ticket #1425: test_secore.sh

File test_secore.sh, 430 bytes (added by Bang Pham Huu, 8 years ago)
Line 
1#!/bin/bash
2secore_query="http://localhost:8080/def/crs/OGC/0/UnixTime1"
3petascope_query="http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageId=test_mr"
4
5
6for i in {1..20}
7do
8 #echo "test $i time..."
9 curl $secore_query -o "secore.txt" &
10 #curl $petascope_query -o "petascope.txt"
11 #echo "restart tomcat..."
12 #systemctl restart tomcat
13 #sleep 5
14 #echo "tomcat is ready..."
15done