You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2015/12/08 11:42:03 UTC
[Bug 58704] New: ant task batchtest fails if a translation is
missing in the jvm default locale
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
Bug ID: 58704
Summary: ant task batchtest fails if a translation is missing
in the jvm default locale
Product: JMeter
Version: 2.13
Hardware: PC
OS: Windows ME
Status: NEW
Severity: normal
Priority: P2
Component: Main
Assignee: issues@jmeter.apache.org
Reporter: benoit.wiart@gmail.com
due to log in the file BatchTestLocal.log
eg :
2015/12/02 09:28:23 WARN - jmeter.config.CSVDataSet: Could not translate
shareMode=All threads using Locale: fr
the locale must be set to -Duser.language=en in the build.xml file
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58704] Non regression testing : Ant task batchtest fails if
tests and run in a non en_EN locale and use a JMX file that uses a Csv
DataSet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|FIXED |---
Status|RESOLVED |REOPENED
--- Comment #3 from Sebb <se...@apache.org> ---
Although fixing the locale avoids the test failure, I'm not sure that is the
correct solution.
JMX files should ideally be portable between systems with different locales.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58704] ant task batchtest fails if tests and run in a non en_EN
locale and use a JMX file that uses a Csv DataSet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|ant task batchtest fails if |ant task batchtest fails if
|a translation is missing in |tests and run in a non
|the jvm default locale |en_EN locale and use a JMX
| |file that uses a Csv
| |DataSet
CC| |p.mouawad@ubik-ingenierie.c
| |om
--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Issue related to Bug 55432
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58704] Non regression testing : Ant task batchtest fails if
tests and run in a non en_EN locale and use a JMX file that uses a Csv
DataSet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
--- Comment #5 from Sebb <se...@apache.org> ---
I think there's another issue here:
Seems to me that ideally JMeter ought to be able to understand the original
sharemode setting even if the current Locale is different. As we have seen
here, it's possible for old-style JMX files to be re-used on a different
locale.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58704] Non regression testing : Ant task batchtest fails if
tests and run in a non en_EN locale and use a JMX file that uses a Csv
DataSet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Another fix is to remove the label in the JMX files and replace it by
shareMode.all, which is how it is stored since Bug 55432 has been fixed.
If you are ok , I can commit the change and revert the locale setting.
Note that for me it is fine as the issue here should not happen for a user
unless he has used locale A on his computed and save the file in a version
where Bug 55432 is not fixed and opened it in a newer version under another
locale, he will lose the sharing mode.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58704] Non regression testing : Ant task batchtest fails if
tests and run in a non en_EN locale and use a JMX file that uses a Csv
DataSet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
Philippe Mouawad <p....@ubik-ingenierie.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|PC |All
Status|NEW |RESOLVED
Summary|ant task batchtest fails if |Non regression testing :
|tests and run in a non |Ant task batchtest fails if
|en_EN locale and use a JMX |tests and run in a non
|file that uses a Csv |en_EN locale and use a JMX
|DataSet |file that uses a Csv
| |DataSet
OS|Windows ME |All
Resolution|--- |FIXED
--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sat Jan 16 13:53:08 2016
New Revision: 1724976
URL: http://svn.apache.org/viewvc?rev=1724976&view=rev
Log:
Bug 58704 Non regression testing : Ant task batchtest fails if tests and run in
a non en_EN locale and use a JMX file that uses a Csv DataSet
Bugzilla Id: 58704
Modified:
jmeter/trunk/build.xml
jmeter/trunk/xdocs/changes.xml
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58704] Non regression testing : Ant task batchtest fails if
tests and run in a non en_EN locale and use a JMX file that uses a Csv
DataSet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
Vladimir Sitnikov <si...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED
--- Comment #7 from Vladimir Sitnikov <si...@gmail.com> ---
I believe the issue has been fixed already.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 58704] Non regression testing : Ant task batchtest fails if
tests and run in a non en_EN locale and use a JMX file that uses a Csv
DataSet
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58704
--- Comment #6 from Vladimir Sitnikov <si...@gmail.com> ---
It looks like the tests do not work in ru_RU.utf-8 locale.
https://github.com/apache/jmeter/pull/452
For instance, I get the following error when running ./gradlew check locally:
org.apache.jmeter.config.TestRandomVariableConfig > testRandomWithFormat FAILED
org.junit.ComparisonFailure: expected:<010[.]00> but was:<010[,]00>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at
org.apache.jmeter.config.TestRandomVariableConfig.testRandomWithFormat(TestRandomVariableConfig.java:80)
I'm not sure what should be the fix there though.
--
You are receiving this mail because:
You are the assignee for the bug.