Patent ID: 7542930

Claim:
A computer-implemented method of simulating a complex document-based choreography of message exchanges between services, the method including: representing as one or more scenarios a business process that includes exchanges of electronic documents between computer nodes, including, defining a plurality of scenario steps, wherein the steps have a condition and/or an action, wherein the condition defines prerequisites for the step to be executed and the action defines what happens if the step is executed; and storing the plurality of steps in a memory; and testing at least one scenario on a computer coupled to the memory, including, executing steps having no conditions are executed first, resulting in one or more simulated messages being received from at least one of the computer nodes, the simulated messages including one or more electronic documents; performing steps having conditions that are satisfied in light of the simulated messages received; and repeating the performing of steps having conditions that are satisfied until no more conditions are satisfied or no more steps are left.