jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harry_ <harjitwo...@gmail.com>
Subject Re: restrict jmeter to one domain
Date Fri, 04 Dec 2009 15:45:47 GMT

I was also facing similar problem. I used the following in the Embed URL must
match field:

http://.*\.online\.org\.uk/.*

Used star because we want to use the same regular expression for test on all
environments local, test, staging.

It is working fine... :)

Thanks for the post...



Deepak Shetty wrote:
> 
> Yes , i think that works
> 
> regards
> deepak
> 
> On Thu, Dec 3, 2009 at 12:23 PM, Greg Coit <greg@chapterthreellc.com>
> wrote:
> 
>> deepak,
>>
>> I should have been clearer.
>>
>> The content pulled from other domains are images.  I was hoping that i
>> could tell jmeter to only request images if they are from the specific
>> domain.
>>
>> Would setting (in the HTTP Request form) "Retrieve All Embedded
>> Resources from HTML Files" and then setting "Embedded URLs must
>> match:" to the local domain accomplish this?
>>
>> Greg
>> --
>> Greg Coit
>> Systems Administrator
>> Chapter Three, Your Drupal Experts in San Francisco
>> 2325 3rd St, Suite 319, San Francisco, CA 94107
>> {c} 1.707.845.0317 {t} 1.888.496.3238 {f} 1.866.668.1912
>> chapterthree.com // twitter.com/chapter_three
>>
>>
>>
>> On Thu, Dec 3, 2009 at 11:03 AM, Deepak Shetty <shettyd@gmail.com> wrote:
>> > hi
>> > Its not clear what you mean. the Jmeter scripts only execute whatever
>> you
>> > have coded it to execute.
>> >>The site grabs some content from other (authorized) servers/domains
>> > In what way? if the site does it server side , then this is not visible
>> to
>> > either JMeter or to a browser. Only you know based on the code that the
>> > application has which page is internal and which is from some other
>> site.
>> If
>> > the content is included as part of some main page then there is no way
>> of
>> > telling the app to not fetch it.
>> >
>> > If the site does it using iframes / javascript files then these are
>> separate
>> > requests and you would have to deal with it by modifying your script.
>> You
>> > could probably do this with an IF controller which checks each of its
>> child
>> > requests (the if controller would have two flags one which says whether
>> it
>> > should restrict to domain (probably a property) and the other whether
>> the
>> > request is in the domain or not
>> >
>> > regards
>> > deepak
>> >
>> > On Thu, Dec 3, 2009 at 10:44 AM, Greg Coit <greg@chapterthreellc.com>
>> wrote:
>> >
>> >> Hello,
>> >>
>> >> I'm doing some stress testing of a website/server using jmeter.  The
>> >> site grabs some content from other (authorized) servers/domains.  I'd
>> >> like to find out what kind of speed penalty I'm incurring with this
>> >> setup by running two tests:
>> >>
>> >> One against the whole site and one against just pages hosted on this
>> >> domain.
>> >>
>> >> Rather then modify the site (which is quite extensive), is there a way
>> >> to tell jmeter to ignore content from all domains but the one being
>> >> tested?
>> >>
>> >> Thanks!
>> >>
>> >> Greg
>> >>
>> >> --
>> >> Greg Coit
>> >> Systems Administrator
>> >> Chapter Three, Your Drupal Experts in San Francisco
>> >> 2325 3rd St, Suite 319, San Francisco, CA 94107
>> >> {c} 1.707.845.0317 {t} 1.888.496.3238 {f} 1.866.668.1912
>> >> chapterthree.com // twitter.com/chapter_three
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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
>>
>>
> 
> 

-- 
View this message in context: http://old.nabble.com/restrict-jmeter-to-one-domain-tp26631016p26635929.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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