Sample Json test case can be found at -
https://github.com/warunap/product-esb/blob/master/modules/integration/tests-integration/tests-mediator-1/src/test/java/org/wso2/carbon/esb/mediator/test/factory/JsonFormat_IncomingJson_ArgsJsonExpression_WithStream_TestCase.java

Thanks,
Krishantha.

On Mon, Oct 27, 2014 at 11:40 AM, Dimuthu De Lanerolle <[email protected]>
wrote:

> Hi,
>
> We have a JSON client inside ESB [1]. You can get JSON messages over http
> transport .
>
> [1]
> https://github.com/wso2-dev/product-esb/blob/master/modules/integration/test-common/integration-test-utils/src/main/java/org/wso2/esb/integration/common/utils/clients/JSONClient.java
>
> Regards
>
> On Mon, Oct 27, 2014 at 11:18 AM, Isuru Ranawaka <[email protected]> wrote:
>
>> Hi kalpa,
>>
>> I think that you can write a proxy that returns a JSON Object by
>> specifying property
>>
>> <property name="messageType" value="application/json" scope="axis2"/>
>>
>> which will convert receiving object to JSON .
>>
>> thanks
>>
>> isurur
>>
>> On Mon, Oct 27, 2014 at 10:59 AM, Kalpa Welivitigoda <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I need $subject to write an integration test for ESB. Do we already have
>>> such a service in the test automation framework?
>>>
>>> --
>>> Best Regards,
>>>
>>> Kalpa Welivitigoda
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> Email: [email protected]
>>> Mobile: +94776509215
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards
>> Isuru Ranawaka
>> M: +94714629880
>> Blog : http://isurur.blogspot.com/
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dimuthu De Lanerolle
> Software Engineer
> WSO2 Inc.
> lean . enterprise . middlewear.
> http://wso2.com/
> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : [email protected]
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Krishantha Samaraweera
Senior Technical Lead - Test Automation
Mobile: +94 77 7759918
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to