Class WSReadTest


  • public class WSReadTest
    extends BaseWSTest
    Test the DAL rest webservices in read-mode. The test cases here require that there is a running Openbravo at http://localhost:8080/openbravo
    Author:
    mtaal
    • Constructor Detail

      • WSReadTest

        public WSReadTest()
    • Method Detail

      • testSchemaWebService

        public void testSchemaWebService()
                                  throws Exception
        Tests retrieval of the XML Schema defining the REST webservice.
        Throws:
        Exception
      • testTypesWebService

        public void testTypesWebService()
                                 throws Exception
        Tests a special web service which lists all Entities (types) in the system.
        Throws:
        Exception
      • testWhereClause

        public void testWhereClause()
                             throws Exception
        Queries for a few Table objects using a REST call with a whereclause.
        Throws:
        Exception
      • testPagedWhereClause

        public void testPagedWhereClause()
                                  throws Exception
        Performs a number of paged queries.
        Throws:
        Exception