J'essaie d'ouvrir un fichier jmx écrit avec Apache JMeter 2.7 dans la dernière version Apache JMeter 2.11 . Ce journal d'erreurs s'affiche:
2014/09/10 09:29:44 INFO - jmeter.gui.action.Load: Loading file: C:\Temp\MEGA\Test_Anywhere_750 _Part3.jmx
2014/09/10 09:29:44 INFO - jmeter.services.FileServer: Set new base='C:\Temp\MEGA'
2014/09/10 09:29:44 WARN - jmeter.config.CSVDataSet: Could not translate shareMode=Toutes les unités using Locale:
2014/09/10 09:29:44 WARN - jmeter.config.CSVDataSet: Could not translate shareMode=Toutes les unités using Locale:
2014/09/10 09:29:46 ERROR - jmeter.save.SaveService: Conversion error com.thoughtworks.xstream.converters.ConversionException: kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
---- Debugging information ----
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
class : org.Apache.jorphan.collections.ListedHashTree
required-type : org.Apache.jorphan.collections.ListedHashTree
converter-type : org.Apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
------------------------------- : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
---- Debugging information ----
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
class : org.Apache.jorphan.collections.ListedHashTree
required-type : org.Apache.jorphan.collections.ListedHashTree
converter-type : org.Apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
-------------------------------
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
---- Debugging information ----
message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector
class : org.Apache.jorphan.collections.ListedHashTree
required-type : org.Apache.jorphan.collections.ListedHashTree
converter-type : org.Apache.jmeter.save.converters.HashTreeConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
-------------------------------
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message : kg.apc.jmeter.vizualizers.CorrectedResultCollector : kg.apc.jmeter.vizualizers.CorrectedResultCollector
first-jmeter-class : org.Apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.Java:65)
class : org.Apache.jmeter.save.ScriptWrapper
required-type : org.Apache.jorphan.collections.ListedHashTree
converter-type : org.Apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree[3]/kg.apc.jmeter.vizualizers.CorrectedResultCollector
line number : 92330
version : 2.11 r1554548
-------------------------------
2014/09/10 09:29:46 WARN - jmeter.gui.action.Load: Unexpected error org.Apache.jmeter.exceptions.IllegalUserActionException: Empty TestPlan - see log file
at org.Apache.jmeter.gui.action.Load.insertLoadedTree(Load.Java:174)
at org.Apache.jmeter.gui.action.Load.loadProjectFile(Load.Java:136)
at org.Apache.jmeter.gui.action.Load.loadProjectFile(Load.Java:105)
at org.Apache.jmeter.gui.action.Load.doAction(Load.Java:92)
at org.Apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.Java:81)
at org.Apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.Java:40)
at org.Apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.Java:63)
at Java.awt.event.InvocationEvent.dispatch(Unknown Source)
at Java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at Java.awt.EventQueue.access$200(Unknown Source)
at Java.awt.EventQueue$3.run(Unknown Source)
at Java.awt.EventQueue$3.run(Unknown Source)
at Java.security.AccessController.doPrivileged(Native Method)
at Java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at Java.awt.EventQueue.dispatchEvent(Unknown Source)
at Java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at Java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at Java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at Java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at Java.awt.EventDispatchThread.run(Unknown Source)
J'utilise la version 7.0.650.20 de Java .. Est-ce que quelqu'un a une idée de la raison pour laquelle je ne pouvais pas ouvrir mon fichier?
Cordialement
Sylvie
Vous utilisez une tierce partie jmeter-plugins.org plugins.
Vous devez ajouter le fichier JAR requis dans lib/ext pour que cela fonctionne.
Téléchargez plugins-manager.jar depuis ici et mettez-le dans le répertoire lib/ext, puis redémarrez JMeter.
Notez que vous devez le faire chaque fois que vous mettez à jour votre version de jmeter!
Si vous cherchez à apprendre jmeter correctement, ce livre vous aidera.
Téléchargez plugins-manager.jar et mettez-le dans le répertoire lib/ext, puis redémarrez JMeter.
1) Téléchargez la norme JMeterPlugins-Standard-1.4.0.Zip à partir de http://jmeter-plugins.org/#/
2) Extrayez-le et allez dans le dossier extrait/lib/ext.
4) Copiez JMeterPlugins-Standard.jar et CMDRunner.jar de/lib/ext vers Jmeter/lib/ext