Created
October 12, 2022 06:37
-
-
Save aimtiaz11/af9c23920741412b73b1f956e1844ccf to your computer and use it in GitHub Desktop.
Munit Set Event (Payload and Query Params)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<munit:execution> | |
<munit:set-event doc:name="Set Event - Payload and Query Params"> | |
<munit:payload value="#[MunitTools::getResourceAsString('some-api/api-request.json')]" mediaType="application/json" /> | |
<munit:attributes value='#[ | |
{ | |
"queryParams": { | |
"doc_type": "abcd" | |
}, | |
"uriParams": { | |
"policyId": "123" | |
} | |
}]' /> | |
</munit:set-event> | |
</munit:execution> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment