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 2019/01/07 10:36:14 UTC

[Bug 63061] New: Sorting in Listener is not correct- View Results in Table

https://bz.apache.org/bugzilla/show_bug.cgi?id=63061

            Bug ID: 63061
           Summary: Sorting in Listener is not correct- View Results in
                    Table
           Product: JMeter
           Version: 4.0
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: naveen.lr@gmail.com
  Target Milestone: JMETER_5.1

Created attachment 36367
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36367&action=edit
Bug image

Sorting in Listener is not correct- in View Results in Table 

Sort Sample# is not sorting 1 to 100 or 100 to 1
its sorting like 1, 10 , 100, 101 , 102 ..... 11, 110, 111 , 112 ..... 12 ,
120... so on .

This is allowing not to view the actual sequence of request to checks &
compared with Start Time.

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #7 from Felix Schumacher <fe...@internetallee.de> ---
With the fix for bug 64988, we would have a Alpha-Numeric-Sort solution in
place, which could be used for this issue, too.

I will attach the needed patches to this issue in a second.

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #11 from eR@SeR <na...@gmail.com> ---
Hi Felix,

I checked the "Sample #" column in View Results in Table listener and rows are
sorted in human understandable order when clicked on it in ascending/descending
order.

Same sorting issue was reported in Debug elements
https://bz.apache.org/bugzilla/show_bug.cgi?id=64988 so I did the same testing
here just in case.

Jmeter 5.5 ff9866a
Microsoft Windows 10 Pro 64-bit
java version "15.0.1" 2020-10-20

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Mac OS X 10.1               |All
   Target Milestone|JMETER_5.1                  |---
           Hardware|PC                          |All
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Did you try with 5.0 ?

Thanks

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

Michael Jensen <mi...@stil.dk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

Felix Schumacher <fe...@internetallee.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
             Status|NEW                         |NEEDINFO

--- Comment #10 from Felix Schumacher <fe...@internetallee.de> ---
@reporters it would be nice, if you could test next build from trunk or nightly
and report back, whether it fixes your issue.

commit 6e7b3702cac8808937df56409393f42ee9b60e67
Author: Felix Schumacher <fe...@internetallee.de>
AuthorDate: Sat Jan 2 22:36:42 2021 +0100

    Sorting in View Results in Table is not correct

    All string columns will get sorted by human understandable alpha numeric
sort

    Bugzilla Id: 63061
---
 .../apache/jmeter/visualizers/TableVisualizer.java | 11 ++++-
 ...Comparator.java => AlphaNumericComparator.java} | 48 +++++++++++++--------
 .../jorphan/util/AlphaNumericKeyComparator.java    | 50 ++--------------------
 .../util/TestAlphaNumericKeyComparator.java        | 18 +++++++-
 xdocs/changes.xml                                  |  1 +
 5 files changed, 60 insertions(+), 68 deletions(-)

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #4 from Michael Jensen <mi...@stil.dk> ---
(In reply to Michael Jensen from comment #2)
> Experiencing same in:
> View Results in Table
> 
> Sorting for "Sample#"-column is:
> 1
> 10
> 100
> 1000
> 1001
> 1002
> .
> .
> .
> 1008
> 1009
> 101
> 1010
> 1011
> 
> I would expect it to sort incrementally by 1.
> 
> Seen in Apache JMeter (5.0 r1840935)
> 
> /Regards
> Michael

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #6 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
It appears column could have this format:

X-Y

In this case, sorting by number would not be possible

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #5 from Michael Jensen <mi...@stil.dk> ---
(In reply to Michael Jensen from comment #2)
> Experiencing same in:
> View Results in Table
> 
> Sorting for "Sample#"-column is:
> 1
> 10
> 100
> 1000
> 1001
> 1002
> .
> .
> .
> 1008
> 1009
> 101
> 1010
> 1011
> 
> I would expect it to sort incrementally by 1.
> 
> Seen in Apache JMeter (5.0 r1840935)
> 
> /Regards
> Michael

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #3 from Michael Jensen <mi...@stil.dk> ---
Created attachment 36426
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36426&action=edit
Screenshot from View Results in Table

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #2 from Michael Jensen <mi...@stil.dk> ---
Experiencing same issue both in:
View Results Tree
View Results in Table

Sorting for "Sample#"-column is:
1
10
100
1000
1001
1002
.
.
.
1008
1009
101
1010
1011

I would expect it to sort incrementally by 1.

Seen in Apache JMeter (5.0 r1840935)

/Regards
Michael

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #8 from Felix Schumacher <fe...@internetallee.de> ---
Created attachment 37680
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37680&action=edit
Sort properties and variables in a human expected order

This is part of the issue 64988 and only included for reference, as that bug
has not been fixed/committed yet.

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

--- Comment #9 from Felix Schumacher <fe...@internetallee.de> ---
Created attachment 37681
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37681&action=edit
sort columns in human understandable order

This genralizes the work from the other bug and let us order all String columns
in a hopefully saner way.

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

[Bug 63061] Sorting in Listener is not correct- View Results in Table

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

Felix Schumacher <fe...@internetallee.de> changed:

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

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