Simulate running several process instances of the same process template

6 views
Skip to first unread message

Nariman Ammar

unread,
Jan 17, 2016, 6:46:32 AM1/17/16
to BPELUnit
Hello,
How can I apply BpelUnit to simulate running several process instances of the same process template? Similar to different process versions using the createInstance="yes" attribute?
Thanks

Antonio García Domínguez

unread,
Jan 18, 2016, 4:25:35 AM1/18/16
to bpel...@googlegroups.com
Hi Nariman,

This would require running multiple instances of BPELUnit. The problem is that the ports would probably clash (each BPELUnit instance spins up its own server for mockups): you'd have to use multiple .bpts files that are almost identical except from the ports, and then run them from the command line (using bpelunit.bat or bpelunit.sh).

Kind regards,
Antonio

--
Sie erhalten diese Nachricht, weil Sie in Google Groups E-Mails von der Gruppe "BPELUnit" abonniert haben.
Wenn Sie sich von dieser Gruppe abmelden und keine E-Mails mehr von dieser Gruppe erhalten möchten, senden Sie eine E-Mail an bpelunit+u...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.

Nariman Ammar

unread,
Jan 18, 2016, 3:20:46 PM1/18/16
to BPELUnit
How can we model interacting process instances? For example, process p1 is a service that interacts with another processs p2 by invoking its operation. At the same time p2, which is another service recieves the invoke action from p1. process it then returns the result back to p1 which resumes.
Thanks

process p1
 invoke service

Antonio García Domínguez

unread,
Jan 23, 2016, 10:38:39 AM1/23/16
to bpel...@googlegroups.com
Hi Nariman,

On 18 January 2016 at 20:20, Nariman Ammar <narima...@gmail.com> wrote:
How can we model interacting process instances? For example, process p1 is a service that interacts with another processs p2 by invoking its operation. At the same time p2, which is another service recieves the invoke action from p1. process it then returns the result back to p1 which resumes.

Do you want to test both services, or just one of them? You could deploy p2 normally to your BPEL engine and then use it from p1, which would be invoked by BPELUnit.

You're welcome,
Antonio
Reply all
Reply to author
Forward
0 new messages