# Inability to Create Schedule with test environment

**URL:** <https://community.temporal.io/t/inability-to-create-schedule-with-test-environment/8664>\
**Category:** Community Support\
**Tags:** java-sdk\
**Created:** [June 28, 2023, 4:36am UTC](https://community.temporal.io/t/inability-to-create-schedule-with-test-environment/8664 "2023-06-28T04:36:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nnv\_saka](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/nnv_saka/32/3950_2.png) [@nnv\_saka](https://community.temporal.io/u/nnv_saka)\
**Post date:** [June 28, 2023, 4:36am UTC](https://community.temporal.io/t/inability-to-create-schedule-with-test-environment/8664/1 "2023-06-28T04:36:24Z")

</div>

I am creating a schedule for the workflow in a testing environment, but I encountered the following error: “CreateSchedule is unimplemented.”  
Testing is essential, but I cannot create an external server.  
Is there any way to overcome this?  
For example, using testcontainers.

Caused by: io.grpc.StatusRuntimeException: UNIMPLEMENTED: Method temporal.api.workflowservice.v1.WorkflowService/CreateSchedule is unimplemented  
at io.grpc.Status.asRuntimeException(Status.java:539) ~[grpc-api-1.54.1.jar:1.54.1]  
at io.grpc.stub.ClientCalls$UnaryStreamToFuture.onClose(ClientCalls.java:544) ~[grpc-stub-1.54.1.jar:1.54.1]  
at io.grpc.PartialForwardingClientCallListener.onClose(PartialForwardingClientCallListener.java:39) ~[grpc-api-1.54.1.jar:1.54.1]

---

<div class="post-metadata">

**Author:** ![jwatkins](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/jwatkins/32/2581_2.png) [@jwatkins](https://community.temporal.io/u/jwatkins)\
**Post date:** [July 4, 2023, 5:11pm UTC](https://community.temporal.io/t/inability-to-create-schedule-with-test-environment/8664/3 "2023-07-04T17:11:19Z")

</div>

Most of our SDKs now make it very easy to start a Test Workflow Environment that uses the Temporal CLI’s builtin development server (which is using the very code as the official server), as an alternative to the time-skipping test server (which is a Java based implementation of the Temporal Server, providing limited feature support). Unfortunately, our Java SDK don’t yet provide this feature out of the box. See [this feature request ticket](https://github.com/temporalio/sdk-java/issues/1804).

In the mean time, you may simply [download Temporal CLI by yourself](https://github.com/temporalio/cli#install), and [run a local Dev Server](https://github.com/temporalio/cli#start-the-server). No external/persistant database is required (the CLI’s dev server use an in-memory sqlite database). Then, in your tests, make sure to set [the `useExternalService` property](https://github.com/temporalio/sdk-java/blob/15337d9a7cfd12ca1d3096034e017a82f167ea45/temporal-testing/src/main/java/io/temporal/testing/TestEnvironmentOptions.java#L132) to `true`.
