Conformance class: SceneSelection http:www.opengis.netspecROSEO1.0confSceneSelection

180 Copyright © 2014 Open Geospatial Consortium c Test method: Send incorrect GET requests on OrderedProduct resource: ฀ HTTP Method: GET ฀ PATH: http:hostname:portcontext pathROSEO1.0.0order{order identifier}file Including several errors: 1. Incorrect Order identifier: PATH: http:hostname:portcontext pathROSEO1.0.0orderINCORRECT_ORDER_IDfile 2. Incorrect Order Item identifier: PATH: http:hostname:portcontext pathROSEO1.0.0order{order identifier}INCORRECT_ORDER_ITEM_IDfile 3. Incorrect Order Search criteria: PATH: http:hostname:portcontext pathROSEO1.0.0order{order identifier}file?wrong_filter=100 Verify the response message: ฀ HTTP Status: 400 ฀ HTTP Entity Body: o Includes an ows:ExceptionReport element set according to Table 7-50. Pass if the assertion is satisfied; fail otherwise. d References: ฀ http:www.opengis.netspecROSEO1.0reqCoreOrderedProductsexceptio n e Test type: Capability

11.2 Conformance class: SceneSelection http:www.opengis.netspecROSEO1.0confSceneSelection

11.2.1 GET OrderOptionsxml a Test id:

http:www.opengis.netspecROSEO1.0confSceneSelectionGET_OrderOptio nsXML 181 Copyright © 2014 Open Geospatial Consortium b Test purpose: To verify whether the ROSEO Server under test supports scene selection options for at least one product collection. Note that the request message shall be prepared in order to allow the ROSEO Server under test to return a non empty response i.e. it has to specifiy a supported product id collection id with non empty scene selection options. c Test method: Verify that the ROSEO Server under test accepts the following request: o HTTP Method: GET o PATH: o http:hostname:portcontext pathROSEO1.0.0options{eo:identifier}xml or: o http:hostname:portcontext pathROSEO1.0.0options{collection identifier}xml Verify the response message: o HTTP Status: 200 OK o HTTP Entity Body: o the returned OrderOptions is valid against roseo.xsd XML Schema. o include OrderOptionsOrderOptionGrouporderType set with: PRODUCT_ORDER o include at least one instance of OrderOptionsOrderOptionGroupsceneSelectionOption o include at least on instance of OrderOptionsOrderOptionGroupproductDeliveryOptionsonlineData Accessprotocol d References: ฀ http:www.opengis.netspecROSEO1.0reqSceneSelectionOrderOptionsf ormatxml e Test type: Capability

11.2.2 POST Order a Test id:

http:www.opengis.netspecROSEO1.0confSceneSelectionPOST_Order b Test purpose: 182 Copyright © 2014 Open Geospatial Consortium To verify that the ROSEO Server under test is able to create Order resources with scene selection options. Note that the request message shall be prepared in order to allow the ROSEO Server under test to accept the order i.e. it has to specifiy a supported product having scene selection options. c Test method: Verify that the ROSEO Server under test accepts the following request: ฀ HTTP Method: POST ฀ PATH: http:hostname:portcontext pathROSEO1.0.0order ฀ HTTP Entity Body: o Including roseo:Order valid against the XML schema roseo.xsd; o Specifying product order: OrderorderType = “PRODUCT_ORDER” o Specifying at least 1 Earth Observation Product: OrderorderItemproductId o Setting unique OrderorderItemitemId within the order itself. o Setting order options according to OrderOptions resource corresponding to the specified product ID: OrderorderItemproductOrderOptionsId OrderorderItemoption o Setting one scene selection according to OrderOptions resource corresponding to the specified product ID: OrderorderItemsceneSelection o Setting options for online access according to OrderOptions resource corresponding to the specified product ID: Either: OrderdeliveryOptionsonlineDataAccessprotocol Or: OrderorderItemdeliveryOptionsonlineDataAccessprotocol o Specifying orderReference value. Verify the response message: ฀ HTTP Status: 200 OK ฀ HTTP Entity Body: o Includes one instance of oseo:orderId: that is valid against roseo.xsd XML Schema; 183 Copyright © 2014 Open Geospatial Consortium that includes a unique ID; that is also a valid URL composed as follows: http:hostname:portcontext pathROSEO1.0.0order{order identifier} d References: ฀ http:www.opengis.netspecROSEO1.0reqSceneSelectionOrdercreation content e Test type: Capability

11.2.3 POST Ordernon_nominal_conditions a Test id:

http:www.opengis.netspecROSEO1.0confSceneSelectionPOST_Order- non-nominal b Test purpose: To verify that the ROSEO Server under test is able to handle incorrect HTTP POST request to Order resource having incorrect scene selection. c Test method: Send incorrect POST requests on Order resource: ฀ HTTP Method: POST ฀ PATH: http:hostname:portcontext pathROSEO1.0.0order Including the error: ฀ Mismatch between the roseo:OrderorderItemsceneSelection element and the scene selection options described by the corresponding OrderOptions resource. Verify the response message: ฀ HTTP Status: 400 ฀ HTTP Entity Body: o Includes an ows:ExceptionReport element set according to Table 7-41. Pass if the assertion is satisfied; fail otherwise. d References: ฀ http:www.opengis.netspecROSEO1.0reqSceneSelectionOrderexceptio n e Test type: Capability 184 Copyright © 2014 Open Geospatial Consortium

11.2.4 GET OrderID a Test id:

http:www.opengis.netspecROSEO1.0confSceneSelectionGET_OrderID b Test purpose: To verify whether the ROSEO Server under test is able to correctly return an Order having scene selection set. Note that the test must be prepared inserting an existing order id and not using an arbitrary value. c Test method: Send the following request: o HTTP Method: GET o PATH: http:hostname:portcontext pathROSEO1.0.0order{order identifier} The PATH shall be set using the roseo:orderId returned by test §11.2.2. Verify the response message: o HTTP Status: 200 OK o HTTP Entity Body: o Includes roseo:Order element; o The returned element is valid against roseo.xsd XML Schema; o The ID of the returned order roseo:OrderorderId matches the one in the request; o The returned roseo:Order element includes all parameters set at order creation §11.2.2, specifically: roseo:OrderorderType = ”PRODUCT_ORDER” roseo:OrderorderItemproductId o The returned roseo:Order element shall include all order status information: roseo:OrderorderId roseo:OrderorderStatusInfo roseo:OrderorderDateTime roseo:OrderorderItemorderStatusInfo o In case the orderItem has been completed then: roseo:orderItemorderItemStatusInfostatus = Completed Otherwise the item status can be: Submitted, Accepted, InProduction. o The returned roseo:Order element shall include the download URL: roseo:OrderdownloadURL o The returned roseo:OrderorderItem shall include: roseo:OrderorderItemitemIdURL 185 Copyright © 2014 Open Geospatial Consortium roseo:OrderorderItemdownloadURL roseo:OrderorderItemsceneSelection d References: ฀ http:www.opengis.netspecROSEO1.0reqSceneSelectionOrderretriever esponse e Test type: Capability

11.3 Conformance class: SubscriptionOrder http:www.opengis.netspecROSEO1.0confSubscriptionOrder