Running Post-actions
A post-action is a paricular action : the only difference is that post-actions will only be executed when all the expects and all the actions have been validated.
The following example demonstrates that although the post-action appears immediately after an asynchronous injection, it won't be processed before the action and the expect has completed :
<test name="post_3"> <flow>flow1</flow> <description>Use a post action with an expect and and action.</description> <expect mod="port1"> <so orderId="1"/> </expect> <action async="true"> <inject mod="getSo"> <so orderId="1"/> </inject> </action> <post> <checkObject object="1"/> </post> </test>
Copyright © Cloud Software Group, Inc. All rights reserved.