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 2009/12/30 11:31:44 UTC
DO NOT REPLY [Bug 48463] New: Wrong output of 'label' field in jtl
file
https://issues.apache.org/bugzilla/show_bug.cgi?id=48463
Summary: Wrong output of 'label' field in jtl file
Product: JMeter
Version: 2.3.4
Platform: HP
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P2
Component: Main
AssignedTo: jmeter-dev@jakarta.apache.org
ReportedBy: mguardiola@asp4all.nl
Created an attachment (id=24776)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24776)
jmx file used
Using a HTTP sampler which reads url paths from a file
(${__StringFromFile(URLFILE)}), the field 'label' in the output doesn't match
the results in the rest of the line.
I tested this with a file containing the following url paths:
/200
/200
/200
/200
/404
/200
The pathname is the same as the reponsecode being returned. The request to /404
generates the reply '404 Not found', the request to /200 '200 OK', etc.
The test (1 thread, 6 loops) generates the following jtl file:
<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<httpSample t="12" lt="12" ts="1262168849741" s="true" lb="/200" rc="200"
rm="OK" tn="Thread Group 1-1" dt="text" by="0"/>
<httpSample t="1" lt="1" ts="1262168849760" s="false" lb="/200" rc="404"
rm="Not Found" tn="Thread Group 1-1" dt="text" by="201"/>
<httpSample t="0" lt="0" ts="1262168849763" s="true" lb="/404" rc="200" rm="OK"
tn="Thread Group 1-1" dt="text" by="0"/>
<httpSample t="0" lt="0" ts="1262168849764" s="true" lb="/200" rc="200" rm="OK"
tn="Thread Group 1-1" dt="text" by="0"/>
<httpSample t="1" lt="0" ts="1262168849765" s="false" lb="/200" rc="404"
rm="Not Found" tn="Thread Group 1-1" dt="text" by="201"/>
<httpSample t="1" lt="1" ts="1262168849767" s="true" lb="/404" rc="200" rm="OK"
tn="Thread Group 1-1" dt="text" by="0"/>
</testResults>
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
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 48463] Wrong output of 'label' field in jtl file
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48463
Sebb <se...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Sebb <se...@apache.org> 2009-12-30 03:40:26 UTC ---
There are two separate calls to the __StringFromFile() function, so they will
get different lines from the input. Use CSV DataSet instead.
Bugzilla is not a support forum; please ask on the user list before raising a
bug.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
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 48463] Wrong output of 'label' field in jtl file
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48463
--- Comment #1 from Marc Guardiola <mg...@asp4all.nl> 2009-12-30 02:32:18 UTC ---
Created an attachment (id=24777)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24777)
url path file used
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
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 48463] Wrong output of 'label' field in jtl file
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48463
--- Comment #2 from Marc Guardiola <mg...@asp4all.nl> 2009-12-30 02:32:48 UTC ---
Created an attachment (id=24778)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24778)
generated jtl file
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org