# Save the selected environment when testing connectors

**URL:** <https://community.tulip.co/t/save-the-selected-environment-when-testing-connectors/1405>\
**Category:** Product Suggestions\
**Tags:** connectors\
**Created:** [December 9, 2020, 6:58pm UTC](https://community.tulip.co/t/save-the-selected-environment-when-testing-connectors/1405 "2020-12-09T18:58:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![schexb](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@schexb](https://community.tulip.co/u/schexb)\
**Post date:** [December 9, 2020, 6:58pm UTC](https://community.tulip.co/t/save-the-selected-environment-when-testing-connectors/1405/1 "2020-12-09T18:58:41Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/1X/d9e178f75c99353fe3e12c41fb5b0ccd878932b1.png)

When testing a connector function, I always have to remember to flip to the ‘testing & development’ environment. It would be nice if this selection was saved or could be defaulted to a specific environment so I don’t accidentally run a function in production during a test (since it defaults to production every time).

---

<div class="post-metadata">

**Author:** ![justin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/justin/32/98_2.png) [@justin](https://community.tulip.co/u/justin)\
**Post date:** [December 22, 2020, 8:56pm UTC](https://community.tulip.co/t/save-the-selected-environment-when-testing-connectors/1405/2 "2020-12-22T20:56:58Z")

</div>

Hello there!

Thanks for this suggestion. It seems like “production” isn’t the right default here.

After discussing with our team, it seems like the behavior least-likely to result in an unexpected outcome would be to always default to the “least-production” environment available.

Should three environments be defined, we would use the “Development” environment. If two, then “Testing/Development”, and if there is only one environment, we use “Production/Testing/Development”.

Do you think this would be a good improvement to your situation? Albeit, a different solution than you suggested?

---

<div class="post-metadata">

**Author:** ![schexb](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@schexb](https://community.tulip.co/u/schexb)\
**Post date:** [December 22, 2020, 10:47pm UTC](https://community.tulip.co/t/save-the-selected-environment-when-testing-connectors/1405/3 "2020-12-22T22:47:37Z")

</div>

Yep, that would work too!

---

<div class="post-metadata">

**Author:** ![justin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/justin/32/98_2.png) [@justin](https://community.tulip.co/u/justin)\
**Post date:** [December 22, 2020, 11:15pm UTC](https://community.tulip.co/t/save-the-selected-environment-when-testing-connectors/1405/4 "2020-12-22T23:15:06Z")

</div>

Awesome, we will try to get this into one of the next few releases!
