You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/03/07 22:25:59 UTC

[Bug 59140] New: Parallel Download : Add CSS Parsing to extract links from CSS files

https://bz.apache.org/bugzilla/show_bug.cgi?id=59140

            Bug ID: 59140
           Summary: Parallel Download : Add CSS Parsing to extract links
                    from CSS files
           Product: JMeter
           Version: 2.13
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: p.mouawad@ubik-ingenierie.com

As part 2 following Bug 59033

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59140] Parallel Download : Add CSS Parsing to extract links from CSS files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59140

--- Comment #3 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sun Mar 27 18:55:03 2016
New Revision: 1736807

URL: http://svn.apache.org/viewvc?rev=1736807&view=rev
Log:
Bug 59140 - Parallel Download : Add CSS Parsing to extract links from CSS files
Use Browser Compliant mode
Create internal class instead of inlined one
Bugzilla Id: 59140

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59140] Parallel Download : Add CSS Parsing to extract links from CSS files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59140

--- Comment #5 from UbikLoadPack support <su...@ubikloadpack.com> ---
Author: pmouawad
Date: Thu Apr 21 10:17:23 2016
New Revision: 1740274

URL: http://svn.apache.org/viewvc?rev=1740274&view=rev
Log:
Bug 59140 - Parallel Download : Add CSS Parsing to extract links from CSS files
Ignore empty @import
Bugzilla Id: 59140

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59140] Parallel Download : Add CSS Parsing to extract links from CSS files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59140

--- Comment #4 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Wed Apr 20 20:01:41 2016
New Revision: 1740187

URL: http://svn.apache.org/viewvc?rev=1740187&view=rev
Log:
Upgrade ph-css to 4.1.1 as it contains fixes we reported:
https://github.com/phax/ph-css/issues/17
https://github.com/phax/ph-css/issues/18
https://github.com/phax/ph-css/issues/19

Modified:
    jmeter/trunk/LICENSE
    jmeter/trunk/build.properties
    jmeter/trunk/eclipse.classpath
    jmeter/trunk/lib/   (props changed)
    jmeter/trunk/lib/aareadme.txt
    jmeter/trunk/res/maven/ApacheJMeter_parent.pom


Author: pmouawad
Date: Wed Apr 20 20:10:26 2016
New Revision: 1740188

URL: http://svn.apache.org/viewvc?rev=1740188&view=rev
Log:
Bug 59140 - Parallel Download : Add CSS Parsing to extract links from CSS files
Stop extracting url, only fetch @import
Bugzilla Id: 59140

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59140] Parallel Download : Add CSS Parsing to extract links from CSS files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59140

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Sun Mar 27 17:01:00 2016
New Revision: 1736773

URL: http://svn.apache.org/viewvc?rev=1736773&view=rev
Log:
Bug 59140 - Parallel Download : Add CSS Parsing to extract links from CSS files
Bugzilla Id: 59140

Added:
    jmeter/trunk/licenses/bin/ph-commons-6.2.4.txt   (with props)
    jmeter/trunk/licenses/bin/ph-css-4.1.0.txt   (with props)
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java
  (with props)
Modified:
    jmeter/trunk/bin/jmeter.properties
    jmeter/trunk/build.properties
    jmeter/trunk/build.xml
    jmeter/trunk/eclipse.classpath
    jmeter/trunk/lib/   (props changed)
    jmeter/trunk/lib/aareadme.txt
    jmeter/trunk/res/maven/ApacheJMeter_parent.pom
    jmeter/trunk/xdocs/changes.xml


Author: pmouawad
Date: Sun Mar 27 17:02:03 2016
New Revision: 1736774

URL: http://svn.apache.org/viewvc?rev=1736774&view=rev
Log:
Bug 59140 - Parallel Download : Add CSS Parsing to extract links from CSS files
svn:eol
Bugzilla Id: 59140

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/CssParser.java
  (props changed)


Author: pmouawad
Date: Sun Mar 27 17:03:23 2016
New Revision: 1736777

URL: http://svn.apache.org/viewvc?rev=1736777&view=rev
Log:
Bug 59140 - Parallel Download : Add CSS Parsing to extract links from CSS files
svn:eol
Bugzilla Id: 59140

Modified:
    jmeter/trunk/licenses/bin/ph-commons-6.2.4.txt   (props changed)
    jmeter/trunk/licenses/bin/ph-css-4.1.0.txt   (props changed)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59140] Parallel Download : Add CSS Parsing to extract links from CSS files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59140

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |59033

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 59140] Parallel Download : Add CSS Parsing to extract links from CSS files

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=59140

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 33705
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33705&action=edit
Patch using ph-css CSS parser

Hello,
Find attached a patch implementing feature using ph-css under Apache 2.0
license.

My testing shows that for some CSS, parsing fails , I opened bug:
- https://github.com/phax/ph-css/issues/17

Although issue might be in CSS.

Some notes on Parser:
- For now it appears you have to fix a CSS version, which is a problem in our
case

-- 
You are receiving this mail because:
You are the assignee for the bug.