Class AsyncTests
java.lang.Object
org.opengis.cite.wps20.CommonFixture
org.opengis.cite.wps20.asynchronous.AsyncTests
AsyncTests class.
-
Field Summary
Fields inherited from class org.opengis.cite.wps20.CommonFixture
client, COMPLEX_INPUT_ID, COMPLEX_OUTPUT_ID, COMPLEX_REQUEST_TEMPLATE_PATH, DESCRIBE_PROCESS_REQUEST_TEMPLATE_PATH, EchoProcessId, GET_CAPABILITIES_REQUEST_TEMPLATE_PATH, GET_RESULT_TEMPLATE_PATH, GET_STATUS_TEMPLATE_PATH, INPUT_REFERENCE_TRANSMISSION_TEMPLATE_PATH, INPUT_VALUE_TRANSMISSION_TEMPLATE_PATH, LITERAL_INPUT_ID, LITERAL_OUTPUT_ID, LITERAL_REQUEST_TEMPLATE_PATH, OUTPUT_REFERENCE_TRANSMISSION_TEMPLATE_PATH, OUTPUT_VALUE_TRANSMISSION_TEMPLATE_PATH, request, response, ROOT_PKG_PATH, ServiceUrl, UNIQUE_JOB_IDS_TEMPLATE_PATH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
CheckGetStatus
(String SERVICE_URL, String jobID) CheckGetStatus.void
A.5.15.void
A.5.14.Methods inherited from class org.opengis.cite.wps20.CommonFixture
buildGetRequest, clearMessages, GetConnection, GetContentFromGETKVPRequest, GetContentFromPOSTXMLRequest, GetDocumentTemplate, GetEchoProcessInputIdAndOutputId, getResponseEntityAsDocument, initCommonFixture, prettyPrint, TransformXMLDocumentToXMLString, TransformXMLFileToXMLDocument, TransformXMLStringToXMLDocument
-
Constructor Details
-
AsyncTests
public AsyncTests()
-
-
Method Details
-
ValidGetStatusViaPOSTXML
A.5.14. Verify that the server can handle GetStatus requests via POST/XML. Flow of Test Description: Send a valid XML Execute request to the server under test, setting the “mode” attribute to “async”. Verify that a valid wps:StatusInfo document is returned. Extract the wps:JobID. Send a valid XML GetStatus request to the server under test using the extracted JobID. Test passes if a valid wps:StatusInfo document is returned.- Throws:
Exception
-
ValidGetResultViaPOSTXML
A.5.15. VSend a valid XML Execute request to the server under test, setting the “mode” attribute to “async”. Modulate the “response” parameter. Verify that a valid wps:StatusInfo document is returned. Extract the wps:JobID. Check the status of the job. If the job succeeded, send a valid XML GetResult request to the server under test using the extracted JobID. Depending on the value of the “response” parameter of the above Execute request.- Throws:
Exception
-
CheckGetStatus
CheckGetStatus.
-