Badboy export to jmeter not working?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Badboy export to jmeter not working?

Sander Stevens
Hi,

I am recording something in google (just as an example) with BadBoy (v1.5) and export it to JMeter with the built-in funtion. I open JMeter, run the script and notice that only the first request will be executed. No matter what I try to do. If I disable the first, the second will be executed. So both are working, but will not be executed one by one. Something wrong in the export function of BadBoy maybe?

See attached the jmeter log and the jmx file.

Any clues for me?

Thanks,
Sander


Met Vriendelijke Groet,
 
Sander Stevens
KPN Internet Solutions
Internet Technologies Amersfoort
Tel:  030-6588500 (ex. 88584)
Fax: 033-4513101
Mobiel: 06-46404673
E-mail: [hidden email]
MSN: [hidden email]
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: Badboy export to jmeter not working?

Sander Stevens
Attachment not working. Log file as follows:


2005/05/09 13:41:18 INFO  - jmeter.JMeter: Version 20050409
2005/05/09 13:41:18 INFO  - jmeter.JMeter: java.version=1.3.1_01
2005/05/09 13:41:18 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The Apache Software Foundation
2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.config.CSVDataSet
2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.protocol.http.sampler.AccessLogSampler
2005/05/09 13:41:20 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log sampler bean info
2005/05/09 13:41:20 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: [org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
2005/05/09 13:41:20 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access log samper bean info init
2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.protocol.jdbc.config.DataSourceElement
2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler
2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [jndi_props]
2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [initial_context_factory]
2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [provider_url]
2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.timers.ConstantThroughputTimer
2005/05/09 13:41:20 INFO  - jmeter.gui.util.MenuFactory: Could not instantiate org.apache.jmeter.visualizers.MailerVisualizer java.lang.NoClassDefFoundError: javax/mail/MessagingException
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:426)
        at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:128)
        at org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.java:103)
        at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:132)
        at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:48)
        at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
        at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
        at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are END times
2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2005/05/09 13:41:23 INFO  - jmeter.services.FileServer: Setting basedir to: null
2005/05/09 13:41:39 INFO  - jmeter.gui.action.Load: Loading file: C:\temp\google.jmx
2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting basedir to: C:\temp\google.jmx
2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: Using SaveService properties file 1.5
2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: All converter versions present and correct
2005/05/09 13:41:39 WARN  - jmeter.save.SaveService: Problem loading new style:  com.thoughtworks.xstream.alias.CannotResolveClassException: node : node
        at com.thoughtworks.xstream.core.DefaultClassMapper.lookupType(DefaultClassMapper.java:223)
        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:92)
        at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:286)
        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:274)
        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:242)
        at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:293)
        at org.apache.jmeter.gui.action.Load.doAction(Load.java:102)
        at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
        at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
        at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting basedir to: C:\temp\google.jmx
2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2005/05/09 13:41:47 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,local)
2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group. Ramp up = 1.
2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine: Continue on error
2005/05/09 13:41:47 WARN  - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties)
2005/05/09 13:41:47 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-1 started
2005/05/09 13:41:48 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoSuchMethodError
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:184)
        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:463)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:583)
        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:570)
        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
        at java.lang.Thread.run(Unknown Source)

2005/05/09 13:41:48 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-1 is done
2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 0
2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Stopping test
2005/05/09 13:41:48 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,local)
2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended

-----Original Message-----
From: Sander Stevens
Sent: maandag 9 mei 2005 13:47
To: [hidden email]
Subject: Badboy export to jmeter not working?

Hi,

I am recording something in google (just as an example) with BadBoy (v1.5) and export it to JMeter with the built-in funtion. I open JMeter, run the script and notice that only the first request will be executed. No matter what I try to do. If I disable the first, the second will be executed. So both are working, but will not be executed one by one. Something wrong in the export function of BadBoy maybe?

See attached the jmeter log and the jmx file.

Any clues for me?

Thanks,
Sander


Met Vriendelijke Groet,
 
Sander Stevens
KPN Internet Solutions
Internet Technologies Amersfoort
Tel:  030-6588500 (ex. 88584)
Fax: 033-4513101
Mobiel: 06-46404673
E-mail: [hidden email]
MSN: [hidden email]
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Badboy export to jmeter not working?

sebb-2-2
Problem is probably "java.lang.NoSuchMethodError" - not sure what
causes this, unless you have used a protocol other than HTTP or HTTPS?

