# TestCase Variable Not Recognized During Full Execution

**URL:** <https://community.smartbear.com/t/testcase-variable-not-recognized-during-full-execution/199>\
**Category:** SoapUI OS\
**Tags:** api, soapui, migrated\
**Created:** [February 2, 2025, 12:39pm UTC](https://community.smartbear.com/t/testcase-variable-not-recognized-during-full-execution/199 "2025-02-02T12:39:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [February 2, 2025, 12:39pm UTC](https://community.smartbear.com/t/testcase-variable-not-recognized-during-full-execution/199/1 "2025-02-02T12:39:46Z")

</div>

> Originally posted by **instant** on February 02, 2025

Hello,

I’m encountering an issue with SoapUI when executing my **entire TestCase**.

**Context:**

- My **TestCase** comprises three steps:
  1. **Create an order (TC1 Create Order)**
  2. **Retrieve the order (TC2 Get Order)**
  3. **Delete the order (TC3 Delete Order)**

- I manually define a variable **orderId** in **TestCase Properties**.
- This variable is referenced in my requests using **${#TestCase#orderId}**.

**Problem:**

- When I execute each **TestStep individually** , everything works as expected: the **orderId is correctly utilized**.
- However, upon executing the **entire TestCase** , SoapUI fails to recognize the variable, displaying **UNKNOWN** in the logs.
- I attempted to **initialize the variable using a property transfer step** , but the issue persists.

**Steps Already Taken:**

- Verified that orderId is defined in **TestCase Properties**.
- Ensured that my requests correctly reference **${#TestCase#orderId}**.
- Added a **property transfer step** to enforce the retrieval of orderId.
- Attempted to store the variable at **different levels** (Project, TestSuite, TestCase).
- Reviewed the logs to confirm that orderId is present before the requests are executed.

**Screenshots:**

Create ok

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/422f1a63b92a70d63278266e9ef705da09907130.png)

Get ok

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/92683cdaac73948730e22e1001076c70b582d36f.png)

Test case ko

 ![](https://canada1.discourse-cdn.com/flex049/uploads/smartbear_prod/original/1X/7fb809b0f26dce156377f3e1ac792a1d341241cc.png)

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [February 3, 2025, 11:51am UTC](https://community.smartbear.com/t/testcase-variable-not-recognized-during-full-execution/199/2 "2025-02-03T11:51:47Z")

</div>

> Originally posted by **rraghvani** on February 03, 2025

The screenshots you have attached, doesn’t look like TestComplete?

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [February 3, 2025, 3:31pm UTC](https://community.smartbear.com/t/testcase-variable-not-recognized-during-full-execution/199/3 "2025-02-03T15:31:00Z")

</div>

> Originally posted by **Hassan\_Ballan** on February 03, 2025

Your post is in the wrong community product page. Select the correct product from the list Home | SmartBear Community

For example if this is “SoapUI Open Source” then use [Category: SoapUI Open Source | SmartBear Community](https://community.smartbear.com/c/open-source/soapui-os/26)

---

<div class="post-metadata">

**Author:** ![system](https://avatars.discourse-cdn.com/v4/letter/s/bcef8e/32.png) [@system](https://community.smartbear.com/u/system)\
**Post date:** [March 7, 2025, 3:24pm UTC](https://community.smartbear.com/t/testcase-variable-not-recognized-during-full-execution/199/4 "2025-03-07T15:24:53Z")

</div>

> Originally posted by **jkrolczy** on March 07, 2025

Ever solve this issue ?

What SoapUI version you using.

Got a screenshot of where on testcase level you have the property defined?
