You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by bu...@apache.org on 2011/10/18 23:12:49 UTC

DO NOT REPLY [Bug 52053] New: Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

             Bug #: 52053
           Summary: Post Regular Expression Extractor does not work
                    correctly for a case when JMS Subscriber returns more
                    than one message
           Product: JMeter
           Version: 2.5.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: notifications@jakarta.apache.org
        ReportedBy: slavko_h@yahoo.com
    Classification: Unclassified


Created attachment 27810
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27810
Test Plan

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52053] Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

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

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

--- Comment #5 from Philippe Mouawad <p....@ubik-ingenierie.com> 2011-10-25 20:46:24 UTC ---
Hello,
In fact it works correctly.
In your case you configured RegexpExtractor to choose randomly one of the
matches so you get one.

So in this case if you are sure there will be 2 messages, you would use another
regexpextractor that extracts Match No 2 and modify first one to get Match No
1.

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52053] Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

--- Comment #2 from Yaroslav <sl...@yahoo.com> 2011-10-18 21:16:07 UTC ---
Created attachment 27812
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27812
Debug

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52053] Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

--- Comment #4 from Yaroslav <sl...@yahoo.com> 2011-10-18 21:24:11 UTC ---
See JMS Subscriber screenshot - there are headers that point to two return
messages;

See Post RegExpExtr screenshot - that has to extract "JMSMessageId" values from
Headers;

See Debug screenshot - there is just one value for TT_SUB;

ER: in my case TT_SUB has to point two values;


TP is attached as well.

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52053] Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

Yaroslav <sl...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
         Resolution|WORKSFORME                  |INVALID

--- Comment #6 from Yaroslav <sl...@yahoo.com> 2011-10-27 03:07:50 UTC ---
Sorry, my BAD.
I had to use "Match No" = -1 (minus one) in my expectation.

Not an issue.
Can be closed.

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52053] Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

--- Comment #3 from Yaroslav <sl...@yahoo.com> 2011-10-18 21:16:38 UTC ---
Created attachment 27813
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27813
JMS Subscriber

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52053] Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

--- Comment #1 from Yaroslav <sl...@yahoo.com> 2011-10-18 21:15:46 UTC ---
Created attachment 27811
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27811
Post RegExpExtr

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


DO NOT REPLY [Bug 52053] Post Regular Expression Extractor does not work correctly for a case when JMS Subscriber returns more than one message

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
           Platform|PC                          |All
         OS/Version|Windows XP                  |All

-- 
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: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org