Commit 9396f6c4aa432b2e8ffdf006d87b54de5d9aac96

Authored by George Vlahavas
1 parent 3c475c0293

Move back grafana test

Showing 1 changed file with 7 additions and 7 deletions

kea_testing.groovy View file @ 9396f6c
... ... @@ -67,22 +67,22 @@
67 67 error("$testName: Returned status code = $responseCode when calling $url")
68 68 }
69 69  
70   - testName = "KEA_F007"
71   - url = "https://kea-kibana.vlahavas.com/app/kibana"
72   - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Authorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url -o /dev/null", returnStdout: true)
  70 + testName = "KEA_F006"
  71 + url = "https://kea-grafana.vlahavas.com/api/dashboards/home"
  72 + responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Αuthorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url -o /dev/null", returnStdout: true)
73 73 if (responseCode != '200') {
74 74 error("$testName: Returned status code = $responseCode when calling $url")
75 75 }
76 76  
77   - testName = "KEA_F008"
78   - url = "$APP_URL/components/ceptd"
  77 + testName = "KEA_F007"
  78 + url = "https://kea-kibana.vlahavas.com/app/kibana"
79 79 responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Authorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url -o /dev/null", returnStdout: true)
80 80 if (responseCode != '200') {
81 81 error("$testName: Returned status code = $responseCode when calling $url")
82 82 }
83 83  
84   - testName = "KEA_F006"
85   - url = "https://kea-grafana.vlahavas.com/api/dashboards/home"
  84 + testName = "KEA_F008"
  85 + url = "$APP_URL/components/ceptd"
86 86 responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' -H 'Authorization: Bearer $token' -H 'Accept: application/json, text/plain, */*' $url -o /dev/null", returnStdout: true)
87 87 if (responseCode != '200') {
88 88 error("$testName: Returned status code = $responseCode when calling $url")