Class TestCasesMediator


  • public class TestCasesMediator
    extends Object
    Class is responsible for mediating incoming payload with relevant configuration.
    • Method Detail

      • setBody

        public static void setBody​(org.apache.http.client.methods.HttpEntityEnclosingRequestBase request,
                                   TestCase currentTestCase)
        Set a payload to Entity Enclosing Request.
        Parameters:
        request - HttpEntityEnclosingRequestBase
        currentTestCase - current test case
      • createOMElement

        public static org.apache.axiom.om.OMElement createOMElement​(String xml)
        Creating OMElement for payload.
        Parameters:
        xml - input payload
        Returns:
        payload in OMElement type