You also need to remove/disable the Mail Visualiser or else download
mail.jar and activation.jar from Sun and put them in the lib
directory.

It would be better to use Java 1.4; not sure if the JMeter CVS HEAD
version has been tested under 1.3.

Unless you are using SOAP or CSVDATA, I'd suggest using the official
JMeter 2.0.3 release instead. This should work under Java 1.3 - still
better to use 1.4

Or perhaps pick up a more recent nightly build, as there have been a
few fixes to CVS HEAD since 20050409

If none of these suggestions work, please create a Bugzilla issue and
attach the generated script to it.

S.

On 5/9/05, Sander Stevens <[hidden email]> wrote:

> Attachment not working. Log file as follows:
>
> 2005/05/09 13:41:18 INFO  - jmeter.JMeter: Version 20050409
> 2005/05/09 13:41:18 INFO  - jmeter.JMeter: java.version=1.3.1_01
> 2005/05/09 13:41:18 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The Apache Software Foundation
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.config.CSVDataSet
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.protocol.http.sampler.AccessLogSampler
> 2005/05/09 13:41:20 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log sampler bean info
> 2005/05/09 13:41:20 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers: [org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
> 2005/05/09 13:41:20 INFO  - jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access log samper bean info init
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.protocol.jdbc.config.DataSourceElement
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler
> 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [jndi_props]
> 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [initial_context_factory]
> 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource string not found: [provider_url]
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing class: org.apache.jmeter.timers.ConstantThroughputTimer
> 2005/05/09 13:41:20 INFO  - jmeter.gui.util.MenuFactory: Could not instantiate org.apache.jmeter.visualizers.MailerVisualizer java.lang.NoClassDefFoundError: javax/mail/MessagingException
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Unknown Source)
>        at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:426)
>        at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:128)
>        at org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.java:103)
>        at org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:132)
>        at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:48)
>        at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>        at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
>        at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>        at java.awt.EventQueue.dispatchEvent(Unknown Source)
>        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
>        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>        at java.awt.EventDispatchThread.run(Unknown Source)
>
> 2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult: Note: Sample TimeStamps are END times
> 2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
> 2005/05/09 13:41:23 INFO  - jmeter.services.FileServer: Setting basedir to: null
> 2005/05/09 13:41:39 INFO  - jmeter.gui.action.Load: Loading file: C:\temp\google.jmx
> 2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting basedir to: C:\temp\google.jmx
> 2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: Using SaveService properties file 1.5
> 2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: All converter versions present and correct
> 2005/05/09 13:41:39 WARN  - jmeter.save.SaveService: Problem loading new style:  com.thoughtworks.xstream.alias.CannotResolveClassException: node : node
>        at com.thoughtworks.xstream.core.DefaultClassMapper.lookupType(DefaultClassMapper.java:223)
>        at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:92)
>        at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:12)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:286)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:274)
>        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:242)
>        at org.apache.jmeter.save.SaveService.loadTree(SaveService.java:293)
>        at org.apache.jmeter.gui.action.Load.doAction(Load.java:102)
>        at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:81)
>        at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:44)
>        at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>        at java.awt.EventQueue.dispatchEvent(Unknown Source)
>        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
>        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>        at java.awt.EventDispatchThread.run(Unknown Source)
>
> 2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting basedir to: C:\temp\google.jmx
> 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
> 2005/05/09 13:41:47 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,local)
> 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group. Ramp up = 1.
> 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine: Continue on error
> 2005/05/09 13:41:47 WARN  - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties)
> 2005/05/09 13:41:47 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-1 started
> 2005/05/09 13:41:48 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.NoSuchMethodError
>        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTPSampler.java:184)
>        at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:463)
>        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:583)
>        at org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:570)
>        at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
>        at java.lang.Thread.run(Unknown Source)
>
> 2005/05/09 13:41:48 INFO  - jmeter.threads.JMeterThread: Thread Thread Group 1-1 is done
> 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending thread 0
> 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Stopping test
> 2005/05/09 13:41:48 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,local)
> 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Test has ended
>
> -----Original Message-----
> From: Sander Stevens
> Sent: maandag 9 mei 2005 13:47
> To: [hidden email]
> Subject: Badboy export to jmeter not working?
>
> Hi,
>
> I am recording something in google (just as an example) with BadBoy (v1.5) and export it to JMeter with the built-in funtion. I open JMeter, run the script and notice that only the first request will be executed. No matter what I try to do. If I disable the first, the second will be executed. So both are working, but will not be executed one by one. Something wrong in the export function of BadBoy maybe?
>
> See attached the jmeter log and the jmx file.
>
> Any clues for me?
>
> Thanks,
> Sander
>
> Met Vriendelijke Groet,
>
> Sander Stevens
> KPN Internet Solutions
> Internet Technologies Amersfoort
> Tel: 030-6588500 (ex. 88584)
> Fax: 033-4513101
> Mobiel: 06-46404673
> E-mail:[hidden email]
> MSN: [hidden email]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Badboy export to jmeter not working?

