# SUT logs off when running via Test Configuration

**URL:** <https://forums.eggplantsoftware.com/t/sut-logs-off-when-running-via-test-configuration/8599>\
**Category:** Uncategorized\
**Tags:** script, sensetalk, eggplant-functional\
**Created:** [August 28, 2023, 6:46pm UTC](https://forums.eggplantsoftware.com/t/sut-logs-off-when-running-via-test-configuration/8599 "2023-08-28T18:46:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sirG](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@sirG](https://forums.eggplantsoftware.com/u/sirG)\
**Post date:** [August 28, 2023, 6:46pm UTC](https://forums.eggplantsoftware.com/t/sut-logs-off-when-running-via-test-configuration/8599/1 "2023-08-28T18:46:55Z")

</div>

Hi Everyone

I have an issue when running scripts via Test Configuration, one test will run as soon it kicks off another test the SUT will just log off making it difficult to render/find or run another handler. Whats the best possible solution for this?

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [August 31, 2023, 5:26pm UTC](https://forums.eggplantsoftware.com/t/sut-logs-off-when-running-via-test-configuration/8599/2 "2023-08-31T17:26:21Z")

</div>

Hi sirG,

This behavior is by design, but you are not the only customer with this question. The reasoning is that as soon as one test is finished with a SUT, that SUT should be available for other tests. Here are some recommendations; please consult with your TC if you have questions as to which is right for you.

- Add a code to check your SUT connection at the beginning of each test and wait conditionally until you have confirmation that the SUT is available. this could be as simple as `WaitFor 90, image:"someimageonSUTsplashscreen"` or might leverage the `ConnectionInfo()` function.
- Call all of your tests from within a single Primary script. If you are concerned that any test might fail and spoil the larger Primary script, use `Try` to capture those errors so that the script can continue.
- Combine only those tests that must run from the same SUT.

You can also discuss options with your TC for submitting an enhancement request.

Hope this helps,  
Dave
