Commit c942a82174c747622bfefa93559ae61de67820ab
1 parent
b9f2e96c81
Exists in
master
and in
2 other branches
Move grafana test case to the end
Showing 1 changed file with 7 additions and 6 deletions
kea_testing.groovy
View file @
c942a82
... | ... | @@ -67,26 +67,27 @@ |
67 | 67 | error("$testName: Returned status code = $responseCode when calling $url") |
68 | 68 | } |
69 | 69 | |
70 | - testName = "KEA_F006" | |
71 | - url = "https://kea-grafana.vlahavas.com" | |
70 | + testName = "KEA_F007" | |
71 | + url = "https://kea-kibana.vlahavas.com/app/kibana" | |
72 | 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) |
73 | 73 | if (responseCode != '200') { |
74 | 74 | error("$testName: Returned status code = $responseCode when calling $url") |
75 | 75 | } |
76 | 76 | |
77 | - testName = "KEA_F007" | |
78 | - url = "https://kea-kibana.vlahavas.com/app/kibana" | |
77 | + testName = "KEA_F008" | |
78 | + url = "$APP_URL/components/ceptd" | |
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_F008" | |
85 | - url = "$APP_URL/components/ceptd" | |
84 | + testName = "KEA_F006" | |
85 | + url = "https://kea-grafana.vlahavas.com/?orgId=1" | |
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") |
89 | 89 | } |
90 | + | |
90 | 91 | |
91 | 92 | } catch (ignored) { |
92 | 93 | currentBuild.result = 'FAILURE' |