Sander Stevens
In reply to this post by Sander Stevens
Hi Sebb,

I upgraded to the 0508 version.
Indeed this new version works fine with the exported file from Badboy.

Can you tell me where to disable the Mail Visualiser?

Thanks Sebb!

-----Original Message-----
From: sebb [mailto:[hidden email]]
Sent: maandag 9 mei 2005 14:26
To: JMeter Users List
Subject: Re: Badboy export to jmeter not working?

Problem is probably "java.lang.NoSuchMethodError" - not sure what
causes this, unless you have used a protocol other than HTTP or HTTPS?

You also need to remove/disable the Mail Visualiser or else download
mail.jar and activation.jar from Sun and put them in the lib
directory.

It would be better to use Java 1.4; not sure if the JMeter CVS HEAD
version has been tested under 1.3.

Unless you are using SOAP or CSVDATA, I'd suggest using the official
JMeter 2.0.3 release instead. This should work under Java 1.3 - still
better to use 1.4

Or perhaps pick up a more recent nightly build, as there have been a
few fixes to CVS HEAD since 20050409

If none of these suggestions work, please create a Bugzilla issue and
attach the generated script to it.

S.

On 5/9/05, Sander Stevens <[hidden email]> wrote:
> Attachment not working. Log file as follows:
>
> 2005/05/09 13:41:18 INFO  - jmeter.JMeter: Version 20050409
> 2005/05/09 13:41:18 INFO  - jmeter.JMeter: java.version=1.3.1_01
> 2005/05/09 13:41:18 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The
Apache Software Foundation
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
class: org.apache.jmeter.config.CSVDataSet
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
class: org.apache.jmeter.protocol.http.sampler.AccessLogSampler
> 2005/05/09 13:41:20 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access
log sampler bean info
> 2005/05/09 13:41:20 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
[org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
> 2005/05/09 13:41:20 INFO  -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of
access log samper bean info init
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
class: org.apache.jmeter.protocol.jdbc.config.DataSourceElement
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
class: org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler
> 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
string not found: [jndi_props]
> 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
string not found: [initial_context_factory]
> 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
string not found: [provider_url]
> 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
class: org.apache.jmeter.timers.ConstantThroughputTimer
> 2005/05/09 13:41:20 INFO  - jmeter.gui.util.MenuFactory: Could not
instantiate org.apache.jmeter.visualizers.MailerVisualizer
java.lang.NoClassDefFoundError: javax/mail/MessagingException
>        at java.lang.Class.forName0(Native Method)
>        at java.lang.Class.forName(Unknown Source)
>        at
org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:
426)
>        at
org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:128)
>        at
org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.
java:103)
>        at
org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode
.java:132)
>        at
org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:48)
>        at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.jav
a:81)
>        at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:4
4)
>        at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>        at java.awt.EventQueue.dispatchEvent(Unknown Source)
>        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
>        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>        at java.awt.EventDispatchThread.run(Unknown Source)
>
> 2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are END times
> 2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1
> 2005/05/09 13:41:23 INFO  - jmeter.services.FileServer: Setting
basedir to: null
> 2005/05/09 13:41:39 INFO  - jmeter.gui.action.Load: Loading file:
C:\temp\google.jmx
> 2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting
basedir to: C:\temp\google.jmx
> 2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: Using SaveService
properties file 1.5
> 2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: All converter
versions present and correct
> 2005/05/09 13:41:39 WARN  - jmeter.save.SaveService: Problem loading
new style:  com.thoughtworks.xstream.alias.CannotResolveClassException:
node : node
>        at
com.thoughtworks.xstream.core.DefaultClassMapper.lookupType(DefaultClass
Mapper.java:223)
>        at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.ja
va:92)
>        at
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmars
hal(ReferenceByXPathMarshallingStrategy.java:12)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:286)
>        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:274)
>        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:242)
>        at
org.apache.jmeter.save.SaveService.loadTree(SaveService.java:293)
>        at org.apache.jmeter.gui.action.Load.doAction(Load.java:102)
>        at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.jav
a:81)
>        at
org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:4
4)
>        at
org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
>        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
>        at java.awt.EventQueue.dispatchEvent(Unknown Source)
>        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
>        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
Source)
>        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>        at java.awt.EventDispatchThread.run(Unknown Source)
>
> 2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting
basedir to: C:\temp\google.jmx
> 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine:
Running the test!
> 2005/05/09 13:41:47 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(true,local)
> 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine:
Starting 1 threads for group Thread Group. Ramp up = 1.
> 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine:
Continue on error
> 2005/05/09 13:41:47 WARN  - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties)
> 2005/05/09 13:41:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 started
> 2005/05/09 13:41:48 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.NoSuchMethodError
>        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP
Sampler.java:184)
>        at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
ava:463)
>        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:583)
>        at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
erBase.java:570)
>        at
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
>        at java.lang.Thread.run(Unknown Source)
>
> 2005/05/09 13:41:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
Group 1-1 is done
> 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending
thread 0
> 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine:
Stopping test
> 2005/05/09 13:41:48 INFO  - jmeter.gui.util.JMeterMenuBar:
setRunning(false,local)
> 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Test
has ended

