You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by bu...@apache.org on 2005/07/26 08:27:25 UTC
DO NOT REPLY [Bug 35861] New: -
http header request not logged in jtl file
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35861>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=35861
Summary: http header request not logged in jtl file
Product: JMeter
Version: 2.0.3
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: major
Priority: P2
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: christian.baumgartner@tiscover.com
when i do a test with JMeter and try to log the output data to a JTL file, i
have the chance to configure that it also should save the HTTP HEADER REQUESTS.
But it doesn't.
Each Listener that could log to a file, has a button CONFIGURE at the left side.
Clicking on it, opens a dialog box, where I can choose wich data should get
logged. But nevertheless I check the HEADER REQUEST box, it won't log my HEADER
REQUESTS when i start and finish a testrun, without any runtime errors.
I tried it with 2.0.3, Nightly Builds and also the actual from CVS.
<outline of samplerun.jtl>
<sampleResult timeStamp="1122358626437" dataType="text" threadName="Thread
Gruppe 1-1" label="HTTP Request" time="250" responseMessage="OK"
responseCode="200" success="true"/>
<sampleResult timeStamp="1122358626609" dataType="text" threadName="Thread
Gruppe 1-2" label="HTTP Request" time="78" responseMessage="OK"
responseCode="200" success="true"/>
<sampleResult timeStamp="1122358626937" dataType="text" threadName="Thread
Gruppe 1-3" label="HTTP Request" time="78" responseMessage="OK"
responseCode="200" success="true"/>
</outline of samplerun.jtl>
<jmeter.log>
2005/07/26 07:22:00 INFO - jmeter.util.JMeterUtils: Setting Locale to de_AT
2005/07/26 07:22:00 INFO - jmeter.JMeter: Version 2.1.20050725
2005/07/26 07:22:00 INFO - jmeter.JMeter: java.version=1.5.0_04
2005/07/26 07:22:00 INFO - jmeter.JMeter: Copyright (c) 1998-2005 The Apache
Software Foundation
2005/07/26 07:22:00 INFO - jmeter.JMeter: Loaded icon properties from
org/apache/jmeter/images/icon.properties
2005/07/26 07:22:01 ERROR - jmeter.gui.action.Help: Couldn't load help file
java.io.FileNotFoundException:
D:\workspace_JMeter\jmeter-pserver\printable_docs\usermanual\component_reference.html
(Das System kann den angegebenen Pfad nicht finden)
2005/07/26 07:22:02 INFO -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Entered access log
sampler bean info
2005/07/26 07:22:02 INFO -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: found parsers:
[org.apache.jmeter.protocol.http.util.accesslog.TCLogParser]
2005/07/26 07:22:02 INFO -
jmeter.protocol.http.sampler.AccessLogSamplerBeanInfo: Got to end of access log
samper bean info init
2005/07/26 07:22:02 WARN - jmeter.gui.util.MenuFactory: Could not instantiate
org.apache.jmeter.visualizers.MailerVisualizer java.lang.Error: Unresolved
compilation problems:
The import javax.mail cannot be resolved
The import javax.mail cannot be resolved
AddressException cannot be resolved or is not a type
at org.apache.jmeter.visualizers.MailerVisualizer.<init>(MailerVisualizer.java:29)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.jmeter.gui.util.MenuFactory.initializeMenus(MenuFactory.java:317)
at org.apache.jmeter.gui.util.MenuFactory.<clinit>(MenuFactory.java:115)
at org.apache.jmeter.control.gui.WorkBenchGui.createPopupMenu(WorkBenchGui.java:98)
at
org.apache.jmeter.gui.tree.JMeterTreeNode.createPopupMenu(JMeterTreeNode.java:118)
at org.apache.jmeter.gui.action.EditCommand.doAction(EditCommand.java:44)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:76)
at org.apache.jmeter.gui.action.ActionRouter.access$0(ActionRouter.java:67)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
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.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2005/07/26 07:22:02 INFO - jmeter.samplers.SampleResult: Note: Sample
TimeStamps are END times
2005/07/26 07:22:02 INFO - jmeter.samplers.SampleResult:
sampleresult.default.encoding is set to ISO-8859-1
2005/07/26 07:22:04 INFO - jmeter.services.FileServer: Setting basedir to: null
2005/07/26 07:22:08 INFO - jmeter.gui.action.Load: Loading file:
D:\workspace_JMeter\jmeter-pserver\bin\testfiles\eigene\testrun.jmx
2005/07/26 07:22:08 INFO - jmeter.services.FileServer: Setting basedir to:
D:\workspace_JMeter\jmeter-pserver\bin\testfiles\eigene\testrun.jmx
2005/07/26 07:22:08 INFO - jmeter.protocol.http.sampler.HTTPSampler2:
httpsampler2.basicauth=false
2005/07/26 07:22:08 WARN - jmeter.save.SaveService: Could not set up alias
BeanShellSampler java.lang.ClassNotFoundException:
org.apache.jmeter.protocol.java.sampler.BeanShellSampler
2005/07/26 07:22:08 INFO - jmeter.save.SaveService: Using SaveService
properties file 1.7
2005/07/26 07:22:08 WARN - jmeter.save.SaveService: Could not set up alias
WebServiceSampler java.lang.ClassNotFoundException:
org.apache.jmeter.protocol.http.sampler.WebServiceSampler
2005/07/26 07:22:08 INFO - jmeter.save.SaveService: All converter versions
present and correct
2005/07/26 07:22:08 INFO - jmeter.services.FileServer: Setting basedir to:
D:\workspace_JMeter\jmeter-pserver\bin\testfiles\eigene\testrun.jmx
2005/07/26 07:22:15 INFO - jmeter.gui.SavePropertyDialog:
SampleSaveConfiguration =
org.apache.jmeter.samplers.SampleSaveConfiguration@12f1bf0
2005/07/26 07:22:15 INFO - jmeter.gui.SavePropertyDialog: grid panel is 3 by 7
2005/07/26 07:22:15 WARN - jmeter.gui.SavePropertyDialog: Problem creating save
config dialog java.lang.IllegalArgumentException: wrong number of arguments
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.jmeter.gui.SavePropertyDialog.dialogInit(SavePropertyDialog.java:99)
at org.apache.jmeter.gui.SavePropertyDialog.<init>(SavePropertyDialog.java:68)
at
org.apache.jmeter.visualizers.gui.AbstractVisualizer$1.actionPerformed(AbstractVisualizer.java:136)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2005/07/26 07:22:15 WARN - jmeter.gui.SavePropertyDialog: Problem creating save
config dialog java.lang.IllegalArgumentException: wrong number of arguments
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.jmeter.gui.SavePropertyDialog.dialogInit(SavePropertyDialog.java:99)
at org.apache.jmeter.gui.SavePropertyDialog.<init>(SavePropertyDialog.java:68)
at
org.apache.jmeter.visualizers.gui.AbstractVisualizer$1.actionPerformed(AbstractVisualizer.java:136)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2005/07/26 07:22:38 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2005/07/26 07:22:38 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,local)
2005/07/26 07:22:38 INFO - jmeter.engine.StandardJMeterEngine: Starting 3
threads for group Thread Gruppe. Ramp up = 1.
2005/07/26 07:22:38 INFO - jmeter.engine.StandardJMeterEngine: Continue on error
2005/07/26 07:22:38 WARN - jmeter.threads.JMeterThread:
jmeterthread.startearlier=true (see jmeter.properties)
2005/07/26 07:22:38 INFO - jmeter.threads.JMeterThread: Thread Thread Gruppe
1-1 started
2005/07/26 07:22:38 INFO - jmeter.protocol.http.modifier.AnchorModifier: Can't
apply HTML Link Parser when the previous sampler run is not an HTTP Request.
2005/07/26 07:22:38 ERROR - jmeter.threads.JMeterThread:
java.lang.IllegalArgumentException: protocol = http host = null
at sun.net.spi.DefaultProxySelector.select(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)
at
org.apache.jmeter.protocol.http.sampler.HTTPSampler.disconnect(HTTPSampler.java:510)
at org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.java:504)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:514)
at
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSamplerBase.java:503)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
at java.lang.Thread.run(Unknown Source)
2005/07/26 07:22:39 INFO - jmeter.threads.JMeterThread: Thread Thread Gruppe
1-1 is done
2005/07/26 07:22:39 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 0
2005/07/26 07:22:39 INFO - jmeter.threads.JMeterThread: Thread Thread Gruppe
1-2 is done
2005/07/26 07:22:39 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 1
2005/07/26 07:22:39 INFO - jmeter.threads.JMeterThread: Thread Thread Gruppe
1-3 is done
2005/07/26 07:22:39 INFO - jmeter.engine.StandardJMeterEngine: Ending thread 2
2005/07/26 07:22:39 INFO - jmeter.engine.StandardJMeterEngine: Stopping test
2005/07/26 07:22:39 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,local)
2005/07/26 07:22:39 INFO - jmeter.engine.StandardJMeterEngine: Test has ended
</jmeter.log>
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org