Summary: | Template Error | ||
---|---|---|---|
Product: | JMeter - Now in Github | Reporter: | Anderson Benício <andersonsbenicio> |
Component: | Main | Assignee: | JMeter issues mailing list <issues> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | p.mouawad |
Priority: | P2 | Keywords: | FixedInTrunk |
Version: | 5.2.1 | ||
Target Milestone: | JMETER_5.3.0 | ||
Hardware: | PC | ||
OS: | All |
Description
Anderson Benício
2020-03-15 00:38:29 UTC
Thanks for the report. Could you try the next nightly or build JMeter from trunk, to see, if the fix works for you? commit 3354f6e929b2a7b3b215951da73c72a565b13723 AuthorDate: Sun Mar 15 10:45:48 2020 +0100 Error when loading Templates on Windows The document parser expects an URI and not a file path. So let us convert the file to a string representation of the URI. Bugzilla Id: 64227 --- .../java/org/apache/jmeter/gui/action/template/TemplateManager.java | 2 +- xdocs/changes.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 346f87d593126fea1e61665258343e3c01b94f43 AuthorDate: Sun Mar 15 11:33:49 2020 +0100 Error when loading Templates on Windows The document builder accepts a file directly, so use it. Bugzilla Id: 64227 --- .../java/org/apache/jmeter/gui/action/template/TemplateManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 33e23b80ebf7c769950c8d3852281f1cd63ad35d Author: Felix Schumacher <felix.schumacher@internetallee.de> AuthorDate: Wed Mar 25 16:23:40 2020 +0100 Use correct conversion for URLs to File After using File directly for TemplateManager the tests failed for Files that are created by reading resources from classes, when those resources are located inside of directories containing spaces. Use Paths API to convert the URIs to Files that have correctly decoded names. Bugzilla Id: 64227 --- .../jmeter/gui/action/template/TestTemplateManager.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/5258 |