Hi Krishantha,

We can standup a REST endpoint and listen to HTTP requests. When IS sends
the notification request this endpoint can persist it to filesystem. The
framework can then read the file, parse it, assert it and then delete the
file.

WDYT?

Thanks,
Johann.

On Mon, Dec 15, 2014 at 11:46 AM, Hasintha Indrajee <[email protected]>
wrote:
>
> Hi all,
>
> When a certain operation takes place,  a rest message will be sent to an
> external endpoint. For an example when a XACML policy update takes place,
> the information about the updated policy is sent to an external endpoint
> via a rest call. What would be the way to write integration-tests to this
> scenario. Are there any samples written ? ie I need to have an external
> endpoint to consume the message and assert based on the content of the
> message. The product which the integration test should be written is
> Identity Server.
>
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to