[BUG]Tests Fail in Data.ApplicationInsights.Tests.
See original GitHub issueBug Description Various tests are failing in Data.ApplicationInsights.Tests. Tests below have been skipped to allow building.
- Data.ApplicationInsights.Tests.QueryTests.CanExecutePostQueryWithTimespan_DemoWorkspace
- Data.ApplicationInsights.Tests.QueryTests.GetsExceptionWithSyntaxError
- Data.ApplicationInsights.Tests.QueryTests.GetsExceptionWithShortWait
- Data.ApplicationInsights.Tests.QueryTests.CanExecuteSimplePostQuery_DemoWorkspace
- Data.ApplicationInsights.Tests.Events.TraceEventsTests.GetTraceEvents
- Data.ApplicationInsights.Tests.Metrics.IntervaledMetricsTests.GetIntervaledMetrics
- Data.ApplicationInsights.Tests.Metrics.GetIntervaledMetrics_AllAggregations
- Data.ApplicationInsights.Tests.Events.EventsTests.GetAllEvents
- Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType
- Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics
- Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics
- Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics
- Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetSegmentedMetrics
- Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetSegmentedMetrics_AllAggregations
- Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics
- Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric
- Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric_AllAggregations
Exception or Stack Trace
[xUnit.net 00:00:01.83] Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics_AllAggregations [SKIP]
[xUnit.net 00:00:01.85] Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics_AllAggregations [SKIP]
[xUnit.net 00:00:01.94] Data.ApplicationInsights.Tests.Events.TraceEventsTests.GetTraceEvents [FAIL]
[xUnit.net 00:00:01.95] Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetSegmentedMetrics_AllAggregations [FAIL]
[xUnit.net 00:00:01.95] Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics [FAIL]
[xUnit.net 00:00:01.96] Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric_AllAggregations [FAIL]
[xUnit.net 00:00:01.96] Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = null, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: False, isSegmented: False) [FAIL]
[xUnit.net 00:00:01.96] Data.ApplicationInsights.Tests.Metrics.IntervaledMetricsTests.GetIntervaledMetrics [FAIL]
Skipped Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics_AllAggregations
Skipped Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics_AllAggregations
Failed Data.ApplicationInsights.Tests.Events.TraceEventsTests.GetTraceEvents
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\netcoreapp2.0\SessionRecords\Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests\GetTraceEvents.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.Events.TraceEventsTests.GetTraceEvents() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\TraceEventsTests.cs:line 16
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetSegmentedMetrics_AllAggregations
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\netcoreapp2.0\SessionRecords\Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests\GetSegmentedMetrics_AllAggregations.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetSegmentedMetrics_AllAggregations() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\SegmentedMetricsTests.cs:line 44
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\netcoreapp2.0\SessionRecords\Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests\GetIntervaledMultiSegmentedMetrics.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\IntervaledSegmentedMetricsTests.cs:line 90
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric_AllAggregations
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\netcoreapp2.0\SessionRecords\Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests\GetSummaryMetric_AllAggregations.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric_AllAggregations() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\SummaryMetricsTests.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = null, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: False, isSegmented: False)
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\netcoreapp2.0\SessionRecords\Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests\GetMetrics.AggregatedMetric.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(MetricsPostBodySchema metric, Boolean hasInterval, Boolean isSegmented) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\MetricTests.cs:line 22
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.IntervaledMetricsTests.GetIntervaledMetrics
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\netcoreapp2.0\SessionRecords\Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests\GetIntervaledMetrics.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.Metrics.IntervaledMetricsTests.GetIntervaledMetrics() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\IntervaledMetricsTests.cs:line 16
--- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:00:02.02] Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics_AllAggregations [SKIP]
[xUnit.net 00:00:02.03] Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric [FAIL]
[xUnit.net 00:00:02.04] Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics [FAIL]
[xUnit.net 00:00:02.04] Data.ApplicationInsights.Tests.Metrics.IntervaledMetricsTests.GetIntervaledMetrics_AllAggregations [FAIL]
[xUnit.net 00:00:02.04] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsTraceResult>(eventType: "traces", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_0(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_1(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:02.04] Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics [FAIL]
[xUnit.net 00:00:02.04] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "performanceCounters") [FAIL]
Skipped Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics_AllAggregations
Failed Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetWithHttpMessagesAsync(String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 262
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetMetricSummaryWithHttpMessagesAsync(String appId, String metricId, String timespan, IList`1 aggregation, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Metrics.cs:line 85
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.GetMetricSummaryAsync(IMetrics operations, String appId, String metricId, String timespan, IList`1 aggregation, Nullable`1 top, String orderby, String filter, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\MetricsExtensions.cs:line 156
at Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\SummaryMetricsTests.cs:line 22
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&interval=PT1H&aggregation=avg&segment=request%2FresultCode'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetWithHttpMessagesAsync(String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 262
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetIntervaledSegmentedMetricWithHttpMessagesAsync(String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Metrics.cs:line 434
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.GetIntervaledSegmentedMetricAsync(IMetrics operations, String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\MetricsExtensions.cs:line 689
at Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\IntervaledSegmentedMetricsTests.cs:line 25
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.IntervaledMetricsTests.GetIntervaledMetrics_AllAggregations
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&interval=PT1H&aggregation=avg%2Ccount%2Cmin%2Cmax%2Csum'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetWithHttpMessagesAsync(String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 262
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetIntervaledMetricWithHttpMessagesAsync(String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Metrics.cs:line 192
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.GetIntervaledMetricAsync(IMetrics operations, String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\MetricsExtensions.cs:line 339
at Data.ApplicationInsights.Tests.Metrics.IntervaledMetricsTests.GetIntervaledMetrics_AllAggregations() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\IntervaledMetricsTests.cs:line 53
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsTraceResult>(eventType: "traces", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_0(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_1(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/traces?timespan=P1D&$top=1'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetByTypeWithHttpMessagesAsync(String appId, String eventType, String timespan, String filter, String search, String orderby, String select, Nullable`1 skip, Nullable`1 top, String format, Nullable`1 count, String apply, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 242
at Microsoft.Azure.ApplicationInsights.Query.Events.GetTraceEventsWithHttpMessagesAsync(String appId, String timespan, String filter, String search, String orderby, String select, Nullable`1 skip, Nullable`1 top, String format, Nullable`1 count, String apply, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 71
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetTraceEventsAsync(IEvents operations, String appId, String timespan, String filter, String search, String orderby, String select, Nullable`1 skip, Nullable`1 top, String format, Nullable`1 count, String apply, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 130
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_0>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 112
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 34
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg&segment=request%2Fname%2Crequest%2FresultCode'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetWithHttpMessagesAsync(String appId, String metricId, String timespan, Nullable`1 interval, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 262
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetSegmentedMetricWithHttpMessagesAsync(String appId, String metricId, String timespan, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Metrics.cs:line 297
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.GetSegmentedMetricAsync(IMetrics operations, String appId, String metricId, String timespan, IList`1 aggregation, IList`1 segment, Nullable`1 top, String orderby, String filter, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\MetricsExtensions.cs:line 504
at Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\SegmentedMetricsTests.cs:line 85
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "performanceCounters")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/performanceCounters?timespan=P1D&$top=10'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetByTypeWithHttpMessagesAsync(String appId, String eventType, String timespan, String filter, String search, String orderby, String select, Nullable`1 skip, Nullable`1 top, String format, Nullable`1 count, String apply, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 242
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetByTypeAsync(IEvents operations, String appId, String eventType, String timespan, String filter, String search, String orderby, String select, Nullable`1 skip, Nullable`1 top, String format, Nullable`1 count, String apply, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 142
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 52
--- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:00:02.05] Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedIntervalMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = 03:00:00, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: True, isSegmented: False) [FAIL]
[xUnit.net 00:00:02.23] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsCustomEventResult>(eventType: "customEvents", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_2(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_3(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:02.31] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "exceptions") [FAIL]
Failed Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedIntervalMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = 03:00:00, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: True, isSegmented: False)
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'POST /v1/apps/DEMO_APP/metrics'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetMultipleWithHttpMessagesAsync(String appId, IList`1 body, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 438
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.GetMultipleAsync(IMetrics operations, String appId, IList`1 body, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\MetricsExtensions.cs:line 234
at Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(MetricsPostBodySchema metric, Boolean hasInterval, Boolean isSegmented) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\MetricTests.cs:line 30
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsCustomEventResult>(eventType: "customEvents", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_2(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_3(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/customEvents/302839f1-c041-11e8-a137-b787b1506f19?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.Events.GetCustomEventWithHttpMessagesAsync(String appId, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 233
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetCustomEventAsync(IEvents operations, String appId, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 377
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_3>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 120
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "exceptions")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/exceptions/0cec9a80-c041-11e8-83bc-adc0fc6e03ef'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAsync(IEvents operations, String appId, String eventType, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:00:02.32] Data.ApplicationInsights.Tests.QueryTests.CanExecuteSimplePostQuery_DemoWorkspace [FAIL]
[xUnit.net 00:00:02.32] Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedIntervalMultiSegmentMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = 03:00:00, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: True, isSegmented: True) [FAIL]
[xUnit.net 00:00:02.35] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPageViewResult>(eventType: "pageViews", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_4(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_5(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:02.39] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "availabilityResults") [FAIL]
[xUnit.net 00:00:02.44] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsBrowserTimingResult>(eventType: "browserTimings", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsBrowserTimingResult]] <.cctor>b__67_6(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsBrowserTimingResult]] <.cctor>b__67_7(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:02.45] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "traces") [FAIL]
[xUnit.net 00:00:02.59] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "requests") [FAIL]
Failed Data.ApplicationInsights.Tests.QueryTests.CanExecuteSimplePostQuery_DemoWorkspace
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'POST /v1/apps/DEMO_APP/query'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.QueryOperations.ExecuteWithHttpMessagesAsync(String appId, String query, String timespan, IList`1 applications, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\QueryOperations.cs:line 170
at Data.ApplicationInsights.Tests.QueryTests.<CanExecuteSimplePostQuery_DemoWorkspace>b__4_0(ApplicationInsightsDataClient client) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\QueryTests.cs:line 24
at Data.ApplicationInsights.Tests.QueryTests.ExecuteAndVerify(ExecuteQuery runQuery, MockContext ctx, String appId, String apiKey) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\QueryTests.cs:line 97
at Data.ApplicationInsights.Tests.QueryTests.CanExecuteSimplePostQuery_DemoWorkspace() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\QueryTests.cs:line 24
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedIntervalMultiSegmentMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = 03:00:00, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: True, isSegmented: True)
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'POST /v1/apps/DEMO_APP/metrics'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.GetMultipleWithHttpMessagesAsync(String appId, IList`1 body, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 438
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.GetMultipleAsync(IMetrics operations, String appId, IList`1 body, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\MetricsExtensions.cs:line 234
at Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(MetricsPostBodySchema metric, Boolean hasInterval, Boolean isSegmented) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\MetricTests.cs:line 30
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPageViewResult>(eventType: "pageViews", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_4(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_5(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/pageViews/ff225480-c040-11e8-93f9-efeb6277a940?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.Events.GetPageViewEventWithHttpMessagesAsync(String appId, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 351
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetPageViewEventAsync(IEvents operations, String appId, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 562
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_5>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 127
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "availabilityResults")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/availabilityResults/3ca825fe-c041-11e8-9bf2-f7793a66d6e4'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAsync(IEvents operations, String appId, String eventType, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsBrowserTimingResult>(eventType: "browserTimings", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsBrowserTimingResult]] <.cctor>b__67_6(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsBrowserTimingResult]] <.cctor>b__67_7(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/browserTimings/607189f1-bff0-11e8-b5a7-b76344f18d93?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.Events.GetBrowserTimingEventWithHttpMessagesAsync(String appId, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 469
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetBrowserTimingEventAsync(IEvents operations, String appId, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 747
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_7>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 134
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "traces")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/traces/4d74d631-c041-11e8-937d-f9c616e33c26'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAsync(IEvents operations, String appId, String eventType, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "requests")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/requests/4d74d630-c041-11e8-937d-f9c616e33c26'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAsync(IEvents operations, String appId, String eventType, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
[xUnit.net 00:00:02.63] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsDependencyResult>(eventType: "dependencies", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_10(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_11(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:02.65] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "customMetrics") [FAIL]
[xUnit.net 00:00:02.71] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsExceptionResult>(eventType: "exceptions", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_12(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_13(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:02.71] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "browserTimings") [FAIL]
[xUnit.net 00:00:02.79] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsAvailabilityResultResult>(eventType: "availabilityResults", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_14(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_15(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:02.83] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "customEvents") [FAIL]
[xUnit.net 00:00:02.87] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPerformanceCounterResult>(eventType: "performanceCounters", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_16(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_17(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsDependencyResult>(eventType: "dependencies", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_10(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_11(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/dependencies/ada132b8-c041-11e8-bbc3-011041bbe785?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.Events.GetDependencyEventWithHttpMessagesAsync(String appId, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 705
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetDependencyEventAsync(IEvents operations, String appId, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1117
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_11>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 148
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "customMetrics")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/customMetrics/db15a976-c040-11e8-bbc3-011041bbe785'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAsync(IEvents operations, String appId, String eventType, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsExceptionResult>(eventType: "exceptions", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_12(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_13(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/exceptions/9c520bb1-c041-11e8-b531-f12218fc06e4?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.Events.GetExceptionEventWithHttpMessagesAsync(String appId, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 823
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetExceptionEventAsync(IEvents operations, String appId, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1302
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_13>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 155
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "browserTimings")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/browserTimings/607189f1-bff0-11e8-b5a7-b76344f18d93'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAsync(IEvents operations, String appId, String eventType, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsAvailabilityResultResult>(eventType: "availabilityResults", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_14(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_15(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/availabilityResults/b5c2a670-c041-11e8-8625-5d063560d418?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.Events.GetAvailabilityResultEventWithHttpMessagesAsync(String appId, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 941
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAvailabilityResultEventAsync(IEvents operations, String appId, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1487
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_15>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 162
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "customEvents")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/customEvents/302839f1-c041-11e8-a137-b787b1506f19'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetAsync(IEvents operations, String appId, String eventType, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
at Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(String eventType) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPerformanceCounterResult>(eventType: "performanceCounters", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_16(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_17(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/performanceCounters/8f5af43e-c041-11e8-932e-cd5dae094438?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.GetWithHttpMessagesAsync(String appId, String eventType, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
at Microsoft.Azure.ApplicationInsights.Query.Events.GetPerformanceCounterEventWithHttpMessagesAsync(String appId, String eventId, String timespan, Dictionary`2 customHeaders, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 1059
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.GetPerformanceCounterEventAsync(IEvents operations, String appId, String eventId, String timespan, CancellationToken cancellationToken) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1672
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_17>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 169
--- End of stack trace from previous location where exception was thrown ---
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync[T](String eventType, MultiQueryAsync`1 multiQueryAsync, SingleQueryAsync`1 singleQueryAsync) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
Total tests: 53. Passed: 21. Failed: 29. Skipped: 3.
Test Run Failed.
Test execution time: 5.2280 Seconds
Test run for C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\net461\Data.ApplicationInsights.Tests.dll(.NETFramework,Version=v4.6.1)
Microsoft (R) Test Execution Command Line Tool Version 16.0.1
Copyright (c) Microsoft Corporation. All rights reserved.
Starting test execution, please wait...
[xUnit.net 00:00:03.55] Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics_AllAggregations [SKIP]
[xUnit.net 00:00:03.59] Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics_AllAggregations [SKIP]
[xUnit.net 00:00:03.82] Data.ApplicationInsights.Tests.QueryTests.CanExecutePostQueryWithTimespan_DemoWorkspace [FAIL]
Skipped Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetMultiSegmentedMetrics_AllAggregations
Skipped Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledMultiSegmentedMetrics_AllAggregations
Failed Data.ApplicationInsights.Tests.QueryTests.CanExecutePostQueryWithTimespan_DemoWorkspace
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\net461\SessionRecords\Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests\CanExecutePostQueryWithTimespan_DemoWorkspace.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.QueryTests.<CanExecutePostQueryWithTimespan_DemoWorkspace>d__5.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\QueryTests.cs:line 31
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[xUnit.net 00:00:03.88] Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetSegmentedMetrics_AllAggregations [FAIL]
Failed Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.GetSegmentedMetrics_AllAggregations
Error Message:
System.ArgumentException : Unable to find recorded mock file 'C:\git\azure-sdk-for-net\artifacts\bin\Data.ApplicationInsights.Tests\Debug\net461\SessionRecords\Data.ApplicationInsights.Tests.Metrics.MetricTests\GetSegmentedMetrics_AllAggregations.json'.
Parameter name: callerIdentity
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity, HttpRecorderMode mode)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.Initialize(String callerIdentity, String testIdentity)
at Microsoft.Rest.ClientRuntime.Azure.TestFramework.MockContext.Start(String className, String methodName)
at Data.ApplicationInsights.Tests.Metrics.SegmentedMetricsTests.<GetSegmentedMetrics_AllAggregations>d__1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\SegmentedMetricsTests.cs:line 44
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[xUnit.net 00:00:04.95] Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics_AllAggregations [SKIP]
[xUnit.net 00:00:04.95] Data.ApplicationInsights.Tests.QueryTests.GetsExceptionWithSyntaxError [FAIL]
[xUnit.net 00:00:05.02] Data.ApplicationInsights.Tests.Events.TraceEventsTests.GetTraceEvents [FAIL]
[xUnit.net 00:00:05.03] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "performanceCounters") [FAIL]
Skipped Data.ApplicationInsights.Tests.Metrics.IntervaledSegmentedMetricsTests.GetIntervaledSegmentedMetrics_AllAggregations
Failed Data.ApplicationInsights.Tests.QueryTests.GetsExceptionWithSyntaxError
Error Message:
Expected an ErrorResponseException but got a KeyNotFoundException: Unable to find a matching HTTP request for URL 'POST /v1/apps/DEMO_APP/query'. Calling method Item().
Expected: True
Actual: False
Stack Trace:
at Data.ApplicationInsights.Tests.QueryTests.<GetsExceptionWithSyntaxError>d__6.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\QueryTests.cs:line 58
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Events.TraceEventsTests.GetTraceEvents
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/traces/ada132ba-c041-11e8-bbc3-011041bbe785?timespan=PT12H'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetTraceEventWithHttpMessagesAsync>d__1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 115
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetTraceEventAsync>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 192
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Events.TraceEventsTests.<GetTraceEvents>d__0.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\TraceEventsTests.cs:line 36
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "performanceCounters")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/performanceCounters/114482f6-c041-11e8-b8ac-91f7dd2bcfca'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetAsync>d__43.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Events.EventsTests.<GetEventsByType>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[xUnit.net 00:00:05.07] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsTraceResult>(eventType: "traces", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_0(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_1(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:05.09] Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric_AllAggregations [FAIL]
[xUnit.net 00:00:05.10] Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedSegmentMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = null, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: False, isSegmented: True) [FAIL]
[xUnit.net 00:00:05.13] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsCustomEventResult>(eventType: "customEvents", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_2(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_3(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:05.17] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "exceptions") [FAIL]
[xUnit.net 00:00:05.19] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPageViewResult>(eventType: "pageViews", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_4(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_5(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsTraceResult>(eventType: "traces", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_0(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsTraceResult]] <.cctor>b__67_1(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/traces/9406a1f0-c041-11e8-b8ac-91f7dd2bcfca?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetTraceEventWithHttpMessagesAsync>d__1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 115
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetTraceEventAsync>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 192
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_1>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 113
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.GetSummaryMetric_AllAggregations
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/metrics/requests%2Fduration?timespan=PT12H&aggregation=avg%2Ccount%2Cmin%2Cmax%2Csum'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.<GetWithHttpMessagesAsync>d__10.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 262
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Metrics.<GetMetricSummaryWithHttpMessagesAsync>d__0.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Metrics.cs:line 85
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.<GetMetricSummaryAsync>d__1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\MetricsExtensions.cs:line 156
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Metrics.SummaryMetricsTests.<GetSummaryMetric_AllAggregations>d__1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\SummaryMetricsTests.cs:line 44
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Metrics.MetricTests.GetMetrics(metric: MetricsPostBodySchema { Id = "AggregatedSegmentMetric", Parameters = MetricsPostBodySchemaParameters { Aggregation = [...], Filter = null, Interval = null, MetricId = "requests/duration", Orderby = null, ... } }, hasInterval: False, isSegmented: True)
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'POST /v1/apps/DEMO_APP/metrics'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Metrics.<GetMultipleWithHttpMessagesAsync>d__11.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Metrics.cs:line 438
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.MetricsExtensions.<GetMultipleAsync>d__11.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\MetricsExtensions.cs:line 234
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Metrics.MetricTests.<GetMetrics>d__0.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Metrics\MetricTests.cs:line 30
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsCustomEventResult>(eventType: "customEvents", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_2(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomEventResult]] <.cctor>b__67_3(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/customEvents/302839f1-c041-11e8-a137-b787b1506f19?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetCustomEventWithHttpMessagesAsync>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 233
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetCustomEventAsync>d__7.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 377
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_3>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 120
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "exceptions")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/exceptions/0cec9a80-c041-11e8-83bc-adc0fc6e03ef'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetAsync>d__43.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Events.EventsTests.<GetEventsByType>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPageViewResult>(eventType: "pageViews", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_4(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPageViewResult]] <.cctor>b__67_5(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/pageViews/ff225480-c040-11e8-93f9-efeb6277a940?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetPageViewEventWithHttpMessagesAsync>d__5.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 351
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetPageViewEventAsync>d__11.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 562
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_5>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 127
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[xUnit.net 00:00:05.20] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "availabilityResults") [FAIL]
[xUnit.net 00:00:05.32] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "dependencies") [FAIL]
[xUnit.net 00:00:05.37] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsRequestResult>(eventType: "requests", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsRequestResult]] <.cctor>b__67_8(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsRequestResult]] <.cctor>b__67_9(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:05.39] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "requests") [FAIL]
[xUnit.net 00:00:05.40] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsDependencyResult>(eventType: "dependencies", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_10(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_11(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:05.47] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsExceptionResult>(eventType: "exceptions", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_12(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_13(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "availabilityResults")
Error Message:
System.ObjectDisposedException : Cannot access a disposed object.
Object name: 'Microsoft.Azure.Test.HttpRecorder.HttpMockServer'.
Stack Trace:
at System.Net.Http.DelegatingHandler.CheckDisposed()
at System.Net.Http.DelegatingHandler.CheckDisposedOrStarted()
at System.Net.Http.DelegatingHandler.set_InnerHandler(HttpMessageHandler value)
at Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient.CustomInitialize() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\ApplicationInsightsDataClient.cs:line 37
at Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient.Initialize() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\ApplicationInsightsDataClient.cs:line 334
at Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient..ctor(DelegatingHandler[] handlers) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\ApplicationInsightsDataClient.cs:line 83
at Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient..ctor(ServiceClientCredentials credentials, DelegatingHandler[] handlers) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\ApplicationInsightsDataClient.cs:line 157
at Data.ApplicationInsights.Tests.DataPlaneTestBase.GetClient(MockContext ctx, String appId, String apiKey) in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\DataPlaneTestBase.cs:line 16
at Data.ApplicationInsights.Tests.Events.EventsTests.<GetEventsByType>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 51
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "dependencies")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/dependencies/4beb28f8-c041-11e8-8936-8bc26a313bde'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetAsync>d__43.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Events.EventsTests.<GetEventsByType>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsRequestResult>(eventType: "requests", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsRequestResult]] <.cctor>b__67_8(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsRequestResult]] <.cctor>b__67_9(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/requests/ada132b9-c041-11e8-bbc3-011041bbe785?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetRequestEventWithHttpMessagesAsync>d__9.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 587
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetRequestEventAsync>d__19.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 932
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_9>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 141
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "requests")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/requests/4d74d630-c041-11e8-937d-f9c616e33c26'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetAsync>d__43.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Events.EventsTests.<GetEventsByType>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsDependencyResult>(eventType: "dependencies", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_10(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsDependencyResult]] <.cctor>b__67_11(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/dependencies?timespan=P1D&$top=1'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetByTypeWithHttpMessagesAsync>d__25.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 242
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetDependencyEventsWithHttpMessagesAsync>d__10.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 661
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetDependencyEventsAsync>d__21.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1055
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_10>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 147
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 34
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsExceptionResult>(eventType: "exceptions", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_12(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsExceptionResult]] <.cctor>b__67_13(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/exceptions/9c520bb1-c041-11e8-b531-f12218fc06e4?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetExceptionEventWithHttpMessagesAsync>d__13.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 823
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetExceptionEventAsync>d__27.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1302
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_13>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 155
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[xUnit.net 00:00:05.55] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsAvailabilityResultResult>(eventType: "availabilityResults", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_14(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_15(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:05.58] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "pageViews") [FAIL]
[xUnit.net 00:00:05.61] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPerformanceCounterResult>(eventType: "performanceCounters", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_16(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_17(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
[xUnit.net 00:00:05.63] Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "customEvents") [FAIL]
[xUnit.net 00:00:05.66] Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsCustomMetricResult>(eventType: "customMetrics", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomMetricResult]] <.cctor>b__67_18(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomMetricResult]] <.cctor>b__67_19(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } }) [FAIL]
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsAvailabilityResultResult>(eventType: "availabilityResults", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_14(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsAvailabilityResultResult]] <.cctor>b__67_15(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/availabilityResults/b5c2a670-c041-11e8-8625-5d063560d418?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetAvailabilityResultEventWithHttpMessagesAsync>d__15.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 941
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetAvailabilityResultEventAsync>d__31.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1487
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_15>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 162
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "pageViews")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/pageViews/ff2f9af0-c040-11e8-9ee6-5320f818f397'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetAsync>d__43.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Events.EventsTests.<GetEventsByType>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsPerformanceCounterResult>(eventType: "performanceCounters", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_16(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsPerformanceCounterResult]] <.cctor>b__67_17(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/performanceCounters/8f5af43e-c041-11e8-932e-cd5dae094438?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetPerformanceCounterEventWithHttpMessagesAsync>d__17.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 1059
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetPerformanceCounterEventAsync>d__35.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1672
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_17>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 169
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.Events.EventsTests.GetEventsByType(eventType: "customEvents")
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/customEvents/302839f1-c041-11e8-a137-b787b1506f19'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetAsync>d__43.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\EventsExtensions.cs:line 216
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.Events.EventsTests.<GetEventsByType>d__3.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsTests.cs:line 62
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Failed Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.GetEventsAsync<EventsCustomMetricResult>(eventType: "customMetrics", multiQueryAsync: MultiQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomMetricResult]] <.cctor>b__67_18(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, Int32), Target = <>c { } }, singleQueryAsync: SingleQueryAsync`1 { Method = System.Threading.Tasks.Task`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsResults`1[Microsoft.Azure.ApplicationInsights.Query.Models.EventsCustomMetricResult]] <.cctor>b__67_19(Microsoft.Azure.ApplicationInsights.Query.ApplicationInsightsDataClient, System.String, System.String), Target = <>c { } })
Error Message:
System.Collections.Generic.KeyNotFoundException : Unable to find a matching HTTP request for URL 'GET /v1/apps/DEMO_APP/events/customMetrics/db15a976-c040-11e8-bbc3-011041bbe785?timespan=P1D'. Calling method Item().
Stack Trace:
at Microsoft.Azure.Test.HttpRecorder.Records.get_Item(String key)
at Microsoft.Azure.Test.HttpRecorder.HttpMockServer.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpMessageInvoker.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetWithHttpMessagesAsync>d__26.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Generated\Events.cs:line 432
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.Events.<GetCustomMetricEventWithHttpMessagesAsync>d__19.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\Events.cs:line 1177
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at Microsoft.Azure.ApplicationInsights.Query.EventsExtensions.<GetCustomMetricEventAsync>d__39.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\src\Customized\EventsExtensions.cs:line 1857
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<>c.<<-cctor>b__67_19>d.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 176
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Data.ApplicationInsights.Tests.ScenarioTests.Events.EventsExtensionTests.<GetEventsAsync>d__0`1.MoveNext() in C:\git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights\tests\ScenarioTests\Events\EventsExtensionTests.cs:line 48
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Total tests: 53. Passed: 28. Failed: 22. Skipped: 3.
Test Run Failed.
To Reproduce Remove Skip property from the Fact Attibute on the specific test.
Expected behavior Test Fails
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Diagnose ping test failure in Application Insights ...
This article describes how to diagnose common issues that cause ping tests to fail in Application Insights availability monitoring.
Read more >Troubleshoot no data in Application Insights for .NET - Azure
Review troubleshooting steps to try when you don't see any data in Application Insights for .NET and .NET Core.
Read more >Application Insights Availability tests fails on 200 OK with " ...
Most likely this exception occurs when webtest engine tries to parse dependent requests information to validate resources.
Read more >Unit Testing and Microsoft Application Insights
While writing tests around my code that uses the TelemetryClient, I ran into the issue that tests were failing since the client was...
Read more >Alerts and Availability Testing :: Application Insights (6 of 6)
Objective This course demonstrates the processes for configuring a web application to use Application Insights for performance tracking, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Aside from the repo restructuring, there was no recent changes. The fails were occurring even before I moved them. They were not being pulled into the build with the rest of the DataPlane libraries so they were not running on the CI pipeline.
Given the age of this issue and the deprecation of most of the track one libraries, closing this as stale. If tests are still failing, please file a new issue.