You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by SanderW <sa...@performancearchitecten.nl> on 2016/09/08 09:22:05 UTC
How does CSS parser in JMeter 3.0 work?
Hi,
From the documentation I understand that in JMeter 3.0 it is possible to
have embedded resources being extracted and downloaded from a CSS file (Bug
59140). Is this correct?
I have a homepage which has a resources getting retrieved from the server.
One of them is "https://***/includes/css/styles.legacy.min.css?10609224020"
In the recording I can see that a lot of files (woff2, ttf, png) are
retrieved with referer
https://***/includes/css/styles.legacy.min.css?10609224020
Is it possible in JMeter 3.0 to have these files (woff2, ttf, png) being
retrieved automatically also?
And if so, what do I have to do to get this?
Kind Regards,
Sander
--
View this message in context: http://jmeter.512774.n5.nabble.com/How-does-CSS-parser-in-JMeter-3-0-work-tp5724734.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: How does CSS parser in JMeter 3.0 work?
Posted by Philippe Mouawad <ph...@gmail.com>.
Hello,
Could you provide the html page + the CSS and your test plan ?
What regex did you put in the HTTP Request ?
Thank you
On Thu, Sep 8, 2016 at 11:58 AM, SanderW <sa...@performancearchitecten.nl>
wrote:
> Hi Antonio,
>
> Please read the problem I described before you place a reaction.
>
> I have that option selected and it gets me the resources (like css, png,
> jpg) from the homepage, but NOT the resources that are coming from one of
> the css-files.
>
> I just counted the number of resources:
> In the View Results Tree for the recording I count 49 items:
> 15 with referer https://***/
> 24 with referer https://***/includes/css/styles.legacy.min.css?10609224020
> 9 cdn.optimizely.com, www.googletagmanager.com, stats.g.doubleclick.net
> 1 favicon.ico
>
> When replaying my homepage I only get the 15 resources, while I expect the
> same 49 items as in my recording
>
>
>
> --
> View this message in context: http://jmeter.512774.n5.
> nabble.com/How-does-CSS-parser-in-JMeter-3-0-work-tp5724734p5724736.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>
--
Cordialement.
Philippe Mouawad.
Re: How does CSS parser in JMeter 3.0 work?
Posted by SanderW <sa...@performancearchitecten.nl>.
Hi Antonio,
Please read the problem I described before you place a reaction.
I have that option selected and it gets me the resources (like css, png,
jpg) from the homepage, but NOT the resources that are coming from one of
the css-files.
I just counted the number of resources:
In the View Results Tree for the recording I count 49 items:
15 with referer https://***/
24 with referer https://***/includes/css/styles.legacy.min.css?10609224020
9 cdn.optimizely.com, www.googletagmanager.com, stats.g.doubleclick.net
1 favicon.ico
When replaying my homepage I only get the 15 resources, while I expect the
same 49 items as in my recording
--
View this message in context: http://jmeter.512774.n5.nabble.com/How-does-CSS-parser-in-JMeter-3-0-work-tp5724734p5724736.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org
Re: How does CSS parser in JMeter 3.0 work?
Posted by Antonio Gomes Rodrigues <ra...@gmail.com>.
Hi,
You can use "Retrieve All Embedded Resources from HTML Files" option of
HTTP sampler
More information at
http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request
Antonio
2016-09-08 11:22 GMT+02:00 SanderW <sa...@performancearchitecten.nl>:
> Hi,
>
> From the documentation I understand that in JMeter 3.0 it is possible to
> have embedded resources being extracted and downloaded from a CSS file (Bug
> 59140). Is this correct?
>
> I have a homepage which has a resources getting retrieved from the server.
> One of them is "https://***/includes/css/styles.legacy.min.css?
> 10609224020"
>
> In the recording I can see that a lot of files (woff2, ttf, png) are
> retrieved with referer
> https://***/includes/css/styles.legacy.min.css?10609224020
>
> Is it possible in JMeter 3.0 to have these files (woff2, ttf, png) being
> retrieved automatically also?
> And if so, what do I have to do to get this?
>
> Kind Regards,
>
> Sander
>
>
>
>
>
> --
> View this message in context: http://jmeter.512774.n5.
> nabble.com/How-does-CSS-parser-in-JMeter-3-0-work-tp5724734.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>