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 2006/07/14 16:16:28 UTC
DO NOT REPLY [Bug 40045] New: - Results monitor may select wrong connector if more than one are defined
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=40045>.
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=40045
Summary: Results monitor may select wrong connector if more than
one are defined
Product: JMeter
Version: 2.2
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P4
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: andy@iti.upv.es
The Results monitor only analyses the first connector that appears in the Tomcat
manager/status XML. If, as is the case for me, more than one connector is
defined and the first one listed isn�t the connector for the web application
that is being tested - the Results monitor thread count is incorrect. Note it
appeas that the Tomcat manager/status page sorts connectors alphabetically.
Regards,
Andy Dawson
As I see no place for attachements, below is an example manager/status XML file,
where the thread count is 8, and should display a thread busy count of 8/150 but
instead returns 0% (the xsl declaration has been removed to allow easier viewing):
<?xml version="1.0" encoding="utf-8"?><status><jvm><memory free='7357544'
total='37093376' max='66650112'/></jvm><connector name='http-8084'><threadInfo
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
currentThreadCount="25" currentThreadsBusy="1" /><requestInfo maxTime="0"
processingTime="0" requestCount="0" errorCount="0" bytesReceived="0"
bytesSent="0" /><workers><worker stage="R" requestProcessingTime="0"
requestBytesSent="0" requestBytesRecieved="0" remoteAddr="?"
virtualHost="?" method="?" currentUri="?" currentQueryString="?"
protocol="?" /></workers></connector><connector name='http-8100'><threadInfo
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
currentThreadCount="25" currentThreadsBusy="8" /><requestInfo maxTime="4813"
processingTime="255614" requestCount="2569" errorCount="1"
bytesReceived="559008" bytesSent="40935221" /><workers><worker stage="K"
requestProcessingTime="3406" requestBytesSent="0" requestBytesReceived="0"
remoteAddr="192.168.1.124" virtualHost="?" method="?" currentUri="?"
currentQueryString="?" protocol="?" /><worker stage="K"
requestProcessingTime="2843" requestBytesSent="0" requestBytesReceived="0"
remoteAddr="192.168.1.124" virtualHost="?" method="?" currentUri="?"
currentQueryString="?" protocol="?" /><worker stage="R"
requestProcessingTime="0" requestBytesSent="0" requestBytesRecieved="0"
remoteAddr="?" virtualHost="?" method="?" currentUri="?"
currentQueryString="?" protocol="?" /><worker stage="S"
requestProcessingTime="0" requestBytesSent="0" requestBytesReceived="0"
remoteAddr="192.168.1.124" virtualHost="mistral" method="GET"
currentUri="/manager/status" currentQueryString="XML=true" protocol="HTTP/1.1"
/><worker stage="K" requestProcessingTime="2796" requestBytesSent="0"
requestBytesReceived="0" remoteAddr="192.168.1.124" virtualHost="?"
method="?" currentUri="?" currentQueryString="?" protocol="?"
/><worker stage="R" requestProcessingTime="0" requestBytesSent="0"
requestBytesRecieved="0" remoteAddr="?" virtualHost="?" method="?"
currentUri="?" currentQueryString="?" protocol="?" /><worker
stage="K" requestProcessingTime="968" requestBytesSent="0"
requestBytesReceived="0" remoteAddr="192.168.1.124" virtualHost="?"
method="?" currentUri="?" currentQueryString="?" protocol="?"
/><worker stage="R" requestProcessingTime="0" requestBytesSent="0"
requestBytesRecieved="0" remoteAddr="?" virtualHost="?" method="?"
currentUri="?" currentQueryString="?" protocol="?" /><worker
stage="R" requestProcessingTime="0" requestBytesSent="0"
requestBytesRecieved="0" remoteAddr="?" virtualHost="?" method="?"
currentUri="?" currentQueryString="?" protocol="?" /><worker
stage="R" requestProcessingTime="0" requestBytesSent="0"
requestBytesRecieved="0" remoteAddr="?" virtualHost="?" method="?"
currentUri="?" currentQueryString="?" protocol="?" /><worker
stage="R" requestProcessingTime="0" requestBytesSent="0"
requestBytesRecieved="0" remoteAddr="?" virtualHost="?" method="?"
currentUri="?" currentQueryString="?" protocol="?" /><worker
stage="K" requestProcessingTime="3031" requestBytesSent="0"
requestBytesReceived="0" remoteAddr="192.168.1.124" virtualHost="?"
method="?" currentUri="?" currentQueryString="?" protocol="?"
/><worker stage="K" requestProcessingTime="609" requestBytesSent="0"
requestBytesReceived="0" remoteAddr="192.168.1.124" virtualHost="?"
method="?" currentUri="?" currentQueryString="?" protocol="?"
/></workers></connector><connector name='http-4443'><threadInfo
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
currentThreadCount="25" currentThreadsBusy="1" /><requestInfo maxTime="0"
processingTime="0" requestCount="0" errorCount="0" bytesReceived="0"
bytesSent="0" /><workers><worker stage="R" requestProcessingTime="0"
requestBytesSent="0" requestBytesRecieved="0" remoteAddr="?"
virtualHost="?" method="?" currentUri="?" currentQueryString="?"
protocol="?" /></workers></connector><connector name='jk-8009'><threadInfo
maxThreads="200" minSpareThreads="4" maxSpareThreads="50" currentThreadCount="4"
currentThreadsBusy="1" /><requestInfo maxTime="0" processingTime="0"
requestCount="0" errorCount="0" bytesReceived="0" bytesSent="0"
/><workers></workers></connector></status>
--
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
DO NOT REPLY [Bug 40045] - Results monitor may select wrong connector if more than one are defined
Posted by bu...@apache.org.
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=40045>.
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=40045
woolfel@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|NEW |ASSIGNED
------- Additional Comments From woolfel@yahoo.com 2006-07-14 14:31 -------
hopefully this weekend I can take a look and see how hard it would be to enhance
the monitor to allow users to select the desired port.
--
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
DO NOT REPLY [Bug 40045] - Results monitor may select wrong connector if more than one are defined
Posted by bu...@apache.org.
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=40045>.
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=40045
------- Additional Comments From woolfel@yahoo.com 2006-07-14 14:24 -------
a quick note. the change isn't trivial, so I don't know how much work is
required to implement the enhancement. it's probably going be a few weeks or
more. if you're adventurous and want to try enhancing it youself, I can assist.
peter
--
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
DO NOT REPLY [Bug 40045] - Results monitor may select wrong connector if more than one are defined
Posted by bu...@apache.org.
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=40045>.
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=40045
------- Additional Comments From andy@iti.upv.es 2006-07-14 14:18 -------
Created an attachment (id=18604)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=18604&action=view)
Example Tomcat status file
The attached XML file is not read correctly by the Results monitor.
--
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