Think you found a bug? Report it here.
Load test results not getting saved due to error
prashanth.bvb Posts: 8
2/10/2021
|
I am running a load test execution for 13 scenario using 6 agents. The load test execution is going fine. But while saving the results, i am getting the following error. Due to this none of the results are getting saved apart from Agent details.


Below are the trace logs
01:31:27.057 - ---Begin saving results--- 01:31:27.758 - Saving Summary 01:31:28.555 - Saving Sessions 01:31:32.664 - Saving Transactions 01:31:34.305 - Saving Agents 01:31:34.977 - Saving VUs 01:31:35.617 - System.Exception: Duplicate key in StresStimulus.Results.Tables.VUResultTableItem ---> System.Data.Linq.DuplicateKeyException: Cannot add an entity with a key that is already in use. at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited) at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects() at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) at StresStimulus.Results.TestResultSaver.trySubmitChanges() --- End of inner exception stack trace --- 01:31:36.133 - Saving Errors 01:31:36.758 - Saving Test Cases 01:31:36.961 - System.Exception: Duplicate key in StresStimulus.Results.Tables.VUResultTableItem ---> System.Data.Linq.DuplicateKeyException: Cannot add an entity with a key that is already in use. at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited) at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects() at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) at StresStimulus.Results.TestResultSaver.trySubmitChanges() --- End of inner exception stack trace --- 01:31:37.039 - System.Exception: Duplicate key in StresStimulus.Results.Tables.VUResultTableItem ---> System.Data.Linq.DuplicateKeyException: Cannot add an entity with a key that is already in use. at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited) at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects() at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) at StresStimulus.Results.TestResultSaver.trySubmitChanges() --- End of inner exception stack trace --- 01:31:37.039 - ---End saving results--- 01:31:37.711 - System.Data.Linq.DuplicateKeyException: Cannot add an entity with a key that is already in use. at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited) at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects() at System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) at System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) at StresStimulus.Runtime.PanelHelper.SaveGraphCurves(IGraphInfo[] graphs) 03:11:00.105 - End of test
|
|
0
link
|
Copyright © 2025 Stimulus Technology