# Camunda Process Test -Embedded engine

**URL:** <https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606>\
**Category:** Camunda 8 Topics\
**Tags:** camunda-8\
**Created:** [June 13, 2025, 2:58pm UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606 "2025-06-13T14:58:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yusuf\_Nagarwala](https://forum.camunda.io/user_avatar/forum.camunda.io/yusuf_nagarwala/32/32756_2.png) [@Yusuf\_Nagarwala](https://forum.camunda.io/u/Yusuf_Nagarwala)\
**Post date:** [June 13, 2025, 2:58pm UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606/1 "2025-06-13T14:58:06Z")

</div>

Hi,

I’m currently migrating my test suite from Camunda 7 to Camunda 8 and exploring the use of the new Camunda Platform Test (CPT) library.

In Camunda 7, I relied on in-memory embedded engine testing without needing Docker , which worked great, especially in environments with limited resources.

For Camunda 8, I’m constrained by infrastructure and would prefer to avoid dependencies on Docker.

Does CPT support running tests against an embedded Camunda 8 engine (similar to Zeebe Process Test)? Or is Docker/Testcontainers (or an external cluster) mandatory for CPT-based testing with Camunda 8?

---

<div class="post-metadata">

**Author:** ![Yusuf\_Nagarwala](https://forum.camunda.io/user_avatar/forum.camunda.io/yusuf_nagarwala/32/32756_2.png) [@Yusuf\_Nagarwala](https://forum.camunda.io/u/Yusuf_Nagarwala)\
**Post date:** [June 13, 2025, 4:57pm UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606/3 "2025-06-13T16:57:19Z")

</div>

Additionally Does the zeebe-test library support the new Camunda Java Client introduced in 8.8+?

---

<div class="post-metadata">

**Author:** ![cpbpm](https://forum.camunda.io/letter_avatar_proxy/v4/letter/c/919ad9/32.png) [@cpbpm](https://forum.camunda.io/u/cpbpm)\
**Post date:** [June 13, 2025, 5:05pm UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606/4 "2025-06-13T17:05:15Z")

</div>

ZPT will be deprecated in V8.8, CPT will be introduced in V8.8, due on Oct 2025 release.

> **[Introducing Camunda Process Test—The Next Generation Testing Library](https://camunda.com/blog/2025/04/camunda-process-test-the-next-generation-testing-library/)**
>
> Transition from Zeebe to Camunda Process Test with Camunda 8.8 for a more robust, flexible testing framework.

---

<div class="post-metadata">

**Author:** ![Philipp\_Ossler](https://forum.camunda.io/user_avatar/forum.camunda.io/philipp_ossler/32/25299_2.png) [@Philipp\_Ossler](https://forum.camunda.io/u/Philipp_Ossler)\
**Post date:** [July 4, 2025, 1:02pm UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606/5 "2025-07-04T13:02:49Z")

</div>

> [@Yusuf\_Nagarwala](#):
>
> is Docker/Testcontainers (or an external cluster) mandatory for CPT-based testing with Camunda 8?

This is the default way.

> [@Yusuf\_Nagarwala](#):
>
> Does CPT support running tests against an embedded Camunda 8 engine (similar to Zeebe Process Test)?

Recently, we added a new option to run the process tests on a [Remote runtime](https://docs.camunda.io/docs/next/apis-tools/testing/configuration/#remote-runtime), for example, on a local Camunda 8 Run.

---

<div class="post-metadata">

**Author:** ![Yusuf\_Nagarwala](https://forum.camunda.io/user_avatar/forum.camunda.io/yusuf_nagarwala/32/32756_2.png) [@Yusuf\_Nagarwala](https://forum.camunda.io/u/Yusuf_Nagarwala)\
**Post date:** [July 4, 2025, 2:07pm UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606/6 "2025-07-04T14:07:15Z")

</div>

Hi Philipp, thanks for checking this. Can we also configure a Saas cluster for the remote runtime?

additional questions are since this is not an ephemeral engine, how is the lifecycle managed for the deployed process defintions and the instances that are run in the test context? are they deleted once the test is complete?

---

<div class="post-metadata">

**Author:** ![Philipp\_Ossler](https://forum.camunda.io/user_avatar/forum.camunda.io/philipp_ossler/32/25299_2.png) [@Philipp\_Ossler](https://forum.camunda.io/u/Philipp_Ossler)\
**Post date:** [August 4, 2025, 10:56am UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606/7 "2025-08-04T10:56:19Z")

</div>

> [@Yusuf\_Nagarwala](#):
>
> Can we also configure a Saas cluster for the remote runtime?

Yes, but with limitations. Currently, CPT can’t delete data in a SaaS cluster. The endpoints are not exposed.

> [@Yusuf\_Nagarwala](#):
>
> how is the lifecycle managed for the deployed process defintions and the instances that are run in the test context? are they deleted once the test is complete?

CPT deletes all data after a test run.

If you use Spring, the process application deploys the processes before each test run.

---

<div class="post-metadata">

**Author:** ![system](https://forum.camunda.io/uploads/default/original/3X/5/8/58d50142eacca605d35cb1ef9e6b86ae85f49436.png) [@system](https://forum.camunda.io/u/system)\
**Post date:** [November 2, 2025, 10:57am UTC](https://forum.camunda.io/t/camunda-process-test-embedded-engine/62606/8 "2025-11-02T10:57:12Z")

</div>

Closed on November 2, 2025, 10:57am UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
