# DAI Agent create test config issue

**URL:** <https://forums.eggplantsoftware.com/t/dai-agent-create-test-config-issue/7912>\
**Category:** Eggplant Functional\
**Tags:** eggplant\
**Created:** [August 10, 2022, 8:51pm UTC](https://forums.eggplantsoftware.com/t/dai-agent-create-test-config-issue/7912 "2022-08-10T20:51:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnny8867](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/j/e95f7d/32.png) [@johnny8867](https://forums.eggplantsoftware.com/u/johnny8867)\
**Post date:** [August 10, 2022, 8:51pm UTC](https://forums.eggplantsoftware.com/t/dai-agent-create-test-config-issue/7912/1 "2022-08-10T20:51:49Z")

</div>

Hello forums,  
I’m trying to create a test configuration inside DAI. However when I run, below error appears

 ![image](https://forums.eggplantsoftware.com/uploads/default/original/1X/923976ba6b3a7fc1ca90a8c50cb17f8581c3345f.png)

When creating test config, there was no setting about execution environment. And I’m sure I have connected a execution environment, else I wouldn’t be able to access DAI agent.

Any help is appreciated.

Thanks,

Below is the whole result log in text

**Execution Result:** Error

**Execution start:** Wednesday, August 10, 2022 at 3:59 PM

Starting test configuration run

Loaded test configuration 123456

Created run number 2

Using version “version-1” of suite “Info\_Ten\_July.suite”

Locked SUT: infoten03

Failed to lock execution environment: No Agents found that match the specified criteria

Test configuration run completed with status ERROR

---

<div class="post-metadata">

**Author:** ![kyamamoto\_trimble](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kyamamoto\_trimble](https://forums.eggplantsoftware.com/u/kyamamoto_trimble)\
**Post date:** [August 11, 2022, 6:05pm UTC](https://forums.eggplantsoftware.com/t/dai-agent-create-test-config-issue/7912/2 "2022-08-11T18:05:34Z")

</div>

The execution environment is set to the SUT record. (It is not very intuitive.)  
Have you checked the agent specified in the SUT infoten03? (Controller \> SUTs \> ellipsis \> Edit)  
Are any of the agent(s) specified in the Execution Environment(s) field up and running?

---

<div class="post-metadata">

**Author:** ![johnny8867](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/j/e95f7d/32.png) [@johnny8867](https://forums.eggplantsoftware.com/u/johnny8867)\
**Post date:** [August 11, 2022, 6:17pm UTC](https://forums.eggplantsoftware.com/t/dai-agent-create-test-config-issue/7912/3 "2022-08-11T18:17:53Z")

</div>

Hi kyamamoto\_trimble,  
Thanks for responding.  
I found out the issue is that when I start my Eggplant DAI Agent,  
I did not put it in Run mode, it was default to Design for me.  
After changing to Run mode, it works as expected.

![image](https://forums.eggplantsoftware.com/uploads/default/original/1X/127502f4a96313cb1c0f31d6a83112cf3eb75eac.png)
