I'm migrating my FunctionalTestCase from Mule 3.5.0 to Mule 3.6.0, when I try to post a json like:
Map properties = new HashMap();
properties.put("Content-Type", "application/json");
properties.put("http.method", "POST");
muleMessage.addProperties(properties, PropertyScope.OUTBOUND);
AbstractMuleContextTestCase.muleContext.getClient().send(url, muleMessage);
I always get NullPayload in the flow that I'm testing, how it's the proper way to do a post in the new version of Mule 3.6.0
newOptions().method("POST").build(). That will give you the operationsOptions you need. Let me know if it works. - afelisatti