You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# endpoints (and therefore cannot provide a callback/base URL), calling the one-time query endpoint
756
824
# is currently much cleaner. If this test is applied to a DSS that does not implement the one-time
757
825
# ISA query endpoint, this check can be adapted.
758
-
withself._test_scenario.check(
759
-
"ISA query", [self._dss.participant_id]
760
-
) ascheck:
761
-
ifnotsp_observation.dss_isa_query.success:
762
-
check.record_failed(
763
-
summary="Could not query ISAs from DSS",
764
-
details=f"Query to {self._dss.participant_id}'s DSS at {sp_observation.dss_isa_query.query.request.url} failed {sp_observation.dss_isa_query.query.status_code}",
# endpoints (and therefore cannot provide a callback/base URL), calling the one-time query endpoint
1098
1162
# is currently much cleaner. If this test is applied to a DSS that does not implement the one-time
1099
1163
# ISA query endpoint, this check can be adapted.
1100
-
withself._test_scenario.check(
1101
-
"ISA query", [self._dss.participant_id]
1102
-
) ascheck:
1103
-
ifnotsp_observation.dss_isa_query.success:
1104
-
check.record_failed(
1105
-
summary="Could not query ISAs from DSS",
1106
-
details=f"Query to {self._dss.participant_id}'s DSS at {sp_observation.dss_isa_query.query.request.url} failed {sp_observation.dss_isa_query.query.status_code}",
Copy file name to clipboardExpand all lines: monitoring/uss_qualifier/scenarios/astm/netrid/v19/fragments/sp_polling_queries.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,14 @@
2
2
3
3
uss_qualifier acts as a Display Provider to query Service Providers under test in this step.
4
4
5
-
## ⚠️ ISA query check
5
+
## ⚠️ Successful ISA query check
6
6
7
7
**[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)** requires a USS providing a DSS instance to implement the DSS endpoints of the OpenAPI specification. If uss_qualifier is unable to query the DSS for ISAs, this check will fail.
8
8
9
+
## ⚠️ Successful flight query check
10
+
11
+
**[astm.f3411.v19.NET0710,1](../../../../../requirements/astm/f3411/v19.md)** and **[astm.f3411.v19.NET0340](../../../../../requirements/astm/f3411/v19.md) require a Service Provider to implement the GET flight endpoint. This check will fail if uss_qualifier cannot query that endpoint (specified in the ISA present in the DSS) successfully.
12
+
9
13
## ⚠️ Successful flight details query check
10
14
11
15
**[astm.f3411.v19.NET0710,2](../../../../../requirements/astm/f3411/v19.md)** and **[astm.f3411.v19.NET0340](../../../../../requirements/astm/f3411/v19.md) require a Service Provider to implement the GET flight details endpoint. This check will fail if uss_qualifier cannot query that endpoint (specified in the ISA present in the DSS) successfully.
uss_qualifier acts as a Display Provider to query Service Providers under test in this step, without fetching details.
4
+
5
+
## ⚠️ Successful ISA query check
6
+
7
+
**[interuss.f3411.dss_endpoints.SearchISAs](../../../../../requirements/interuss/f3411/dss_endpoints.md)** requires a USS providing a DSS instance to implement the DSS endpoints of the OpenAPI specification. If uss_qualifier is unable to query the DSS for ISAs, this check will fail.
8
+
9
+
## ⚠️ Successful flight query check
10
+
11
+
**[astm.f3411.v19.NET0710,1](../../../../../requirements/astm/f3411/v19.md)** and **[astm.f3411.v19.NET0340](../../../../../requirements/astm/f3411/v19.md) require a Service Provider to implement the GET flight endpoint. This check will fail if uss_qualifier cannot query that endpoint (specified in the ISA present in the DSS) successfully.
Copy file name to clipboardExpand all lines: monitoring/uss_qualifier/scenarios/astm/netrid/v19/misbehavior.md
+9-17Lines changed: 9 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,36 +24,26 @@ A [`DSSInstanceResource`](../../../../resources/astm/f3411/dss.py) is required f
24
24
25
25
## Invalid requests test case
26
26
27
-
### Injection test step
28
-
29
-
In this step, uss_qualifier injects a single nominal flight into each SP under test, usually with a start time in the future. Each SP is expected to queue the provided telemetry and later simulate that telemetry coming from an aircraft at the designated timestamps.
30
-
31
-
#### 🛑 Successful injection check
32
-
33
-
Per **[interuss.automated_testing.rid.injection.UpsertTestSuccess](../../../../requirements/interuss/automated_testing/rid/injection.md)**, the injection attempt of the valid flight should succeed for every NetRID Service Provider under test.
34
-
35
-
**[astm.f3411.v19.NET0500](../../../../requirements/astm/f3411/v19.md)** requires a Service Provider to provide a persistently supported test instance of their implementation.
36
-
This check will fail if the flight was not successfully injected.
37
-
38
-
#### 🛑 Identifiable flights check
39
-
40
-
This particular test requires each flight to be uniquely identifiable by its 2D telemetry position; the same (lat, lng) pair may not appear in two different telemetry points, even if the two points are in different injected flights. This should generally be achieved by injecting appropriate data.
27
+
### [Injection test step](./fragments/flight_injection.md)
41
28
42
29
### Invalid search area test step
43
30
44
-
This step will attempt to search for flights in a rectangular area with a diagonal greater than [NetMaxDisplayAreaDiagonal] km.
31
+
This step will attempt to search for flights in a rectangular area with a diagonal greater than [NetMaxDisplayAreaDiagonal] km. First, the Service Providers with service in the large area will be determined from the DSS and then each Service Provider will be queried for flights (this should succeed). Then each Service Provider will be queried again for flights, this time using an unacceptably-large area (this should fail).
32
+
33
+
#### [Service provider queries test step](../v19/fragments/sp_simple_queries.md)
45
34
46
35
#### ⚠️ Area too large check
47
36
48
37
**[astm.f3411.v19.NET0250](../../../../requirements/astm/f3411/v19.md)** requires that a NetRID Service Provider rejects a request for a very large view area with a diagonal greater than *NetMaxDisplayAreaDiagonal*. If such a large view is requested and a 400 or 413 error code is not received or the response contains Remote ID data, then this check will fail.
49
38
50
39
### Unauthenticated requests test step
51
40
52
-
In order to properly test whether the SP handles authentication correctly, this step will first attempt to do a request with the proper credentials
53
-
to confirm that the requested data is indeed available to any authorized query.
41
+
in order to properly test whether the SP handles authentication correctly, after identifying the SP contact information via its ISA in the DSS, this step will first attempt to do a flights request with the proper credentials to confirm that the requested data is indeed available to any authorized query.
54
42
55
43
It then repeats the exact same request without credentials, and expects this to fail.
56
44
45
+
#### [Service provider queries test step](../v19/fragments/sp_simple_queries.md)
46
+
57
47
#### ⚠️ Missing credentials check
58
48
59
49
This check ensures that all requests are properly authenticated, as required by **[astm.f3411.v19.NET0210](../../../../requirements/astm/f3411/v19.md)**,
@@ -63,6 +53,8 @@ and that requests for existing flights that are executed with missing credential
63
53
64
54
This step is similar to unauthenticated requests, but uses incorrectly-authenticated requests instead.
65
55
56
+
#### [Service provider queries test step](../v19/fragments/sp_simple_queries.md)
57
+
66
58
#### ⚠️ Invalid credentials check
67
59
This check ensures that all requests are properly authenticated, as required by **[astm.f3411.v19.NET0210](../../../../requirements/astm/f3411/v19.md)**,
68
60
and that requests for existing flights that are executed with incorrect credentials fail.
0 commit comments