[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jmeter-user
Subject:    Re: RegExp does not work when response data too long
From:       "Andrew Chan" <a6chan () gmail ! com>
Date:       2007-11-30 19:39:09
Message-ID: 48583df80711301139y2f2ba534ud4f4a796f088e2e2 () mail ! gmail ! com
[Download RAW message or body]

Thanks for your quick responses Sebb, turns out it's the RE
afterall... it has multiple matches.  So I've extended the matching
string and it's now working.  Thanks!

On Nov 30, 2007 2:24 PM, sebb <sebbaz@gmail.com> wrote:
> Perhaps you can send me the RE test element (select it; right-click
> save selection as) and the page privately by e-mail?
> 
> 
> On 30/11/2007, Andrew Chan <a6chan@gmail.com> wrote:
> > yes...  other such strings are correctly matched.  Just this one
> > having the response data >200 bytes....
> > 
> > 
> > On Nov 30, 2007 2:07 PM, sebb <sebbaz@gmail.com> wrote:
> > > Are you successfully matching other such strings?
> > > 
> > > 
> > > On 30/11/2007, Andrew Chan <a6chan@gmail.com> wrote:
> > > > I am expecting &gt; instead of >  etc
> > > > 
> > > > 
> > > > On Nov 30, 2007 1:26 PM, sebb <sebbaz@gmail.com> wrote:
> > > > > What about &gt; versus > etc?
> > > > > 
> > > > > 
> > > > > On 30/11/2007, Andrew Chan <a6chan@gmail.com> wrote:
> > > > > > Yes I have put the result response data to a file and checked and it
> > > > > > should only have 1 match.  I too put a default value for the RE and it
> > > > > > does appears (but it should match it...).  There are no error in the
> > > > > > logs related to this...
> > > > > > 
> > > > > > Andrew
> > > > > > 
> > > > > > On Nov 30, 2007 12:42 PM, sebb <sebbaz@gmail.com> wrote:
> > > > > > > Are you sure the result contains:
> > > > > > > 
> > > > > > > INC&lt;/oa:Name&gt;
> > > > > > > 
> > > > > > > and not
> > > > > > > 
> > > > > > > INC</oa:Name>
> > > > > > > 
> > > > > > > which seems more likely?
> > > > > > > If so, then the RE needs to be adjusted accordingly.
> > > > > > > 
> > > > > > > Or was that a problem with posting in the e-mail?
> > > > > > > 
> > > > > > > If not, then:
> > > > > > > - check the jmeter log file for errors
> > > > > > > - add a default value for the RE; if the default appears, it indicates
> > > > > > > that the match was not successful.
> > > > > > > - use the Save Results to File Post-Processor as a child of the
> > > > > > > sampler to check that the data you are matching against is what you
> > > > > > > think it is.
> > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > On 30/11/2007, Andrew Chan <a6chan@gmail.com> wrote:
> > > > > > > > The problem I describe is in JMeter 2.3.  I only used ORO demo to
> > > > > > > > validate that I have the regexp correct.
> > > > > > > > Thanks.
> > > > > > > > 
> > > > > > > > On Nov 30, 2007 11:37 AM, sebb <sebbaz@gmail.com> wrote:
> > > > > > > > > Are you saying that the RE fails in JMeter?
> > > > > > > > > Or just the ORO demo?
> > > > > > > > > 
> > > > > > > > > JMeter does not apply any limits; the ORO demo may.
> > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > On 30/11/2007, Andrew Chan <a6chan@gmail.com> wrote:
> > > > > > > > > > I've tested a working regexp in
> > > > > > > > > > http://jakarta.apache.org/oro/demo.html and all my other regexp \
> > > > > > > > > > is working EXCEPT one with the response data >200 bytes.  Is this \
> > > > > > > > > > a known issue?  I've searched google and couldn't find anything.  \
> > > > > > > > > > Any help is great.  Thanks!  Note:  I need the RegExp to be this \
> > > > > > > > > > long to include the INC in front to make this distinct from the \
> > > > > > > > > > response data I am getting.
> > > > > > > > > > 
> > > > > > > > > > Input:  R \
> > > > > > > > > > INC&lt;/oa:Name&gt;&lt;xic:CustomerNumber&gt;0018010394&lt;/xic:CustomerNumber&gt;&lt;/xic:Business
> > > > > > > > > >                 
> > > > > > > > > > RegExp: \
> > > > > > > > > > INC&amp;lt;/oa:Name&amp;gt;&amp;lt;xic:CustomerNumber&amp;gt;([0-9]+)?&amp;lt
> > > > > > > > > >  
> > > > > > > > > > Regards,  Andrew
> > > > > > > > > > 
> > > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > > >  To unsubscribe, e-mail: \
> > > > > > > > > > jmeter-user-unsubscribe@jakarta.apache.org For additional \
> > > > > > > > > > commands, e-mail: jmeter-user-help@jakarta.apache.org 
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > > ---------------------------------------------------------------------
> > > > > > > > >  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > > > For additional commands, e-mail: \
> > > > > > > > > jmeter-user-help@jakarta.apache.org 
> > > > > > > > > 
> > > > > > > > 
> > > > > > > > ---------------------------------------------------------------------
> > > > > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > > ---------------------------------------------------------------------
> > > > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > > > > 
> > > > > > 
> > > > > 
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > > > 
> > > > > 
> > > > 
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > > 
> > > > 
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > > 
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic