diff --git a/kea_testing.groovy b/kea_testing.groovy index 4cdeccd..0b4cc87 100644 --- a/kea_testing.groovy +++ b/kea_testing.groovy @@ -67,22 +67,22 @@ pipeline { error("$testName: Returned status code = $responseCode when calling $url") } - testName = "KEA_F007" - url = "https://kea-kibana.vlahavas.com/app/kibana" - 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) + testName = "KEA_F006" + url = "https://kea-grafana.vlahavas.com/api/dashboards/home" + 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) if (responseCode != '200') { error("$testName: Returned status code = $responseCode when calling $url") } - testName = "KEA_F008" - url = "$APP_URL/components/ceptd" + testName = "KEA_F007" + url = "https://kea-kibana.vlahavas.com/app/kibana" 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) if (responseCode != '200') { error("$testName: Returned status code = $responseCode when calling $url") } - testName = "KEA_F006" - url = "https://kea-grafana.vlahavas.com/api/dashboards/home" + testName = "KEA_F008" + url = "$APP_URL/components/ceptd" 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) if (responseCode != '200') { error("$testName: Returned status code = $responseCode when calling $url")