Create two identical test plans, one with each sampler and compare them. Make sure that the editting script is as specific as possible when changing strings - i.e. include as much context as possible to ensure only the correct strings are changed.
S. On 19/10/05, Nop Lists <[EMAIL PROTECTED]> wrote: > Yes, probably. And this is exactly the problem - how do I know what to > convert and what not? > Has anybody done such a convertion before? > Changing manually each and every sampler is really a awkward... > If I knew WHERE JMeter has problems loading the jmx-file I could "deconvert" > the disturbing positions. Problem is, jmeter.log is not very informative... > Thanks > NL > > On 10/19/05, sebb <[EMAIL PROTECTED]> wrote: > > > > Perhaps you've converted too many strings. > > > > For example: > > > > httpsampler2.basicauth=false > > > > does not look right. > > > > S. > > On 19/10/05, Nop Lists <[EMAIL PROTECTED]> wrote: > > > Hello, > > > because of problems in a load test involving HTTPS I want to convert all > > my > > > HTTPSampler-components to HTTPSampler2-components. > > > What is the quickest and most safety way to do this? > > > > > > I converted with a text editor all > > > HTTPSampler to HTTPSampler2 > > > and > > > HttpTestSampleGui to HttpTestSampleGui2 > > > but JMeter complains when loading the new jmx-file. > > > Here the logfile: > > > > > > 2005/10/19 11:29:46 INFO - jmeter.util.JMeterUtils: Setting Locale to > > de_DE > > > 2005/10/19 11:29:46 INFO - jmeter.JMeter: Version 2.1.1 > > > 2005/10/19 11:29:46 INFO - jmeter.JMeter: java.version=1.4.2_05 > > > 2005/10/19 11:29:46 INFO - jmeter.JMeter: Locale=Deutsch (Deutschland) > > > 2005/10/19 11:29:46 INFO - jmeter.JMeter: Copyright (c) 1998-2005 The > > Apache > > > Software Foundation > > > 2005/10/19 11:29:46 INFO - jmeter.JMeter: Loaded icon properties from > > > org/apache/jmeter/images/icon.properties > > > 2005/10/19 11:29:48 INFO - > > > jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access > > log > > > sampler bean info > > > 2005/10/19 11:29:48 INFO - > > > jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: [ > > > org.apache.jmeter.protocol.http.util.accesslog.OrderPreservingLogParser, > > > org.apache.jmeter.protocol.http.util.accesslog.SharedTCLogParser, > > > org.apache.jmeter.protocol.http.util.accesslog.TCLogParser] > > > 2005/10/19 11:29:48 INFO - > > > jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of > > access > > > log samper bean info init > > > 2005/10/19 11:29:48 WARN - jmeter.gui.util.MenuFactory: Missing jar? > > Could > > > not create org.apache.jmeter.visualizers.MailerVisualizer. > > > java.lang.NoClassDefFoundError: javax/mail/MessagingException > > > 2005/10/19 11:29:49 INFO - jmeter.samplers.SampleResult: Note: Sample > > > TimeStamps are END times > > > 2005/10/19 11:29:49 INFO - jmeter.samplers.SampleResult: > > > sampleresult.default.encoding is set to ISO-8859-1 > > > 2005/10/19 11:30:01 INFO - jmeter.gui.action.Load: Loading file: > > > C:\programme\jakarta- > > > jmeter-2.1.1\CPO\CoSMOS_NDC_2005-10-19_ihwk_Sampler2.jmx > > > 2005/10/19 11:30:01 INFO - jmeter.protocol.http.sampler.HTTPSampler2: > > > httpsampler2.basicauth=false > > > 2005/10/19 11:30:01 INFO - jmeter.save.SaveService: Using SaveService > > > properties file 1.7 > > > 2005/10/19 11:30:01 WARN - jmeter.save.SaveService: Could not set up > > alias > > > WebServiceSampler java.lang.NoClassDefFoundError: > > > javax/mail/MessagingException > > > 2005/10/19 11:30:01 INFO - jmeter.save.SaveService: All converter > > versions > > > present and correct > > > 2005/10/19 11:30:01 WARN - jmeter.save.SaveService: Problem loading new > > > style: node : node > > > 2005/10/19 11:30:02 WARN - jmeter.gui.action.Load: Unexpected error > > > java.lang.NullPointerException > > > at org.apache.jmeter.gui.AbstractJMeterGuiComponent.configure( > > > AbstractJMeterGuiComponent.java:163) > > > at org.apache.jmeter.config.gui.ArgumentsPanel.configure( > > ArgumentsPanel.java > > > :166) > > > at org.apache.jmeter.protocol.http.gui.HTTPArgumentsPanel.configure( > > > HTTPArgumentsPanel.java:91) > > > at org.apache.jmeter.protocol.http.config.gui.HttpDefaultsGui.configure( > > > HttpDefaultsGui.java:98) > > > at org.apache.jmeter.gui.tree.JMeterTreeModel.addComponent( > > > JMeterTreeModel.java:109) > > > at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree( > > > JMeterTreeModel.java:95) > > > at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree( > > > JMeterTreeModel.java:95) > > > at org.apache.jmeter.gui.tree.JMeterTreeModel.addSubTree( > > > JMeterTreeModel.java:88) > > > at org.apache.jmeter.gui.GuiPackage.addSubTree(GuiPackage.java:457) > > > at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:135) > > > at org.apache.jmeter.gui.action.Load.doAction(Load.java:94) > > > at org.apache.jmeter.gui.action.ActionRouter.performAction( > > ActionRouter.java > > > :76) > > > at org.apache.jmeter.gui.action.ActionRouter.access$000( > > ActionRouter.java > > > :44) > > > at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61) > > > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) > > > at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) > > > at java.awt.EventDispatchThread.pumpOneEventForHierarchy( > > > EventDispatchThread.java:201) > > > at java.awt.EventDispatchThread.pumpEventsForHierarchy( > > > EventDispatchThread.java:151) > > > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) > > > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) > > > at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) > > > > > > > > > > > > Thanks > > > NL > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]