|
| 1 | +[[ats_radius]] |
| 2 | +[abstract_test] |
| 3 | +==== |
| 4 | +[%metadata] |
| 5 | +identifier:: /conf/radius/no-query-params |
| 6 | +target:: /req/queries/radius |
| 7 | +test-purpose:: Validate that an error is returned by a `radius` query if no query parameters are specified. |
| 8 | +test-method:: |
| 9 | +step::: No query parameters are specified |
| 10 | +step::: Validate that a document was returned with a status code 400. |
| 11 | +==== |
| 12 | + |
| 13 | +[abstract_test] |
| 14 | +==== |
| 15 | +[%metadata] |
| 16 | +identifier:: /conf/radius/no-coords-param |
| 17 | +target:: /req/queries/radius |
| 18 | +test-purpose:: Validate that an error is returned by a `radius` query when the coords query parameter is not specified. |
| 19 | +test-method:: |
| 20 | +step::: coords query parameter is not specified |
| 21 | +step::: Validate that a document was returned with a status code 400. |
| 22 | +==== |
| 23 | + |
| 24 | + |
| 25 | +[abstract_test] |
| 26 | +==== |
| 27 | +[%metadata] |
| 28 | +identifier:: /conf/radius/coords-param-invalid |
| 29 | +target:: /req/queries/radius |
| 30 | +test-purpose:: Validate that an error is returned by a `radius` query when the coords query parameter does not contain a valid POINT or MULTIPOINT Well Known Text value. |
| 31 | +test-method:: |
| 32 | +step::: Check coords query parameter is a valid Well Known Text Point or MultiPoint value |
| 33 | +step::: Validate that a document was returned with a status code 400. |
| 34 | +==== |
| 35 | + |
| 36 | +[abstract_test] |
| 37 | +==== |
| 38 | +[%metadata] |
| 39 | +identifier:: /conf/radius/no-within-param |
| 40 | +target:: /req/queries/radius |
| 41 | +test-purpose:: Validate that an error is returned by a `radius` query when the within query parameter is not specified. |
| 42 | +test-method:: |
| 43 | +step::: within query parameter is not specified |
| 44 | +step::: Validate that a document was returned with a status code 400. |
| 45 | +==== |
| 46 | + |
| 47 | +[abstract_test] |
| 48 | +==== |
| 49 | +[%metadata] |
| 50 | +identifier:: /conf/radius/no-within_units-param |
| 51 | +target:: /req/queries/radius |
| 52 | +test-purpose:: Validate that an error is returned by a `radius` query when the within_units query parameter is not specified. |
| 53 | +test-method:: |
| 54 | +step::: within_units query parameter is not specified |
| 55 | +step::: Validate that a document was returned with a status code 400. |
| 56 | +==== |
| 57 | + |
| 58 | + |
| 59 | +[abstract_test] |
| 60 | +==== |
| 61 | +[%metadata] |
| 62 | +identifier:: /conf/radius/valid-query-params |
| 63 | +target:: /req/queries/radius |
| 64 | +test-purpose:: Validate that resources can be identified and extracted from a Collection with a `radius` query using query parameters. |
| 65 | +test-method:: |
| 66 | ++ |
| 67 | +-- |
| 68 | +. Test with valid query parameters |
| 69 | +. Validate that a document was returned with a status code 200. |
| 70 | +
|
| 71 | +Repeat these tests using the following parameter tests: |
| 72 | +
|
| 73 | +*Coordinates* |
| 74 | +
|
| 75 | +* Parameter <<req_edr_coords-definition,/req/edr/coords-definition>> |
| 76 | +* Response <<req_edr_point-coords-response,/req/edr/point-coords-response>> |
| 77 | +
|
| 78 | +*VerticalLevel* |
| 79 | +
|
| 80 | +* Parameter <<req_edr_z-definition,/req/edr/z-definition>> |
| 81 | +* Response <<req_edr_z-response,/req/edr/z-response>> |
| 82 | +
|
| 83 | +*Parameters* |
| 84 | +
|
| 85 | +* Parameter <<req_edr_parameters-definition,/req/edr/REQ_rc-parameter-name-definition>> |
| 86 | +* Response <<req_edr_parameters-response,/req/edr/parameter-name-response>> |
| 87 | +
|
| 88 | +*DateTime* |
| 89 | +
|
| 90 | +* Parameter <<req_collections_rc-time-definition,/req/core/datetime-definition>> |
| 91 | +* Response <<req_core_rc-time-response,/req/core/datetime-response>> |
| 92 | +
|
| 93 | +
|
| 94 | +Execute requests with combinations of the "coords","time","parameter-name","z","crs" and "f" query parameters |
| 95 | +and verify that only information that matches the selection criteria is returned. |
| 96 | +-- |
| 97 | +==== |
| 98 | + |
| 99 | + |
| 100 | +include::../collections/radius/ATS_rc-coords-definition.adoc[] |
| 101 | + |
| 102 | +include::../collections/radius/ATS_rc-coords-response.adoc[] |
| 103 | + |
| 104 | +include::../collections/radius/ATS_rc-z-definition.adoc[] |
| 105 | + |
| 106 | +include::../collections/radius/ATS_rc-z-response.adoc[] |
| 107 | + |
| 108 | + |
| 109 | +include::../core/radius/ATS_rc-time-definition.adoc[] |
| 110 | + |
| 111 | +include::../core/radius/ATS_rc-time-response.adoc[] |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | +include::../collections/radius/ATS_rc-parameter-name-definition.adoc[] |
| 116 | + |
| 117 | +include::../collections/radius/ATS_rc-parameter-name-response.adoc[] |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | +include::../collections/radius/ATS_rc-crs-definition.adoc[] |
| 122 | + |
| 123 | +include::../collections/radius/ATS_rc-crs-response.adoc[] |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | +include::../collections/radius/ATS_rc-f-definition.adoc[] |
| 128 | + |
| 129 | +include::../collections/radius/ATS_rc-f-response.adoc[] |
0 commit comments