>
> -----Original Message-----
> From: Sander Stevens
> Sent: maandag 9 mei 2005 13:47
> To: [hidden email]
> Subject: Badboy export to jmeter not working?
>
> Hi,
>
> I am recording something in google (just as an example) with BadBoy
(v1.5) and export it to JMeter with the built-in funtion. I open JMeter,
run the script and notice that only the first request will be executed.
No matter what I try to do. If I disable the first, the second will be
executed. So both are working, but will not be executed one by one.
Something wrong in the export function of BadBoy maybe?

>
> See attached the jmeter log and the jmx file.
>
> Any clues for me?
>
> Thanks,
> Sander
>
> Met Vriendelijke Groet,
>
> Sander Stevens
> KPN Internet Solutions
> Internet Technologies Amersfoort
> Tel: 030-6588500 (ex. 88584)
> Fax: 033-4513101
> Mobiel: 06-46404673
> E-mail:[hidden email]
> MSN: [hidden email]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Badboy export to jmeter not working?

Michael Stover
NoSuchMethodFound could also result from compiling code incompletely, or
recompiling incompletely.  I suspect that the act of updating your
source and doing a clean compile is as likely responsible for fixing
your problem as the possibility that a bug was fixed.

-Mike

On Mon, 2005-05-09 at 15:30 +0200, Sander Stevens wrote:

