Commit 55bf5645fc16ca2355df3492cb4fd06aff5ca7d6

Authored by George Vlahavas
1 parent 21b0aad19a

Move F004 and F005 to top

Showing 1 changed file with 13 additions and 13 deletions

kea_testing.groovy View file @ 55bf564
... ... @@ -97,12 +97,6 @@
97 97 if (responseCode != '200') {
98 98 error("$testName: Returned status code = $responseCode when calling $url")
99 99 }
100   - testName = "KEA_F002"
101   - url = "$APP_URL:13880/components/od"
102   - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true)
103   - if (responseCode != '200') {
104   - error("$testName: Returned status code = $responseCode when calling $url")
105   - }
106 100 testName = "KEA_F004"
107 101 url = "mqtt://${HOST_IP}:1883/test"
108 102 responseCode = sh(label: testName, script: "sleep 2 ; curl -d 1 $url & OUT=`curl -m 4 -s $url` ; echo $OUT", returnStdout: true)
... ... @@ -114,6 +108,18 @@
114 108 if (responseCode != '200') {
115 109 error("$testName: Returned status code = $responseCode when calling $url")
116 110 }
  111 + testName = "KEA_F002"
  112 + url = "$APP_URL:13880/components/od"
  113 + responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true)
  114 + if (responseCode != '200') {
  115 + error("$testName: Returned status code = $responseCode when calling $url")
  116 + }
  117 + testName = "KEA_F003"
  118 + url = "$APP_URL:13880/components/mltd"
  119 + responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true)
  120 + if (responseCode != '200') {
  121 + error("$testName: Returned status code = $responseCode when calling $url")
  122 + }
117 123 testName = "KEA_F006"
118 124 url = "$APP_URL:3001"
119 125 responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true)
... ... @@ -127,13 +133,7 @@
127 133 error("$testName: Returned status code = $responseCode when calling $url")
128 134 }
129 135 testName = "KEA_F008"
130   - url = "$APP_URL:13880/components/od"
131   - responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true)
132   - if (responseCode != '200') {
133   - error("$testName: Returned status code = $responseCode when calling $url")
134   - }
135   - testName = "KEA_F003"
136   - url = "$APP_URL:13880/components/mltd"
  136 + url = "$APP_URL:13880/components/ceptd"
137 137 responseCode = sh(label: testName, script: "curl -m 10 -sLI -w '%{http_code}' $url -o /dev/null", returnStdout: true)
138 138 if (responseCode != '200') {
139 139 error("$testName: Returned status code = $responseCode when calling $url")