Blog Posts Process Management

Processing of CAMUNDA BPMN 2.0 models to generate test cases in HP ALM

Blog: BPM-Xchange team blog

Modeling with BPMN 2.0 is nowadays a very common case  for documentation and automation of business processes. But testing of complex models is not an easy task. BPM-X® processes BPMN models from tools like CAMUNDA, generates test cases and uses tools like HP ALM for test execution and automation.

There are many tools in the market for BPMN modeling and execution and some of them are supporting the new BPMNDI standard by OMG for data exchange format. A good implementation of BPMN modeling and data exchange is CAMUNDA, an open source tool for process automation. BPM-X is a model bus software for diagram and model interchange with the capability to generate test cases in different tools.

The described use-case comprises the use BPMN 2.0 to describe the business processes for automation. The created model and diagram is stored in a .BPMN file. The following picture shows an BPMN 2.0 model SAP® business process procure-to-pay.

CAMUNDA BPMN 2.0 process model
CAMUNDA BPMN 2.0 process model

The created .BPMN file is loaded into the BPM-X® model bus using the BPMNDI adapter. After having loaded the model into the model bus, operations like automated test case generation can be executed. Processing an BPMN model is a kind of simulation of the model for possible end-to-end paths and generation of test cases. The algorithms are based on model-based testing (MBT). During this processing of the BPMN model a cost optimization is performed to calculate the minimal set of required est cases. This optimization can lower the number of generated end-to-end paths to cover all tasks, all transitions, all paths and even higher coverage based on needs for quality.

Generated HP ALM test case
Generated HP ALM test case

After processing  of end-to-end paths each path becomes a test case assigned with specific custom data attributes. The BPM-X model bus then uses its HP ALM adapter to store the test cases via REST web services in the HP ALM test plan and specific subject.

Facebooktwittergoogle_plusredditpinterestlinkedinmailby feather

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples