Summary: | TableEditor could have its content not well saved (or loaded) | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Vincent HERILIER <vherilier> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | Alexander_Sergey, emi, p.mouawad |
Priority: | P2 | Keywords: | PatchAvailable |
Version: | 2.6 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 58742 | ||
Bug Blocks: | 60124 | ||
Attachments: |
log when the test is saved
log when the test is loaded Test case showing the issue that truncates jmx files Test case showing issue as a file is loaded Testcase for AbstractProperty#normalizeList |
Description
Vincent HERILIER
2015-12-16 16:50:06 UTC
Created attachment 33354 [details]
log when the test is saved
Created attachment 33355 [details]
log when the test is loaded
Hello, Could you provide a Test plan and some screenshot ? Thanks Created attachment 33361 [details] Test case showing the issue that truncates jmx files The test case is composed from a Thread Group with 2 Compare Assertion elements: The first one has a row inserted in its TableEditor widget, the second has an empty one. NB: switching from the to the other produce the bug 58742 so insure to delete intenpestive content added. So if you are focused on the empty assertion element and that you perform a Save Action, everything goes. Switch to the "filled" assertion element and Save the file, 2 errors are raised. Created attachment 33362 [details]
Test case showing issue as a file is loaded
The test case is composed from a Thread Group with 2 Compare Assertion elements:
The first one has an empty TableEditor widget, the second has a row inserted into its TableEditor widget.
Loading the file generates 2 errors.
Hi Philippe, I hope the 2 test cases will help you in your investigations. Feel free to ask more information if required. Thank you The issue, just have been experienced once again by the JMeter users I'm working with. They lost their files because the issue truncates the XML content. It is a critical data integrity issue. After some investigations in JMeter code, I have difficulties to found where is really the root cause. Maybe you have an idea of what could produce such issue. And from your suggestion, I hope finding the issue and submit you a fix thanks again for your support and suggestion Scenario related to Bug 60124: - Create a Compare Assertion and fill in a row with 2 fields - Create another Compare Assertion and keep it empty Select last Compare Assertion and save => OK Select first Compare Assertion and save => KO *** Bug 60124 has been marked as a duplicate of this bug. *** I've fixed this bug. See patch in this pull request: https://github.com/apache/jmeter/pull/293 Created attachment 34956 [details]
Testcase for AbstractProperty#normalizeList
The attached patch is for the proposed changes of pr #293.
Thanks Emilian for the fix. This will be included in version 3.3. Date: Fri Apr 28 19:30:23 2017 New Revision: 1793138 URL: http://svn.apache.org/viewvc?rev=1793138&view=rev Log: TableEditor can't be saved, when using two or more instances. Bugfix provided by Emilian Bold (emi at apache.org) This closes #293 on github. Bugzilla Id: 58743 Added: jmeter/trunk/test/src/org/apache/jmeter/testelement/property/AbstractPropertyTest.java (with props) Modified: jmeter/trunk/src/core/org/apache/jmeter/testelement/property/AbstractProperty.java jmeter/trunk/xdocs/changes.xml This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3735 |