Table of Contents

Search

  1. Preface
  2. Part 1: Using Process Developer
  3. Part 2: Creating and Modifying Processes
  4. Part 3: Functions, Events, Errors, and Correlation
  5. Part 4: Testing and Deployment
  6. Part 5: Process Central and Process Server (On-Premises)

Process Developer

Process Developer

Commands

Commands

Open a B-unit file in the B-unit editor, and select Commands from the
Outline
view. To add a command, right-mouse click on BPEL Unit.
Commands send messages to the B-unit test engine to execute the test logic.
The commands you can add are as follows:
Command
Description
Send Message
Sends WSDL messages to the test engine.
Select an Operation for the specified partner link.
Delivery Options.
  • Async
    . Controls whether or not two receives can execute in a row, without waiting for the reply associated with the first receive to complete
  • Delay
    . Wait value that the B-unit waits before starting to
    check
    the Timeout.
  • Timeout. Sets a value for the how long the test engine should wait for process completion. This setting ensures that the invokes complete with the correct count.
  • Message Contex
    t. Optionally specify the meta-data for the incoming message, including the authenticated principal, and other message header data.
Wait Until
Checks for the execution completion of the process.
  • Delay
    . Wait value that the B-unit waits before starting to check the Timeout.
  • Timeout
    . Sets a value for the how long the test engine should wait for process completion. This setting ensures that the invokes complete with the correct count.
  • Fail on Timeou
    t. Enable this check box to fail the test if the process does not complete within the timeout value.
Terminate Process
Terminates a process instance for one of the processes in the B-unit test, if you are running more than one process.
Assert Process State
Asserts the execution state of the process that you specify.
  • Process State
    . Running, suspended, complete, faulted, final. Select final to assert completed and faulted states.
  • Process Id
    . Used only if you are running the test on multiple BPEL files.
  • Delay
    . Wait value that the B-unit waits before starting to check the Timeout.
  • Wait for Async
    . If you have Async selected in a Send Message command for the same process, this property allows you to wait to assert the process state until all asynchronous activities have completed.

Back to Top

0 COMMENTS

We’d like to hear from you!