diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/EventRouteTests.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/EventRouteTests.cs
index 117057cc5055b..f1399cb8698c3 100644
--- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/EventRouteTests.cs
+++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/EventRouteTests.cs
@@ -1,13 +1,12 @@
 // Copyright (c) Microsoft Corporation. All rights reserved.
 // Licensed under the MIT License.
 
+using System;
 using System.Net;
 using System.Threading.Tasks;
-using FluentAssertions;
 using Azure.DigitalTwins.Core.Models;
-using System;
+using FluentAssertions;
 using NUnit.Framework;
-using Azure.Core.TestFramework;
 
 namespace Azure.DigitalTwins.Core.Tests
 {
diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/PublishTelemetryTests.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/PublishTelemetryTests.cs
new file mode 100644
index 0000000000000..d54a688cdf9aa
--- /dev/null
+++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/PublishTelemetryTests.cs
@@ -0,0 +1,145 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License.
+
+using System;
+using System.Collections.Generic;
+using System.Net;
+using System.Text.Json;
+using System.Threading.Tasks;
+using Azure.DigitalTwins.Core.Models;
+using FluentAssertions;
+using NUnit.Framework;
+
+namespace Azure.DigitalTwins.Core.Tests
+{
+    /// <summary>
+    /// Tests for DigitalTwinsClient APIs that handle publishing telemetry messages to Azure Digital Twins.
+    /// </summary>
+    public class PublishTelemetryTests : E2eTestBase
+    {
+        public PublishTelemetryTests(bool isAsync)
+            : base(isAsync)
+        {
+        }
+
+        // Infrastructure setup script uses this hardcoded value when linking the test eventhub to the test digital twins instance.
+        private const string EndpointName = "someEventHubEndpoint";
+
+        [Test]
+        public async Task PublishTelemetry_Lifecycle()
+        {
+            // Setup
+
+            // Create a DigitalTwinsClient instance.
+            DigitalTwinsClient client = GetClient();
+
+            string wifiComponentName = "wifiAccessPoint";
+            string wifiModelId = await GetUniqueModelIdAsync(client, TestAssetSettings.WifiModelIdPrefix).ConfigureAwait(false);
+            string roomWithWifiModelId = await GetUniqueModelIdAsync(client, TestAssetSettings.RoomWithWifiModelIdPrefix).ConfigureAwait(false);
+            string roomWithWifiTwinId = await GetUniqueTwinIdAsync(client, TestAssetSettings.RoomWithWifiTwinIdPrefix).ConfigureAwait(false);
+            string eventRouteId = $"someEventRouteId-{GetRandom()}";
+
+            try
+            {
+                // Create an event route for the digital twins client.
+                EventRoute eventRoute = await CreateEventRoute(client, eventRouteId).ConfigureAwait(false);
+
+                // Create the models needed for the digital twin.
+                await CreateModelsAndTwins(client, wifiModelId, roomWithWifiModelId, wifiComponentName, roomWithWifiTwinId).ConfigureAwait(false);
+
+                // Act - Test publishing telemetry to a digital twin.
+                var telemetryOptions = new TelemetryOptions()
+                {
+                    MessageId = Recording.Random.NewGuid().ToString(),
+                    TimeStamp = default
+                };
+                Response publishTelemetryResponse = await client.PublishTelemetryAsync(roomWithWifiTwinId, "{\"Telemetry1\": 5}", telemetryOptions).ConfigureAwait(false);
+
+                // Assert
+                publishTelemetryResponse.Status.Should().Be((int)HttpStatusCode.NoContent);
+
+                // Act - Test publishing telemetry to a component in a digital twin.
+                var componentTelemetryOptions = new TelemetryOptions()
+                {
+                    MessageId = Recording.Random.NewGuid().ToString(),
+                    TimeStamp = default
+                };
+                var telemetryPayload = new Dictionary<string, int>
+                {
+                    { "ComponentTelemetry1", 9}
+                };
+                Response publishComponentTelemetryResponse = await client
+                    .PublishComponentTelemetryAsync(roomWithWifiTwinId, wifiComponentName, JsonSerializer.Serialize(telemetryPayload), componentTelemetryOptions)
+                    .ConfigureAwait(false);
+
+                // Assert
+                publishComponentTelemetryResponse.Status.Should().Be((int)HttpStatusCode.NoContent);
+            }
+            catch (Exception ex)
+            {
+                Assert.Fail($"Failure in executing a step in the test case: {ex.Message}.");
+            }
+            finally
+            {
+                // clean up
+                try
+                {
+                    if (!string.IsNullOrWhiteSpace(eventRouteId))
+                    {
+                        await client.DeleteEventRouteAsync(eventRouteId).ConfigureAwait(false);
+                    }
+                    if (!string.IsNullOrWhiteSpace(roomWithWifiTwinId))
+                    {
+                        await client.DeleteDigitalTwinAsync(roomWithWifiTwinId).ConfigureAwait(false);
+                    }
+                    if (!string.IsNullOrWhiteSpace(roomWithWifiModelId))
+                    {
+                        await client.DeleteModelAsync(roomWithWifiModelId).ConfigureAwait(false);
+                    }
+                    if (!string.IsNullOrWhiteSpace(wifiModelId))
+                    {
+                        await client.DeleteModelAsync(wifiModelId).ConfigureAwait(false);
+                    }
+                }
+                catch (Exception ex)
+                {
+                    Assert.Fail($"Test clean up failed: {ex.Message}");
+                }
+            }
+
+        }
+
+        private async Task CreateModelsAndTwins(DigitalTwinsClient client, string wifiModelId, string roomWithWifiModelId, string wifiComponentName, string roomWithWifiTwinId)
+        {
+            // Generate the payload needed to create the wifi component model.
+            string wifiModel = TestAssetsHelper.GetWifiModelPayload(wifiModelId);
+
+            // Generate the payload needed to create the room with wifi model.
+            string roomWithWifiModel = TestAssetsHelper.GetRoomWithWifiModelPayload(roomWithWifiModelId, wifiModelId, wifiComponentName);
+
+            // Create the room and wifi models.
+            await client.CreateModelsAsync(new List<string> { roomWithWifiModel, wifiModel }).ConfigureAwait(false);
+
+            // Generate the payload needed to create the room with wifi twin.
+            string roomWithWifiTwin = TestAssetsHelper.GetRoomWithWifiTwinPayload(roomWithWifiModelId, wifiModelId, wifiComponentName);
+
+            // Create the room with wifi component digital twin.
+            await client.CreateDigitalTwinAsync(roomWithWifiTwinId, roomWithWifiTwin).ConfigureAwait(false);
+        }
+
+        private async Task<EventRoute> CreateEventRoute(DigitalTwinsClient client, string eventRouteId)
+        {
+            string filter = "type = 'Microsoft.DigitalTwins.Twin.Create' OR type = 'microsoft.iot.telemetry'";
+            var eventRoute = new EventRoute(EndpointName)
+            {
+                Filter = filter
+            };
+
+            // Create an event route.
+            Response createEventRouteResponse = await client.CreateEventRouteAsync(eventRouteId, eventRoute).ConfigureAwait(false);
+            createEventRouteResponse.Status.Should().Be((int)HttpStatusCode.NoContent);
+
+            return eventRoute;
+        }
+    }
+}
diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/PublishTelemetryTests/PublishTelemetry_Lifecycle.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/PublishTelemetryTests/PublishTelemetry_Lifecycle.json
new file mode 100644
index 0000000000000..918bca073c651
--- /dev/null
+++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/PublishTelemetryTests/PublishTelemetry_Lifecycle.json
@@ -0,0 +1,359 @@
+{
+  "Entries": [
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B110425964?includeModelDefinition=true\u0026api-version=2020-05-31-preview",
+      "RequestMethod": "GET",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "5368ed5029d83906476bdee5ac161265",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 404,
+      "ResponseHeaders": {
+        "Content-Length": "212",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "error": {
+          "code": "ModelNotFound",
+          "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:wifi;110425964. Check that the Model ID provided is valid by doing a Model_List API call."
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B12875?includeModelDefinition=true\u0026api-version=2020-05-31-preview",
+      "RequestMethod": "GET",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "33f76cd023b0c17758e610c674b7fcdf",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 404,
+      "ResponseHeaders": {
+        "Content-Length": "212",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "error": {
+          "code": "ModelNotFound",
+          "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:wifiroom;12875. Check that the Model ID provided is valid by doing a Model_List API call."
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin623722406?api-version=2020-05-31-preview",
+      "RequestMethod": "GET",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "9f239d1389e4b08865c8bf0a77a1e390",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 404,
+      "ResponseHeaders": {
+        "Content-Length": "278",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "error": {
+          "code": "DigitalTwinNotFound",
+          "message": "There is no digital twin instance that exists with the ID roomWithWifiTwin623722406. Please verify that the twin id is valid and ensure that the twin is not deleted. See section on querying the twins http://aka.ms/adtv2query."
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-1054814687?api-version=2020-05-31-preview",
+      "RequestMethod": "PUT",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "150",
+        "Content-Type": "application/json",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "38b47589ca9f92f07f43f673d3b3e105",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": {
+        "endpointName": "someEventHubEndpoint",
+        "filter": "type = \u0027Microsoft.DigitalTwins.Twin.Create\u0027 OR type = \u0027microsoft.iot.telemetry\u0027"
+      },
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview",
+      "RequestMethod": "POST",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "1139",
+        "Content-Type": "application/json; charset=utf-8",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "41750306ec986fe3824b5ab8b6e1442c",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": "[{    \u0022@id\u0022: \u0022dtmi:example:wifiroom;12875\u0022,    \u0022@type\u0022: \u0022Interface\u0022,    \u0022displayName\u0022: \u0022RoomWithWifi\u0022,    \u0022contents\u0022: [        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022Temperature\u0022,            \u0022schema\u0022: \u0022double\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022Humidity\u0022,            \u0022schema\u0022: \u0022double\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022IsOccupied\u0022,            \u0022schema\u0022: \u0022boolean\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022EmployeeId\u0022,            \u0022schema\u0022: \u0022string\u0022        },        {            \u0022@type\u0022: \u0022Component\u0022,            \u0022name\u0022: \u0022wifiAccessPoint\u0022,            \u0022schema\u0022: \u0022dtmi:example:wifi;110425964\u0022        }    ],    \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{    \u0022@id\u0022: \u0022dtmi:example:wifi;110425964\u0022,    \u0022@type\u0022: \u0022Interface\u0022,    \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,    \u0022displayName\u0022: \u0022Wifi\u0022,    \u0022contents\u0022: [        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022RouterName\u0022,            \u0022schema\u0022: \u0022string\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022Network\u0022,            \u0022schema\u0022: \u0022string\u0022        }    ]}]",
+      "StatusCode": 201,
+      "ResponseHeaders": {
+        "Content-Length": "316",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:wifiroom;12875\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-04T18:37:48.2611441\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;110425964\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-04T18:37:48.261302\u002B00:00\u0022}]"
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin623722406?api-version=2020-05-31-preview",
+      "RequestMethod": "PUT",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "318",
+        "Content-Type": "application/json; charset=utf-8",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "872e94366d2ad374330c6446913d9215",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": "{  \u0022$metadata\u0022: {    \u0022$model\u0022: \u0022dtmi:example:wifiroom;12875\u0022  },  \u0022Temperature\u0022: 80,  \u0022Humidity\u0022: 25,  \u0022IsOccupied\u0022: true,  \u0022EmployeeId\u0022: \u0022Employee1\u0022,  \u0022wifiAccessPoint\u0022: {        \u0022$metadata\u0022: {            \u0022$model\u0022: \u0022dtmi:example:wifi;110425964\u0022        },        \u0022RouterName\u0022: \u0022Cisco1\u0022,        \u0022Network\u0022: \u0022Room1\u0022    }}",
+      "StatusCode": 200,
+      "ResponseHeaders": {
+        "Content-Length": "1002",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "ETag": "W/\u002260af06fe-a622-4f29-b062-33cd931eeec6\u0022",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "$dtId": "roomWithWifiTwin623722406",
+        "$etag": "60af06fe-a622-4f29-b062-33cd931eeec6",
+        "Temperature": 80,
+        "Humidity": 25,
+        "IsOccupied": true,
+        "EmployeeId": "Employee1",
+        "wifiAccessPoint": {
+          "RouterName": "Cisco1",
+          "Network": "Room1",
+          "$metadata": {
+            "$model": "dtmi:example:wifi;110425964",
+            "RouterName": {
+              "desiredValue": "Cisco1",
+              "desiredVersion": 1,
+              "ackVersion": 1,
+              "ackCode": 200,
+              "ackDescription": "Auto-Sync"
+            },
+            "Network": {
+              "desiredValue": "Room1",
+              "desiredVersion": 1,
+              "ackVersion": 1,
+              "ackCode": 200,
+              "ackDescription": "Auto-Sync"
+            }
+          }
+        },
+        "$metadata": {
+          "$model": "dtmi:example:wifiroom;12875",
+          "Temperature": {
+            "desiredValue": 80,
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          },
+          "Humidity": {
+            "desiredValue": 25,
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          },
+          "IsOccupied": {
+            "desiredValue": true,
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          },
+          "EmployeeId": {
+            "desiredValue": "Employee1",
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          }
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin623722406/telemetry?api-version=2020-05-31-preview",
+      "RequestMethod": "POST",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "17",
+        "Content-Type": "application/json",
+        "dt-id": "9e7004dd-4e6e-9c46-9244-b5546f38db9e",
+        "dt-timestamp": "01/01/01 0:00:00 \u002B00:00",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "3e3cc9fe5a8498da8ea10e8c889ddd45",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": "{\u0022Telemetry1\u0022: 5}",
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin623722406/components/wifiAccessPoint/telemetry?api-version=2020-05-31-preview",
+      "RequestMethod": "POST",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "25",
+        "Content-Type": "application/json",
+        "dt-id": "b1da45b9-a570-e7be-4e92-f5e6b82064fa",
+        "dt-timestamp": "01/01/01 0:00:00 \u002B00:00",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "c847c5315300839029d810cc3fba14f5",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": {
+        "ComponentTelemetry1": 9
+      },
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-1054814687?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "299a7066295d592e0a55f0f265f4e06e",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin623722406?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "c25a143d15556545b457879795f2a893",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B12875?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "477fff7d3a85079c97eebdab629e1d35",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:49 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B110425964?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "2b8ea1f8515f519f2b357406a196c318",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:49 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    }
+  ],
+  "Variables": {
+    "DIGITALTWINS_URL": "https://barustum-rg3.api.wus2.digitaltwins.azure.net",
+    "RandomSeed": "1587202902"
+  }
+}
\ No newline at end of file
diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/PublishTelemetryTests/PublishTelemetry_LifecycleAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/PublishTelemetryTests/PublishTelemetry_LifecycleAsync.json
new file mode 100644
index 0000000000000..382c407a27ad1
--- /dev/null
+++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/PublishTelemetryTests/PublishTelemetry_LifecycleAsync.json
@@ -0,0 +1,359 @@
+{
+  "Entries": [
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B114383368?includeModelDefinition=true\u0026api-version=2020-05-31-preview",
+      "RequestMethod": "GET",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "07acf913de78371345070cd429ae0875",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 404,
+      "ResponseHeaders": {
+        "Content-Length": "212",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:45 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "error": {
+          "code": "ModelNotFound",
+          "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:wifi;114383368. Check that the Model ID provided is valid by doing a Model_List API call."
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B11112?includeModelDefinition=true\u0026api-version=2020-05-31-preview",
+      "RequestMethod": "GET",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "0ef74c25447cbd80eede9e5b9a61316a",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 404,
+      "ResponseHeaders": {
+        "Content-Length": "212",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "error": {
+          "code": "ModelNotFound",
+          "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:wifiroom;11112. Check that the Model ID provided is valid by doing a Model_List API call."
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1651711051?api-version=2020-05-31-preview",
+      "RequestMethod": "GET",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "e4842832754f103f41c686dda9581a30",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 404,
+      "ResponseHeaders": {
+        "Content-Length": "279",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "error": {
+          "code": "DigitalTwinNotFound",
+          "message": "There is no digital twin instance that exists with the ID roomWithWifiTwin1651711051. Please verify that the twin id is valid and ensure that the twin is not deleted. See section on querying the twins http://aka.ms/adtv2query."
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-87181891?api-version=2020-05-31-preview",
+      "RequestMethod": "PUT",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "150",
+        "Content-Type": "application/json",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "231d7543b5964a2c890075dbaaa6db6a",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": {
+        "endpointName": "someEventHubEndpoint",
+        "filter": "type = \u0027Microsoft.DigitalTwins.Twin.Create\u0027 OR type = \u0027microsoft.iot.telemetry\u0027"
+      },
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview",
+      "RequestMethod": "POST",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "1139",
+        "Content-Type": "application/json; charset=utf-8",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "f1df7bddd605b7d7fe3b7df9e0448583",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": "[{    \u0022@id\u0022: \u0022dtmi:example:wifiroom;11112\u0022,    \u0022@type\u0022: \u0022Interface\u0022,    \u0022displayName\u0022: \u0022RoomWithWifi\u0022,    \u0022contents\u0022: [        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022Temperature\u0022,            \u0022schema\u0022: \u0022double\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022Humidity\u0022,            \u0022schema\u0022: \u0022double\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022IsOccupied\u0022,            \u0022schema\u0022: \u0022boolean\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022EmployeeId\u0022,            \u0022schema\u0022: \u0022string\u0022        },        {            \u0022@type\u0022: \u0022Component\u0022,            \u0022name\u0022: \u0022wifiAccessPoint\u0022,            \u0022schema\u0022: \u0022dtmi:example:wifi;114383368\u0022        }    ],    \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{    \u0022@id\u0022: \u0022dtmi:example:wifi;114383368\u0022,    \u0022@type\u0022: \u0022Interface\u0022,    \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,    \u0022displayName\u0022: \u0022Wifi\u0022,    \u0022contents\u0022: [        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022RouterName\u0022,            \u0022schema\u0022: \u0022string\u0022        },        {            \u0022@type\u0022: \u0022Property\u0022,            \u0022name\u0022: \u0022Network\u0022,            \u0022schema\u0022: \u0022string\u0022        }    ]}]",
+      "StatusCode": 201,
+      "ResponseHeaders": {
+        "Content-Length": "317",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:46 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:wifiroom;11112\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-04T18:37:47.6220061\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;114383368\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-04T18:37:47.6221849\u002B00:00\u0022}]"
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1651711051?api-version=2020-05-31-preview",
+      "RequestMethod": "PUT",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "318",
+        "Content-Type": "application/json; charset=utf-8",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "bb1e572b274c729b579ac574c9349620",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": "{  \u0022$metadata\u0022: {    \u0022$model\u0022: \u0022dtmi:example:wifiroom;11112\u0022  },  \u0022Temperature\u0022: 80,  \u0022Humidity\u0022: 25,  \u0022IsOccupied\u0022: true,  \u0022EmployeeId\u0022: \u0022Employee1\u0022,  \u0022wifiAccessPoint\u0022: {        \u0022$metadata\u0022: {            \u0022$model\u0022: \u0022dtmi:example:wifi;114383368\u0022        },        \u0022RouterName\u0022: \u0022Cisco1\u0022,        \u0022Network\u0022: \u0022Room1\u0022    }}",
+      "StatusCode": 200,
+      "ResponseHeaders": {
+        "Content-Length": "1003",
+        "Content-Type": "application/json; charset=utf-8",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "ETag": "W/\u0022f07bd8ed-423f-4e21-be2a-9ab24aacd460\u0022",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": {
+        "$dtId": "roomWithWifiTwin1651711051",
+        "$etag": "f07bd8ed-423f-4e21-be2a-9ab24aacd460",
+        "Temperature": 80,
+        "Humidity": 25,
+        "IsOccupied": true,
+        "EmployeeId": "Employee1",
+        "wifiAccessPoint": {
+          "RouterName": "Cisco1",
+          "Network": "Room1",
+          "$metadata": {
+            "$model": "dtmi:example:wifi;114383368",
+            "RouterName": {
+              "desiredValue": "Cisco1",
+              "desiredVersion": 1,
+              "ackVersion": 1,
+              "ackCode": 200,
+              "ackDescription": "Auto-Sync"
+            },
+            "Network": {
+              "desiredValue": "Room1",
+              "desiredVersion": 1,
+              "ackVersion": 1,
+              "ackCode": 200,
+              "ackDescription": "Auto-Sync"
+            }
+          }
+        },
+        "$metadata": {
+          "$model": "dtmi:example:wifiroom;11112",
+          "Temperature": {
+            "desiredValue": 80,
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          },
+          "Humidity": {
+            "desiredValue": 25,
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          },
+          "IsOccupied": {
+            "desiredValue": true,
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          },
+          "EmployeeId": {
+            "desiredValue": "Employee1",
+            "desiredVersion": 1,
+            "ackVersion": 1,
+            "ackCode": 200,
+            "ackDescription": "Auto-Sync"
+          }
+        }
+      }
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1651711051/telemetry?api-version=2020-05-31-preview",
+      "RequestMethod": "POST",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "17",
+        "Content-Type": "application/json",
+        "dt-id": "dccb72ab-3e3a-6c3d-9e66-255a38326945",
+        "dt-timestamp": "01/01/01 0:00:00 \u002B00:00",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "53b0f17a1f87b61ddf6c996b1062edc9",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": "{\u0022Telemetry1\u0022: 5}",
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1651711051/components/wifiAccessPoint/telemetry?api-version=2020-05-31-preview",
+      "RequestMethod": "POST",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "Content-Length": "25",
+        "Content-Type": "application/json",
+        "dt-id": "6d4d5da4-a979-ec49-1ab1-1ce602413a24",
+        "dt-timestamp": "01/01/01 0:00:00 \u002B00:00",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "d7fa803143838b985515fccda5d25c3c",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": {
+        "ComponentTelemetry1": 9
+      },
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-87181891?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "dab65c78fbe5d0cba8c439d60236b49e",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1651711051?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "9039743115676145c4c21863ad7b4647",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B11112?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "a56ee0555f8a353fb4292fbf0ac2881f",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    },
+    {
+      "RequestUri": "https://barustum-rg3.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B114383368?api-version=2020-05-31-preview",
+      "RequestMethod": "DELETE",
+      "RequestHeaders": {
+        "Authorization": "Sanitized",
+        "User-Agent": [
+          "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200604.1",
+          "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )"
+        ],
+        "x-ms-client-request-id": "319b5d61cb9862d416551622e268232c",
+        "x-ms-return-client-request-id": "true"
+      },
+      "RequestBody": null,
+      "StatusCode": 204,
+      "ResponseHeaders": {
+        "Content-Length": "0",
+        "Date": "Thu, 04 Jun 2020 18:37:48 GMT",
+        "Strict-Transport-Security": "max-age=2592000"
+      },
+      "ResponseBody": []
+    }
+  ],
+  "Variables": {
+    "DIGITALTWINS_URL": "https://barustum-rg3.api.wus2.digitaltwins.azure.net",
+    "RandomSeed": "1563569306"
+  }
+}
\ No newline at end of file