jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Mouawad <philippe.moua...@gmail.com>
Subject Parallel download : Make it more realistic
Date Sun, 21 Feb 2016 21:05:54 GMT
Hello,
Today Embedded resources parsing only downloads resources mentioned in
HTML not the ones referenced from included CSS.
Handling the ones included dynamically through Javascript is out of scope.


In order to make parallel download more realistic we should add
parsing of CSS files.

For example, if you try parallel download with Tomcat 8 Homepage:
- JMeter will download:
*http://localhost:8080/tomcat.png
*http://localhost:8080/tomcat.css

- Browser will add to those 5 coming from parsing of tomcat.css:
*http://localhost:8080/bg-nav.png
*http://localhost:8080/asf-logo.png
*http://localhost:8080/bg-upper.png
*http://localhost:8080/bg-button.png
*http://localhost:8080/bg-middle.png


This should not be very complex, AFAICT we need to handle:

   - background(-image) url
   - @import url


I have created:
https://bz.apache.org/bugzilla/show_bug.cgi?id=59033

And uploaded a first patch to rearchitecture a bit current HTMLParser
related classes and allow plugin of a CSS Parser.


If you're ok with it I will commit it to trunk.
Regards
Philippe M.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message