v1

latestSwagger 2.02026-07-173817.8 KB
front

test_all front

Endpoint for running ALL API Integration Tests for the Weather System, allowing for filtering on included or excluded tests

post/tester/all

Request body

excludestring[]

Tests to exclude

includestring[]

Tests to run

Example request

{
  "exclude": [
    "Veritatis nesciunt est officia facere.",
    "Cum est et sit."
  ],
  "include": [
    "Saepe nihil cum laboriosam amet consequatur.",
    "Quis sint alias."
  ]
}

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
}