# Java SDK : E2E testing for signal

**URL:** <https://community.temporal.io/t/java-sdk-e2e-testing-for-signal/16669>\
**Category:** Community Support\
**Tags:** java-sdk, signals\
**Created:** [March 4, 2025, 3:07am UTC](https://community.temporal.io/t/java-sdk-e2e-testing-for-signal/16669 "2025-03-04T03:07:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![STR](https://sea2.discourse-cdn.com/flex016/user_avatar/community.temporal.io/str/32/6931_2.png) [@STR](https://community.temporal.io/u/STR)\
**Post date:** [March 4, 2025, 3:07am UTC](https://community.temporal.io/t/java-sdk-e2e-testing-for-signal/16669/1 "2025-03-04T03:07:10Z")

</div>

Hi Team,

I am working of testing temporal signal in integration test. PFB required details-

Background-

Dev Code-

workflow A - Orchestrator workflow  
Workflow B and C two other workflow govern by A  
Workflow A started one task and pass to workflow B to do required job.  
while working on task, workflow B identified one emergency case and send notification using signal to pause workflow A till the time A acknoledge the signal

based on private attribute isEmergency, if it is true  
{  
B send signal to A  
To send signal from B to A → B stbubbed A using untypedExternalStub method.  
}

Approach Tried-

1. using testEnvironent
2. Started A with untyped stubbed and then B sothat A can acknoledge the signal and B continue task

Both the cases, it is keep on waiting for signal to be acknoledge and as per log I can see B are trying to send signal multiple time in endless loop or till the time timeout occur

Question-  
Could you please suggest working example to test signal in integration test mentioned above. where signal method does not have any input/output parameter

Regards,  
STR
