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 2018/12/31 12:48:19 UTC

[Bug 63048] New: Jmeter is not retrieving all embedded resources

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

            Bug ID: 63048
           Summary: Jmeter is not retrieving all embedded resources
           Product: JMeter
           Version: 5.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: flavio6311@gmail.com
  Target Milestone: JMETER_5.1

I've realized the number of requests made in Jmeter were not equal to Firefox.
I don't do requests filtering. The CSS files are retrieved normally. However,
I've found the requests to files  referred  in CSS using background-image are
not made during the replay in JMeter.

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|5.0                         |3.3
            Summary|Jmeter is not retrieving    |JMeter does not retrieve
                   |all embedded resources      |link resources of type
                   |                            |"shortcut icon" or "icon"

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

--- Comment #13 from Flavio Pepino <fl...@gmail.com> ---
Sorry for my ignorance about your work. Will we see the correction in Jmeter
5.1?

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #9 from Flavio Pepino <fl...@gmail.com> ---
Created attachment 36366
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36366&action=edit
har file

Home navegation

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

--- Comment #18 from Flavio Pepino <fl...@gmail.com> ---
While trying the nightly build I saw the icon's problem is solved.

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

--- Comment #15 from Flavio Pepino <fl...@gmail.com> ---
Philippe
Thanks for you attention.
I will wait the official release.

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

--- Comment #12 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello Flavio,
favicon.ico is now downloaded.

For the other resources, for now we won't be able to improve much.

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #3 from Flavio Pepino <fl...@gmail.com> ---
Created attachment 36353
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36353&action=edit
home page image

shows the requests to home page.

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #5 from Flavio Pepino <fl...@gmail.com> ---
Sorry, I DO requests filtering.
So, I trust the request will retrieve all embedded resources if the option in
the sampler is marked.
However, the files that referred in css are not requested.
When I visit the home page of Drupal sandbox, https://dm9l7.ply.st, I see 7
requests. THe sandboxes last 24 hours, If it has expired, you have to create
another one, CHoose Drupal Core and 8.6.2.
The jmeter jmx is attached in order to replay this isssue and you can see the
images too. 
For example, enable developer tools and visit the home page and you will see 7
requests. Replay the same request to / in Jmeter and you will see just 5
requests.

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #4 from Flavio Pepino <fl...@gmail.com> ---
Created attachment 36354
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36354&action=edit
Replay in jmeter

shows the replay to request to /

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

--- Comment #16 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Flavio Pepino from comment #15)
> Philippe
> Thanks for you attention.
> I will wait the official release.

It would be nice if you could at least make a test with nightly build.

It would be annoying to discover an issue after release.
Thanks

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

--- Comment #17 from Flavio Pepino <fl...@gmail.com> ---
I will check out the nightly build.

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #2 from Flavio Pepino <fl...@gmail.com> ---
Created attachment 36352
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36352&action=edit
Jmeter file

jmx file to replay the issue.

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|Linux                       |All
   Target Milestone|JMETER_5.1                  |---
           Hardware|PC                          |All

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

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

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

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello,
Please provide a simple html page that embeds a css and the corresponding css
fole where images are not extracted.

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #7 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Hello Flavio,

Creating a sandbox is not easy for me.

Could you please:

- Do it again
- Using a fresh / clear cache browser instance, call the page and save as HAR
or save HTML + resources as a zip
- Show which requests are not being saved

Are you sure missing requests are triggered by CSS and not javascript executed
code ?

Thank you

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #8 from Flavio Pepino <fl...@gmail.com> ---
The missing images are referred in css files using background-image .
The missing images are loupe.svg and feed.svg

The procedure to create the sandbox is extremely simple.

Just go to simplytest.me and choose Drupal Core and version 8.6.2 and click
launch sandbox button.

I've saved the har file.

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |JMETER_5.1
           Keywords|                            |FixedInTrunk
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #11 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Author: pmouawad
Date: Mon Jan 14 22:30:00 2019
New Revision: 1851300

URL: http://svn.apache.org/viewvc?rev=1851300&view=rev
Log:
Bug 63048 - JMeter does not retrieve link resources of type "shortcut icon" or
"icon"

Contributed by UbikLoadPack (https://ubikloadpack.com)
Bugzilla Id: 63048

Modified:
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/HTMLParser.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/JsoupBasedHtmlParser.java
   
jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/parser/LagartoBasedHtmlParser.java
   
jmeter/trunk/test/src/org/apache/jmeter/protocol/http/parser/TestBug60842HtmlParser.java
    jmeter/trunk/xdocs/changes.xml

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

[Bug 63048] JMeter does not retrieve link resources of type "shortcut icon" or "icon"

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

--- Comment #14 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
You can already try nightly build:

- https://ci.apache.org/projects/jmeter/nightlies/

And yes it will be in 5.1

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #10 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
(In reply to Flavio Pepino from comment #9)
> Created attachment 36366 [details]
> har file
> 
> Home navegation

Thank you Flavio.

So I analyzed , there are 2 additional URLs:

- https://dmdv0.ply.st/core/misc/favicon.ico 
- https://dmdv0.ply.st/core/misc/icons/505050/loupe.svg


The first one is favicon.ico, we could probably add this one
The second one is because by default we don't download url() in CSS file as
their potential downloading depends on display parameters in browser,
information that we don't have.

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

--- Comment #6 from Flavio Pepino <fl...@gmail.com> ---
"CHoose Drupal Core and 8.6.2."
The site that I referred in previous comments is simplytest.me

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

[Bug 63048] Jmeter is not retrieving all embedded resources

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

Flavio Pepino <fl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

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