I have two thread groups. I assigned an Aggregate Graph to the first one. I then copied the Aggregate Graph to the second one. I run the two groups one after another. The second group reports to the first graph ignoring the copy. After I deleted the second aggregate graph and made a new one, the second thread group started reporting properly. I guess some pointer was left in the copy so it refered to the implementation of the original. Cheers, Nik
I have managed to reproduce this. It seems that a work-round is to Run/Clear All (Control+E) before running the test. Does that work for you too?
Another work-round (for me at least) is to select the pasted copy before starting the test. The same behaviour applies to the Table Listener, and the Tree View, and the new Summary Report, so I guess it's a generic problem.
Created attachment 20137 [details] Suggested patch This patch fixes the problem, by using the "addComponent" method to insert the item into the tree. This makes sure that the GUI and TestElement are in sync.
Created attachment 20138 [details] Test plan to reproduce the problem with Open the test plan. Select the "View Results in Table" node in the tree, copy it, and then paste it as a child of the "B" sampler. Now run the test plan. Before the suggested patch is applied, two samples appears in the table listener under "A". After the patch is applied, one sample appears in table listener under "A", and one sample appears in table listener under "B".
Thanks - applied to SVN in r535913
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/1740