BPEL unit (B-unit) testing is a framework that tests BPEL processes in the Process Developer engine. The easiest way to create a B-unit test is to simulate a process and save the simulation as a B-unit test.
To simulate a process, you add sample data for receives and invokes.
Set the default sample data generation method for B-unit tests: inline data or imported data file. By default, the data is imported as a sample data file. This setting can make it easier for you to maintain B-unit tests. If you select inline, the data from the simulation is shown as an XML document.
In the B-unit Editor, select
Invoke
Simulated Response
Message
Part
, you can set the data to be inline or to be imported from the workspace.