jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sukumar Durairajan <suku...@naturesoft.net>
Subject Re: Patterns to include for Ruby on rails app for recording script using proxy server
Date Thu, 01 Feb 2007 09:24:23 GMT
sebb wrote:
> Thanks for the details sent privately
>
> There's nothing obvious as to why the patterns are not matching.
>
> Check jmeter.log for any errors.
>
> What happens if you remove all pattern matching?
>
> S.
> On 29/01/07, sebb <sebbaz@gmail.com> wrote:
>> Can you provid details of the patterns that worked, and the ones that 
>> did not?
>>
>> Could you send me just the Proxy Settings - select the test element,
>> right-click and save as, then send to me privately.
>>
>> S.
>> On 29/01/07, Sukumar Durairajan <sukumar@naturesoft.net> wrote:
>> > Hi,
>> >
>> > Thanks. The matching works for other types of pages, like .asp, 
>> .jsp etc.
>> >
>> > I included .rb$ in the patterns but the HTTP Proxy Server does not
>> > record either.
>> >
>> > Best
>> > Kumar
>> >
>> > sebb wrote:
>> > > On 27/01/07, git <git@cubicalland.com> wrote:
>> > >> OK - I am just running past may computer and I have no idea why 
>> I think
>> > >> this might work - but it rings a bell...
>> > >>
>> > >> [.]rb$
>> > >
>> > > I think that just means the character class containing ".". i.e.
>> > >
>> > > \.rb$
>> > >
>> > >>
>> > >> I think that .* matches everything and eats your match to .rb.  
>> JMeter
>> > >
>> > > No, the .* applies to the target, not the regular expression.
>> > >
>> > > Any characters in the regular expression after the .* have to be
>> > > present for a match to occur.
>> > >
>> > >> uses greedy matching (the normal) unlike the lean matching thing 
>> that
>> > >> Perl can do (but I have forgotten how to with PERL - arrrg - 
>> grey hair
>> > >> spreading over my head).
>> > >
>> > > Greedy matching just means that it will look for the last possible
>> > > match in the target.
>> > >
>> > > So .*na will match the whole of banana, not just bana.
>> > >
>> > > .*?na is non-greedy, and would match bana
>> > >
>> > > .*na$ and .*?na$ will both match banana, because the $ means the na
>> > > has to be at the end, and there is only one end here (unlike a
>> > > banana).
>> > >
>> > >> Cheers
>> > >>
>> > >> AJ
>> > >>
>> > >> On Sat, 2007-01-27 at 15:44 +0530, Sukumar Durairajan wrote:
>> > >>
>> > >> > I am trying to record using proxy server for a Ruby on rails
>> > >> application
>> > >> > in Jmeter. In the patterns to include, I added .*\.rb and 
>> .*\.rhtml.
>> > >
>> > > Looks OK.
>> > >
>> > >> > But still nothing is recorded after I complete a set of 
>> actions in the
>> > >> > application.
>> > >> >
>> > >> > Any solution to this quickly is very much appreciated.
>> > >
>> > > Does the matching work for other types of pages?
>> > >
>> > >> > Thanks
>> > >> > Kumar
>> > >> >
>> > >> > 
>> ---------------------------------------------------------------------
>> > >> > To unsubscribe, e-mail: 
>> jmeter-user-unsubscribe@jakarta.apache.org
>> > >> > For additional commands, e-mail: 
>> jmeter-user-help@jakarta.apache.org
>> > >> >
>> > >> >
>> > >> >
>> > >>
>> > >> www.cubicalland.com
>> > >> www.nerds-central.blogspot.com
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >
>> > > 
>> ---------------------------------------------------------------------
>> > > 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


Mime
View raw message