Class JsonRestTest

    • Constructor Detail

      • JsonRestTest

        public JsonRestTest()
    • Method Detail

      • doRequest

        protected org.codehaus.jettison.json.JSONObject doRequest​(String wsPart,
                                                                  String testContent,
                                                                  String method,
                                                                  int responseCode)
      • doContentRequest

        protected org.codehaus.jettison.json.JSONObject doContentRequest​(String wsPart,
                                                                         String content,
                                                                         int expectedResponse,
                                                                         String expectedContent,
                                                                         String method)
      • getOpenbravoURL

        protected String getOpenbravoURL()
        Returns the url of the Openbravo instance. The default value is: OB_URL
        Returns:
        the url of the Openbravo instance.