You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2014/12/22 09:14:40 UTC

[Bug 57385] New: Getting empty thread name in xml result for a redirecting HTTP requests which causing problem in report analysis

https://issues.apache.org/bugzilla/show_bug.cgi?id=57385

            Bug ID: 57385
           Summary: Getting empty thread name in xml result for a
                    redirecting HTTP requests which causing problem in
                    report analysis
           Product: JMeter
           Version: 2.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: ashokkumar.ch@gmail.com

Getting empty thread name [tn=""] in a xml result file for a Redirect HTTP
request, which causing problem in report analysis to list the group requests.

Ex:

See below result file and notice that rc="302" request and corresponding thread
name

<?xml version="1.0" encoding="UTF-8"?>
<testResults version="1.2">
<httpSample t="1229" lt="1229" ts="1419228583134" s="true" lb="Login" rc="200"
rm="OK" tn="CreateUserAccounts 1-1" dt="text" by="2836" ng="1" na="1">
  <assertionResult>
    <name>Response Assertion</name>
    <failure>false</failure>
    <error>false</error>
  </assertionResult>
</httpSample>
<httpSample t="353" lt="353" ts="1419228584680" s="true" lb="Login Submit"
rc="302" rm="Moved Temporarily" tn="CreateUserAccounts 1-1" dt="" by="454"
ng="1" na="1"/>
<httpSample t="561" lt="560" ts="1419228585341" s="true" lb="New Account"
rc="200" rm="OK" tn="CreateUserAccounts 1-1" dt="text" by="4801" ng="1"
na="1"/>
<httpSample t="2372" lt="1362" ts="1419228586206" s="true" lb="New Account
Submit" rc="200" rm="OK" tn="CreateUserAccounts 1-1" dt="text" by="5110" ng="1"
na="1">
  <httpSample t="1362" lt="1362" ts="1419228586206" s="true"
lb="http://xxx.com/abc/administration/newaccount/submit" rc="302" rm="Moved
Temporarily" tn="" dt="" by="233" ng="0" na="0"/>
  <httpSample t="998" lt="997" ts="1419228587580" s="true"
lb="http://xxx.com/abc/administration/newaccount" rc="200" rm="OK"
tn="CreateUserAccounts 1-1" dt="text" by="4877" ng="0" na="0"/>
</httpSample>
<httpSample t="258" lt="258" ts="1419228588582" s="true" lb="Logout" rc="302"
rm="Moved Temporarily" tn="CreateUserAccounts 1-1" dt="" by="218" ng="1"
na="1"/>
</httpSample>

</testResults>



I think it will be good if we can display thread name for the redirect requests
also, so that it will be easy in reporting to grouping requests in Reporting
analysis

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57385] Getting empty thread name in xml result for HTTP requests with "Follow Redirects" set

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57385

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Getting empty thread name   |Getting empty thread name
                   |in xml result for a         |in xml result for HTTP
                   |redirecting HTTP requests   |requests with "Follow
                   |which causing problem in    |Redirects" set
                   |report analysis             |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57385] Getting empty thread name in xml result for a redirecting HTTP requests which causing problem in report analysis

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57385

ashok <as...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ashokkumar.ch@gmail.com
           Severity|normal                      |major

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57385] Getting empty thread name in xml result for a redirecting HTTP requests which causing problem in report analysis

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57385

--- Comment #2 from UbikLoadPack support <su...@ubikloadpack.com> ---
Hi,
Note that ng and na are equal to 0 on downloaded resources (if it is checked),
debugging they do not look to be filled.

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57385] Getting empty thread name in xml result for HTTP requests with "Follow Redirects" set

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57385

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Sebb <se...@apache.org> ---
Thanks for the patch:

URL: http://svn.apache.org/r1647416
Log:
Getting empty thread name in xml result for HTTP requests with "Follow
Redirects" set
Bugzilla Id: 57835

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/threads/JMeterThread.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57385] Getting empty thread name in xml result for a redirecting HTTP requests which causing problem in report analysis

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57385

--- Comment #1 from Sebb <se...@apache.org> ---
Looks like this only occurs for "Follow Redirects".
Also the ng and na attributes are not initialised either.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 57385] Getting empty thread name in xml result for a redirecting HTTP requests which causing problem in report analysis

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57385

UbikLoadPack support <su...@ubikloadpack.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |support@ubikloadpack.com

--- Comment #3 from UbikLoadPack support <su...@ubikloadpack.com> ---
Created attachment 32321
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32321&action=edit
Patch fixing issue

-- 
You are receiving this mail because:
You are the assignee for the bug.