How to pass Attributes (uriParams) in MUnit Set Event

How to pass attributes(uriParams) in MUnit Set Event


Many of you might face some trouble while sending uriParams in MUnit Set Event. If you are testing the Mule application using MUnit 2.1 or above versions and you want to pass uri parameters then you can use the below expression to pass your uri parameters and test the mule flows.

<munit:attributes value="#&nbsp;[{uriParams : {'key1' :'value1','key2' :'value2'}}]" />




Supported Mule Version details:

Mule 4.1.x or above

Anypoint Studio 7.3

MUnit 2.1.x or above



Post a Comment

0 Comments