v1

latestSwagger 2.02026-07-173817.8 KB
front

test_smoke front

Endpoint for running API Integration Tests' Smoke Tests ONLY for the Weather System

post/tester/smoke

Response

OK response.

durationinteger required

Duration of the tests in ms

fail_countinteger required

Number of tests that failed

pass_countinteger required

Number of tests that passed

Example response

{
  "collections": [
    {
      "duration": 1234,
      "fail_count": 1,
      "name": "Locator Tests",
      "pass_count": 12,
      "results": [
        {
          "duration": 1234,
          "error": "error getting location for valid ip: %v",
          "name": "TestValidIP",
          "passed": true
        },
        {
          "duration": 1234,
          "error": "error getting location for valid ip: %v",
          "name": "TestValidIP",
          "passed": true
        },
        {
          "duration": 1234,
          "error": "error getting location for valid ip: %v",
          "name": "TestValidIP",
          "passed": true
        }
      ]
    },
    {
      "duration": 1234,
      "fail_count": 1,
      "name": "Locator Tests",
      "pass_count": 12,
      "results": [
        {
          "duration": 1234,
          "error": "error getting location for valid ip: %v",
          "name": "TestValidIP",
          "passed": true
        },
        {
          "duration": 1234,
          "error": "error getting location for valid ip: %v",
          "name": "TestValidIP",
          "passed": true
        },
        {
          "duration": 1234,
          "error": "error getting location for valid ip: %v",
          "name": "TestValidIP",
          "passed": true
        }
      ]
    }
  ],
  "duration": 1234,
  "fail_count": 1,
  "pass_count": 12
}