This question is locked. New answers and comments are not allowed.
Hi.
I wrote a test class to test collecting data analytics.
It basically looks like this:
However, when looking at the live data that was collected, it only shows one session.
I was expecting to see 100 different sessions.
Any ideas?
Thank you.
I wrote a test class to test collecting data analytics.
It basically looks like this:
private IAnalyticsMonitor monitor;[TestInitialize]public void TestInitialize(){ IAnalyticsMonitorSettings settings = AnalyticsMonitorFactory.CreateSettings(projectId); settings.LoggingInterface = AnalyticsMonitorFactory.CreateTraceMonitor(); monitor = AnalyticsMonitorFactory.Create(settings); monitor.Start();} [TestCleanup]public void TestCleanup(){ monitor.Stop();} [TestMethod]public void TestMethod1(){ for (int i = 0; i < 100; i++) { monitor.TrackFeature("test"); }}However, when looking at the live data that was collected, it only shows one session.
I was expecting to see 100 different sessions.
Any ideas?
Thank you.