> Hi Sebb,
>
> I upgraded to the 0508 version.
> Indeed this new version works fine with the exported file from Badboy.
>
> Can you tell me where to disable the Mail Visualiser?
>
> Thanks Sebb!
>
> -----Original Message-----
> From: sebb [mailto:[hidden email]]
> Sent: maandag 9 mei 2005 14:26
> To: JMeter Users List
> Subject: Re: Badboy export to jmeter not working?
>
> Problem is probably "java.lang.NoSuchMethodError" - not sure what
> causes this, unless you have used a protocol other than HTTP or HTTPS?
>
> You also need to remove/disable the Mail Visualiser or else download
> mail.jar and activation.jar from Sun and put them in the lib
> directory.
>
> It would be better to use Java 1.4; not sure if the JMeter CVS HEAD
> version has been tested under 1.3.
>
> Unless you are using SOAP or CSVDATA, I'd suggest using the official
> JMeter 2.0.3 release instead. This should work under Java 1.3 - still
> better to use 1.4
>
> Or perhaps pick up a more recent nightly build, as there have been a
> few fixes to CVS HEAD since 20050409
>
> If none of these suggestions work, please create a Bugzilla issue and
> attach the generated script to it.
>
> S.
>
> On 5/9/05, Sander Stevens <[hidden email]> wrote:
> > Attachment not working. Log file as follows:
> >
> > 2005/05/09 13:41:18 INFO  - jmeter.JMeter: Version 20050409
> > 2005/05/09 13:41:18 INFO  - jmeter.JMeter: java.version=1.3.1_01
> > 2005/05/09 13:41:18 INFO  - jmeter.JMeter: Copyright (c) 1998-2005 The
> Apache Software Foundation
> > 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
> class: org.apache.jmeter.config.CSVDataSet
> > 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
> class: org.apache.jmeter.protocol.http.sampler.AccessLogSampler
> > 2005/05/09 13:41:20 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access
> log sampler bean info
> > 2005/05/09 13:41:20 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
> [org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
> > 2005/05/09 13:41:20 INFO  -
> jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of
> access log samper bean info init
> > 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
> class: org.apache.jmeter.protocol.jdbc.config.DataSourceElement
> > 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
> class: org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler
> > 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string not found: [jndi_props]
> > 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string not found: [initial_context_factory]
> > 2005/05/09 13:41:20 WARN  - jmeter.util.JMeterUtils: ERROR! Resource
> string not found: [provider_url]
> > 2005/05/09 13:41:20 WARN  - jmeter.testbeans.gui.TestBeanGUI: testing
> class: org.apache.jmeter.timers.ConstantThroughputTimer
> > 2005/05/09 13:41:20 INFO  - jmeter.gui.util.MenuFactory: Could not
> instantiate org.apache.jmeter.visualizers.MailerVisualizer
> java.lang.NoClassDefFoundError: javax/mail/MessagingException
> >        at java.lang.Class.forName0(Native Method)
> >        at java.lang.Class.forName(Unknown Source)
> >        at
> org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:
> 426)
> >        at
> org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:128)
> >        at
> org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.
> java:103)
> >        at
> org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode
> .java:132)
> >        at
> org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:48)
> >        at
> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.jav
> a:81)
> >        at
> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:4
> 4)
> >        at
> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
> >        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> >        at java.awt.EventQueue.dispatchEvent(Unknown Source)
> >        at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
> >        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> >        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> >        at java.awt.EventDispatchThread.run(Unknown Source)
> >
> > 2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult: Note: Sample
> TimeStamps are END times
> > 2005/05/09 13:41:21 INFO  - jmeter.samplers.SampleResult:
> sampleresult.default.encoding is set to ISO-8859-1
> > 2005/05/09 13:41:23 INFO  - jmeter.services.FileServer: Setting
> basedir to: null
> > 2005/05/09 13:41:39 INFO  - jmeter.gui.action.Load: Loading file:
> C:\temp\google.jmx
> > 2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting
> basedir to: C:\temp\google.jmx
> > 2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: Using SaveService
> properties file 1.5
> > 2005/05/09 13:41:39 INFO  - jmeter.save.SaveService: All converter
> versions present and correct
> > 2005/05/09 13:41:39 WARN  - jmeter.save.SaveService: Problem loading
> new style:  com.thoughtworks.xstream.alias.CannotResolveClassException:
> node : node
> >        at
> com.thoughtworks.xstream.core.DefaultClassMapper.lookupType(DefaultClass
> Mapper.java:223)
> >        at
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.ja
> va:92)
> >        at
> com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmars
> hal(ReferenceByXPathMarshallingStrategy.java:12)
> >        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:286)
> >        at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:274)
> >        at com.thoughtworks.xstream.XStream.fromXML(XStream.java:242)
> >        at
> org.apache.jmeter.save.SaveService.loadTree(SaveService.java:293)
> >        at org.apache.jmeter.gui.action.Load.doAction(Load.java:102)
> >        at
> org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.jav
> a:81)
> >        at
> org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:4
> 4)
> >        at
> org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:62)
> >        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
> >        at java.awt.EventQueue.dispatchEvent(Unknown Source)
> >        at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
> >        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown
> Source)
> >        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
> >        at java.awt.EventDispatchThread.run(Unknown Source)
> >
> > 2005/05/09 13:41:39 INFO  - jmeter.services.FileServer: Setting
> basedir to: C:\temp\google.jmx
> > 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine:
> Running the test!
> > 2005/05/09 13:41:47 INFO  - jmeter.gui.util.JMeterMenuBar:
> setRunning(true,local)
> > 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine:
> Starting 1 threads for group Thread Group. Ramp up = 1.
> > 2005/05/09 13:41:47 INFO  - jmeter.engine.StandardJMeterEngine:
> Continue on error
> > 2005/05/09 13:41:47 WARN  - jmeter.threads.JMeterThread:
> jmeterthread.startearlier=true (see jmeter.properties)
> > 2005/05/09 13:41:47 INFO  - jmeter.threads.JMeterThread: Thread Thread
> Group 1-1 started
> > 2005/05/09 13:41:48 ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.NoSuchMethodError
> >        at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP
> Sampler.java:184)
> >        at
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
> ava:463)
> >        at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:583)
> >        at
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> erBase.java:570)
> >        at
> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255)
> >        at java.lang.Thread.run(Unknown Source)
> >
> > 2005/05/09 13:41:48 INFO  - jmeter.threads.JMeterThread: Thread Thread
> Group 1-1 is done
> > 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Ending
> thread 0
> > 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine:
> Stopping test
> > 2005/05/09 13:41:48 INFO  - jmeter.gui.util.JMeterMenuBar:
> setRunning(false,local)
> > 2005/05/09 13:41:48 INFO  - jmeter.engine.StandardJMeterEngine: Test
> has ended
> >
> > -----Original Message-----
> > From: Sander Stevens
> > Sent: maandag 9 mei 2005 13:47
> > To: [hidden email]
> > Subject: Badboy export to jmeter not working?
> >
> > Hi,
> >
> > I am recording something in google (just as an example) with BadBoy
> (v1.5) and export it to JMeter with the built-in funtion. I open JMeter,
> run the script and notice that only the first request will be executed.
> No matter what I try to do. If I disable the first, the second will be
> executed. So both are working, but will not be executed one by one.
> Something wrong in the export function of BadBoy maybe?
> >
> > See attached the jmeter log and the jmx file.
> >
> > Any clues for me?
> >
> > Thanks,
> > Sander
> >
> > Met Vriendelijke Groet,
> >
> > Sander Stevens
> > KPN Internet Solutions
> > Internet Technologies Amersfoort
> > Tel: 030-6588500 (ex. 88584)
> > Fax: 033-4513101
> > Mobiel: 06-46404673
> > E-mail:[hidden email]
> > MSN: [hidden email]
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Badboy export to jmeter not working?

