Bug 54898 - Sometimes the test classes and test methods of all JUnit samplers are overwritten
Summary: Sometimes the test classes and test methods of all JUnit samplers are overwri...
Status: RESOLVED WORKSFORME
Alias: None
Product: JMeter - Now in Github
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.9
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 16:58 UTC by Raymond Georg Snatzke
Modified: 2013-07-08 20:21 UTC (History)
1 user (show)



Attachments
jmx-file with a lot of JUnit samplers (166.20 KB, application/octet-stream)
2013-04-26 16:58 UTC, Raymond Georg Snatzke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raymond Georg Snatzke 2013-04-26 16:58:18 UTC
Created attachment 30228 [details]
jmx-file with a lot of JUnit samplers

If a JMeter testplan contains several JUnit samplers, JMeter sometimes changes the test classes and test methods of the other samplers to the class and method of the current JUnit sampler. I have no idea what triggers this particular bug.

The attachment shows an extreme case of this. In the thread group "Zufaelliger JUnit-Testfall" you see some 100 different JUnit samplers. It happened several times, while we were adding the next JUnit sampler with another JUnit test class and/or another JUnit test method, that all other JUnit samplers suddenly lost their original test classes and test methods and instead contained the same class and method as the new sampler. What we did, basically, was to save the jmx-file after entering ten new samplers (always with a new name) in order not to lose the work already done.

BTW: Regards to Philippe M. who suggested to not just complain about JMeter issues in a blog (http://blog.codecentric.de/en/2013/03/from-a-mathematicians-point-of-view-jmeter-beloved-crap-tool/) but also enter them here.

Georg
Comment 1 Philippe Mouawad 2013-04-29 20:39:10 UTC
First thanks for report.
I am not able to reproduce issue.
Are you sure you faced it with recent version of JMeter ?
Could you try to give a simpler test plan with detailed steps to reproduce issue ?

Thanks
Comment 2 Raymond Georg Snatzke 2013-05-03 16:15:09 UTC
It was JMeter version 2.9 r1437961 or later.

Unfortunately, the problems occurred at a customer's site, I have no access to the system any more. But the issue happened consistently. It was no "effort" to recreate it, it just happened again and again.
Comment 3 Philippe Mouawad 2013-07-08 20:21:56 UTC
I tried playing a lot with provided test plan without success, so closing issue as WORKSFORME.
Next time it happens provide jmeter.log file , test plan and exact scenario.
Comment 4 The ASF infrastructure team 2022-09-24 20:37:53 UTC
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3111