Class AsyncTests

java.lang.Object
org.opengis.cite.wps20.CommonFixture
org.opengis.cite.wps20.asynchronous.AsyncTests

public class AsyncTests extends CommonFixture

AsyncTests class.

  • Constructor Details

    • AsyncTests

      public AsyncTests()
  • Method Details

    • ValidGetStatusViaPOSTXML

      public void ValidGetStatusViaPOSTXML() throws Exception
      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

      public void ValidGetResultViaPOSTXML() throws Exception
      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

      public void CheckGetStatus(String SERVICE_URL, String jobID)

      CheckGetStatus.

      Parameters:
      SERVICE_URL - a String object
      jobID - a String object