Well I have found out what was causing the issue I was having and come
up with a workaround.
But this is definitely a bug that goes directly against the
documentation for this feature:

According to
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTTP_Proxy_Server:
"These entries will be treated as Perl-type regular expressions. They
will be matched against the host name + the path of each browser
request. Thus, if the URL you are browsing is *
http://jakarta.apache.org/jmeter/index.html?username=xxxx * , then the
regular expression will be tested against the string: *
"jakarta.apache.org/jmeter/index.html""

*However the problem I was experiencing was that due to our images, js
files, css files being referenced with a parameter
ie

/images/xxx.png?aaaaaaa

the regular expression .*\.png in my URL Patterns to Exclude was not matching 
this, but changing the
expression to .*\.png\?.* does match this file and so will be excluded.

-Josh


Joshua Auerbach wrote:
> sebb wrote:
>   
>> On 12/11/2007, Joshua Auerbach <[EMAIL PROTECTED]> wrote:
>>   
>>     
>>> I am trying to use the proxy server to record some test plans and am
>>> running into the following options
>>>     
>>>       
>> s/options/problems/ ?
>>   
>>     
> problems ... that was a mistype ;-)
>   
>>   
>>     
>>> even though I have things like
>>> .*\.js
>>> .*\.png
>>>
>>> in my "URL Patterns to Exclude"
>>>
>>> I am still seeing requests like
>>>    /javascript/xxx.js
>>>
>>> and
>>>    /images/xxx.png
>>>
>>> getting recorded.
>>>
>>> I have tried this with nothing in "URL Patterns to Include" and with .*
>>> as an entry there
>>>
>>> What am I doing wrong??
>>>     
>>>       
>> Works fine for me.
>>
>> Check the entries carefully to make sure there are no spaces or other
>> invisible characters before or after the patterns, and be sure to
>> restart the proxy if you make a change.
>>
>> Also note that the pattern is case-sensitive - unless you prefix it with 
>> (?i).
>>   
>>     
> I have made sure there are no hidden characters and all the extensions
> are lower case.  Have restarted the proxy and am still seeing js file
> requests getting recorded.  Any other ideas as to what the problem is?
>   
>>   
>>     
>>> I am running Jmeter 2.3 on windows
>>>
>>> Thanks,
>>> Josh
>>> --
>>> ______________________________
>>> * Joshua E. Auerbach | Software Developer
>>>
>>> V 802.658.0965
>>> [EMAIL PROTECTED] | www.dealer.com
>>> *
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>>     
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>   
>>     
>
>   

-- 
______________________________
* Joshua E. Auerbach | Software Developer

V 802.658.0965
[EMAIL PROTECTED] | www.dealer.com
*

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to