Ticket #1425: test_secore.sh
| File test_secore.sh, 430 bytes (added by , 9 years ago) |
|---|
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | secore_query="http://localhost:8080/def/crs/OGC/0/UnixTime1" |
| 3 | petascope_query="http://localhost:8080/rasdaman/ows?service=WCS&version=2.0.1&request=GetCoverage&coverageId=test_mr" |
| 4 | |
| 5 | |
| 6 | for i in {1..20} |
| 7 | do |
| 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..." |
| 15 | done |