sebb-2-2
In reply to this post by Sander Stevens
On 5/9/05, Sander Stevens <[hidden email]> wrote:
> Hi Sebb,
>
> I upgraded to the 0508 version.
> Indeed this new version works fine with the exported file from Badboy.

Good.

>
> Can you tell me where to disable the Mail Visualiser?
>

Sorry, that was a mistake. I misread the log.
The error is coming from startup - there's nothing you can do about it
apart from downloading the jars.

If it's still occurring in the latest build, then it's a bug that
needs to be fixed - it should be possible to run JMeter without the
mailer jars.

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: Badboy export to jmeter not working?

Sander Stevens
In reply to this post by Sander Stevens
Yes,

Also in the latest build.
I am not sure how to report a bug. Will have a look.

Thanks again,
Sander

-----Original Message-----
From: sebb [mailto:[hidden email]]
Sent: maandag 9 mei 2005 17:14
To: JMeter Users List
Subject: Re: Badboy export to jmeter not working?

On 5/9/05, Sander Stevens <[hidden email]> wrote:
> Hi Sebb,
>
> I upgraded to the 0508 version.
> Indeed this new version works fine with the exported file from Badboy.

Good.

>
> Can you tell me where to disable the Mail Visualiser?
>

Sorry, that was a mistake. I misread the log.
The error is coming from startup - there's nothing you can do about it
apart from downloading the jars.

If it's still occurring in the latest build, then it's a bug that
needs to be fixed - it should be possible to run JMeter without the
mailer jars.

S.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Badboy export to jmeter not working?

sebb-2-2
On 5/10/05, Sander Stevens <[hidden email]> wrote:
> Yes,
>
> Also in the latest build.
> I am not sure how to report a bug. Will have a look.
>

http://issues.apache.org/bugzilla/enter_bug.cgi?product=JMeter

BTW, attachments can only be added to existing issues, not when
creating an issue, so create the issue with the necessary details and
go back to it to add the attachment(s).

> Thanks again,
> Sander
>
> -----Original Message-----
> From: sebb [mailto:[hidden email]]
> Sent: maandag 9 mei 2005 17:14
> To: JMeter Users List
> Subject: Re: Badboy export to jmeter not working?
>
> On 5/9/05, Sander Stevens <[hidden email]> wrote:
> > Hi Sebb,
> >
> > I upgraded to the 0508 version.
> > Indeed this new version works fine with the exported file from Badboy.
>
> Good.
>
> >
> > Can you tell me where to disable the Mail Visualiser?
> >
>
> Sorry, that was a mistake. I misread the log.
> The error is coming from startup - there's nothing you can do about it
> apart from downloading the jars.
>
> If it's still occurring in the latest build, then it's a bug that
> needs to be fixed - it should be possible to run JMeter without the
> mailer jars.
>
> S.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]