Questionmark's Open Assessment Platform

Using third-party Test Harnesses

Since QMWISe uses standard web services technology it is possible to easily test the methods using any third party Test Harness that uses SOAP. The following section explains how to use soapUI to connect to Perception and test the web services with it.

soapUI can be downloaded from the soapUI web site at:


The following section explains how to connect soapUI to your installation of Perception and QMWISe. To connect soapUI, launch the application and:

  1. Click File | New soapUI Project.
  2. Enter an appropriate Project Name
  3. In the Initial WSDL/WADL text box enter the location for the QMWISe WSDL. The default location for the QMWISe WSDL is:
  • Perception 5:
    • http://<Perception server>/qmwise5/qmwise.asmx?wsdl
  • Perception 4:
    • http://<Perception server>/qmwise4/qmwise.asmx?wsdl
  • Place a check in the Create Requests checkbox.
  • Click OK.
  • The WSDL will now be loaded in to soapUI with a sample request for each method. The sample requests make it easy to quickly create any given request.

    In the example below we will create a new Topic folder in the Shared Repository using the CreateTopic web service and soapUI. To run the example request follow the instructions below:

    1. Select the QMWISe project you created above.
    2. Expand the QMWISeSoap tree to display all the available web services.

    3. Scroll down the list and locate the CreateTopic web service.
    4. Expand the CreateTopic web service, you should now see the sample request called Request 1. If Request 1 is not available, right-click on the web service and select New Request. Enter a name for the request, and click OK.

    5. Double-click Request 1. A window displaying the request should appear.

    6. It is now possible to enter the required information in to each XML tag for the request. For example the Security header information you calculated can be added to the web service Security section.

    7. Once the Security header has been updated you can start to update the information required by the CreateTopic web service.

    8. For the parameters that are not needed you should ensure that the ? contained in the XML tag is removed. This includes the Trust header at the top.

    9. Once these have been removed click the Submit request button in the top left corner of the window.

    10. A response from the server should now be displayed.

    The response displays the Topic_ID of the new topic you just created in your repository. You can use Authoring Manager or Enterprise Manager to see this topic. However, if you received an error this will either be because there is a problem with the Request information or a problem with the sever. Please check the information that the response provides and refer to the error codes, if required.

    You have tested your first web service. You can use soapUI to run any of the other web services and it is a good way of testing the requests and responses you plan to use in your application.