Reputation: 443
In Our application there are images which are getting downloaded from different site.Our requirement is to capture the response time by ignroing the time taken for downloading the images.
Please suggest me how to achieve this using Loadrunner as well as JMeter.
Regards.
Upvotes: 0
Views: 549
Reputation: 1202
You can comment out the requests which has images, css, js, png, and other resources. LoadRunner will not sent/measure those requests.
Upvotes: 0
Reputation: 371
Try SmartMeter Recorder - you can easily limit recorded domains or exclude any requests using regular expressions.
Upvotes: 0
Reputation: 5682
In LoadRunner, in your run time settings set a replay filter to not download from the third party domain/host/etc...
Upvotes: 1
Reputation: 167992
Filter out external domains via "URLs must match" input field (it accepts Perl5-style regular expressions), something like:
^((?!<domain #1>|<domain #2>|<domain #3>).)*$
See Excluding Domains from the Load Test guide for more detailed explanation, use cases and real-life regular expression example.
Upvotes: 0
Reputation: 34516
Just uncheck :
Tell JMeter to parse the HTML file and send HTTP/HTTPS requests for all images, Java applets, JavaScript files, CSSs, etc. referenced in the file. See below for more details.
Also during recording, ensure you exclude embedded resources by using the "Recording" template.
Upvotes: 0