Hi Waruna,

You can use WireMonitor server [1] provided by TAF for this. Wire Monitor
Server can be used to capture messages sent from ESB to the backend server.
You can configure the sample to send messages to the wire monitor endpoint
instead of the real backend and check whether the wire level messages
contain the correct information. You need to start three WireMonitor serves
and alter the sample a bit to to refer new endpoints.

[1]
http://docs.wso2.com/display/TA430/Using+WireMonitorServer+in+Integration+Tests

Thanks,
Krishantha.




On Tue, Jul 15, 2014 at 9:28 PM, Waruna Perera <[email protected]> wrote:

>
> Hi,
>
> I am trying to write a test case for [1]. In this scenario ESB uses
> Message Forwarding Processor to forwards requests in a load balance
> scenario. My first approach was to alter the sample a bit by sending
> messages to three different JMS queues and check the message count. As I
> understood it will not work as forwarding Processor will send the message
> as soon as the end point is available.
>
> What would be the best way to implement this test case?
>
>
>
> --
> Waruna Perera
> Senior Software Engineer - Test Automation
> Mobile: +94 77 3867037
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
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