Quantcast
Channel: WebPagetest Forums - All Forums
Viewing all 3879 articles
Browse latest View live

Speed Test

$
0
0
How Can I Decrease The Loading Speed For my Website www.sharemarketdo.com. I'm very much disappointed should I change my hosting ???. Your Test Scores Are : 34s 35s . Any help will be appreciated. Thanks

Running tests through API is not load-balancing in the location

$
0
0
Hello fellow WPTeers,

We have an internal instance running v17.12.0.402 on the WPT server and just upgraded our agents from v17.12.0.402 to v18.10.

We have 4 agents under a location called 'us-west-prod'. They are all Windows 10 VMs hosted in AWS. Our WPT server is also hosted in AWS. Before upgrading the agents to 18.10, when I sent 4 requests to 'runTest.php', I would see all 4 agents get "busy". However, now when I send the same 4 requests to 'runTest.php', only 1 agent gets work and the other 3 remain idle. It seems that my tests are getting queued on that ONE agent. I can see all agents up and available in 'getTesters.php' and I can see a successful 200 response code in the terminal for the agents requesting work from the WPT server.

Craziest part is, that if I go to the WPT homepage and I execute tests from there (rather than from my integration), I DO in fact see the tests get load-balanced in the location and I see all 4 agents get busy.

Any help or ideas would be appreciated.
Thanks,
-Edwin

Displaying Mobile Vs Desktop in Grafana

$
0
0
I have a private WPT agent set up on AWS and are running tests of the same pages for mobile and desktop but with the relevant configs. running through to Graphite and then Grafana for the display.

I added a query at the end of the URLs to distinguish between mobile and desktop so for example http://www.infiniti.com.cn/?npip-screen=mobile w

However within Grafana this query is snipped back to just the domain and extension and the query is not displayed, there doesnt seem to be a way to show just mobile data or just desktop and the data appears to be getting aggregated making the results inconclusive.

I wondered if anyone had any ideas on how to differentiate the data based on mobile or desktop in Grafana? Labels or aliases defined in the URL file don't seem to appear in Grafana?

"Too many files open"

$
0
0
I have a private WPT instance in AWS (m4.large) on which I enqueue ~800 tests, twice a day.

Over the past two days (from ~26 Feb) it has started failing after the first 300 enqueued with an error in nginx saying "Too many files open"; this also means the test results for those 300 cannot be submitted by the agents to the server.

I'm investigating nginx config changes, but knowing that the server hasn't been touched (other than restarted once this morning to see if that would help) means this is confusing.

The limits for all ngnix processes are:
Max open files
Soft: 1024
Hard: 4096

I went through this process to whack the limits up to something ridiculous (soft 250000, hard 300000), and the nginx error changed to "upstream prematurely closed connection while reading response header from upstream", however I'm now able to enqueue over 1000 tests it seems.

Has anyone else had this issue and has a better fix than my hack?..

W3C User Timing in Angular

$
0
0
I am attempting to insert User Timing Marks into an Angular App. I want to measure when a content element on the page is displayed. For example, I'd like to find out when content ATF has rendered.

The content is within the app.component.html file so I thought that it made sense to place there. But it appears that when the page renders, the timing marks do not display when I look at the Chrome Dev tools timing area.

I am using the sample Angular setup page:

<!--The content below is only a placeholder and can be replaced.-->
<script>window.performance && performance.mark && performance.mark("ATFAreaBegin")</script>


<div style="text-align:center">
<h1>
Test Page {{ title }}!
</h1>


</div>
<h2>Here are some links to help you start: </h2>
<ul>
<li>
<h2><a target="_blank" rel="noopener" href="https://angular.io/tutorial">Tour of Heroes</a></h2>
</li>
<li>
<h2><a target="_blank" rel="noopener" href="https://angular.io/cli">CLI Documentation</a></h2>
</li>
<li>
<h2><a target="_blank" rel="noopener" href="https://blog.angular.io/">Angular blog</a></h2>
</li>
</ul>
<script>window.performance && performance.mark && performance.mark("ATFAreaEnd")</script>
<script>window.performance && performance.measure && performance.measure("ATFDuration", "ATFAreaBegin", "ATFAreEnd");</script>

At a basic level, does anyone have any example of how to accomplish this in Angular? I haven't been able to find any documentation with a specific example. Any marks within the index.html page are output.

Any information would really be helpful.

Requesting support to speed up HubSpot CMS websites

$
0
0
Hi Forum,

I am new to this.

We are looking for teams that have proven capabilities to speed up websites built on the HubSpot CMS.

The website that we have in mind is https://www.hippocmms.com/

IF you can help in this matter, I will be grateful.

~ Raj

WPTAgent not getting initiated

$
0
0
I was using private instance and recently started migration to wptagent. Hosted in server perfectly with location configured as expected.

Installed all the requirements in WPT client as mentioned in 'https://github.com/WPO-Foundation/wptagent/blob/master/docs/install.md'

Using batch file to start WPTAgent but getting error, details below . Please help.

Batch File content:
cd C:\wpt_agent_sep2018\wptagent
call npm i -g lighthouse
FOR /L %%x IN (1, 1, 24) DO (
python.exe C:\wpt_agent_sep2018\wptagent\wptagent.py -vvvv --server "http://<<ipaddress>>:8081/work/" --location PT_Team_WPTDriver
)

Error Details :
Traceback (most recent call last):
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 705, in <module>
main()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 692, in main
browsers = find_browsers()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 465, in find_browsers
build = get_windows_build()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 395, in get_windows_build
return int(output.strip().split(' ')[-1])
ValueError: invalid literal for int() with base 10: ''

WPTAgent not getting initiated

$
0
0
I was using private instance and recently started migration to wptagent. Hosted in server perfectly with location configured as expected.

Installed all the requirements in WPT client as mentioned in 'https://github.com/WPO-Foundation/wptagent/blob/master/docs/install.md'

Using batch file to start WPTAgent but getting error, details below . Please help.

Batch File content:
cd C:\wpt_agent_sep2018\wptagent
call npm i -g lighthouse
FOR /L %%x IN (1, 1, 24) DO (
python.exe C:\wpt_agent_sep2018\wptagent\wptagent.py -vvvv --server "http://<<ipaddress>>:8081/work/" --location PT_Team_WPTDriver
)

Error Details :
Traceback (most recent call last):
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 705, in <module>
main()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 692, in main
browsers = find_browsers()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 465, in find_browsers
build = get_windows_build()
File "C:\wpt_agent_sep2018\wptagent\wptagent.py", line 395, in get_windows_build
return int(output.strip().split(' ')[-1])
ValueError: invalid literal for int() with base 10: ''

Unable to capture data for URL which contain port number & require certifcate

$
0
0
Hello Folks,

I am unable to capture data for "http://10.47.12.215:8443/home/" URL in wpt private instance. Getting "navigation error" in the test. However, manually I am able to access this url in the browser after importing the certificate. Importing certificate is mandatory to this URL.

I am unable to get the solution. Is it port issue or certificate import issue?

Tried a below code in script tab in wpt and try to execute the certificate run time. But it doesn't work.

log Data 0
sleep 100
log Data 1
navigate http://10.47.12.215:8443/home/

Could you please let me know the solution if you know. Thanks in advance!

Help Needed regarding Hybrid app performance testing

$
0
0
Hi Team,

Could some one help me how to do end to end testing for mobile hybrid app using this site(wepagetest). i.e.

1)Device performance testing
2)Server/API performance testing and
3)Network Performance testing


Thanks in Advance

Thanks & Regards,
Rajesh T

Landscape mode not working for iPhone 6s, 7+, and 8

Moto G device not capturing correct screenshot

$
0
0
Hi Pat,

For certain sites, the Moto G device is not able to capture proper screen shot for a website. Whereas the Iphone 8 IOS 12 device is able to capture it correctly. This also affects the mobile based Visual Comparison feature, as it uses the Moto G devices.

Please suggest a solution / fix for the problem. Few examples on Moto G are shared below, where the screenshot is identical.
1. http://www.shoppersstop.com - https://www.webpagetest.org/result/19030...b99cdce06/
2. http://www.therealreal.com - https://www.webpagetest.org/result/19030...bff0796d3/
3. http://www.reeboz.com/in - https://www.webpagetest.org/result/19030...b083f3058/

Same sites on Iphone 8 devices where the screenshots are correct.
1. http://www.shoppersstop.com - https://www.webpagetest.org/result/19030...2777e9af6/
2. http://www.therealreal.com - https://www.webpagetest.org/result/19030...0585fe3bc/
3. http://www.reebonz.com/in - https://www.webpagetest.org/result/19030...9ba99349a/

Regards,
Swapnil

Scripting result "no successful results"|

$
0
0
I am trying to run a scripting script but seems to be working not right, or I did it wrong?

when I try a log in script or just navigating to url script it always gives me a result "The test completed but there were no successful results."

I even try this just to confirm if the site I am testing has issue, but same to my other tests still no success.

logData 0
navigate http://www.webpagetest.org

can you let me know what happen?
sending the test link and test log
https://www.webpagetest.org/result/19030...12f087442/
https://www.webpagetest.org/viewlog.php?...212f087442

Thanks everyone.

woff font file request returned 404 before refetched properly

$
0
0
As you may see in the following test: https://www.webpagetest.org/result/19022...iew_step1, the request for .woff2 font files failed with 404 in the first try. Whereas, the later retry succeeded.

However, the waterfall for the same page when browsing in browser (like Chrome) showed no 404 errors for the .woff2 font files.

Can anyone shed some light on this behavior? Is it particular to WPT?

(Our page and resources are behind Akamai. Not sure if that could be an impact?)

Website Testing?

$
0
0
How do you do website testing?

I know there are testing tools built into stacks. With ASP.NET MVC one can create unit tests that test controllers.

But what about testing an actual web page? Let's say you have a complicated Sign Up form that may change based on javascript and/or different data in the query string.

Is there a decent tool to automate testing? Perhaps it uses headless chrome? Some kind of webbrowser or something that can be scripted to pull up a URL, enter data into form fields, click a button, and then check results?

Or is this just too complicated?

The platform/stack of the tool doesn't matter so long as it just works.

Pass throttling to lighthouse

$
0
0
We continuously run lighthouse and monitor many web pages on our site via a Private Instance.

I see that the Performance scores through our private instance have recently improved dramatically to 91, however if I run the test through webpagetest.org I see a performance score of 55.

When I run the lighthouse test through the node CLI on my development machine with no throttling I also see scores of 91.
I am able to add throttling to my development machine via --throttling-method=devtools and I see the score lower to 44.
How can I add throttling to my Private instance? I see no way to pass throttling to WPT for lighthouse.

Runtime settings on development CLI with throttling:
Device: Emulated Nexus 5X
Network throttling: 562.5 ms HTTP RTT, 1,474.6 Kbps down, 675 Kbps up (DevTools)
CPU throttling: 4x slowdown (DevTools)
User agent (host): Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
User agent (network): Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3559.0 Mobile Safari/537.36
CPU/Memory Power: 1116

Runtime settings on webpagetest.org
Device: No emulation
Network throttling: Provided by environment
CPU throttling: Provided by environment
User agent (host): Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Mobile Safari/537.36
User agent (network): Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Mobile Safari/537.36
CPU/Memory Power: 123

Runtime settings on private instance
Device: Emulated Nexus 5X
Network throttling: Provided by environment
CPU throttling: Provided by environment
User agent (host): Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36
User agent (network): Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3694.0 Mobile Safari/537.36 Chrome-Lighthouse
CPU/Memory Power: 1341

thanks!

Image in front page and single page

$
0
0
My website https://ecoholidaysnepal.com has huge image size.The reason is that the single page has featured image of 1200*800 and same image size is displayed by compression using css on frame of 291*185 on front page.How can I upload one two image and display front page image a small one and single page image a big one.Is there any solution?

Tests are not getting distributed to agents in a location

$
0
0
Hello fellow WPTeers,

We have an internal instance running v17.12.0.402 on the WPT server and just upgraded our agents from v17.12.0.402 to v18.10.

We have 4 agents under a location called 'us-west-prod'. They are all Windows 10 VMs hosted in AWS. Our WPT server is also hosted in AWS. Before upgrading the agents to 18.10, when I sent 4 requests to 'runTest.php', I would see all 4 agents get "busy". However, now when I send the same 4 requests to 'runTest.php', only 1 agent gets work and the other 3 remain idle. It seems that my tests are all getting queued on that ONE agent. I can see all agents up and available in 'getTesters.php' and I can see a successful 200 response code in the terminal for the agents requesting work from the WPT server.

Craziest part is, that if I go to the WPT homepage and I execute tests from there (rather than from my integration), I DO in fact see the tests get load-balanced in the location and I see all 4 agents get busy.

Any help or ideas would be appreciated.
Thanks,
-Edwin

What does the meaning of "Performance Results (Median Run)" exactly?

$
0
0
Hi mates, I have been using webpagetest long time but I have a doubt regarding the summary Performance Results (Median Run).

I am talking about this test:

https://www.webpagetest.org/result/19031...47691646b/

In the summary inside the table we see the first view and the repeat view but the data i see is not the best of both results, so what is the meaning of median run?

The median run is just the median statistics metric?

-------------
Copy from Google:
The median is a simple measure of central tendency. To find the median, we arrange the observations in order from smallest to largest value. If there is an odd number of observations, the median is the middle value. If there is an even number of observations, the median is the average of the two middle values.
-------------

Thanks.

Current list of locations and browsers - where?

$
0
0
Could somebody please point me to a current list with the active locations+browsers+connection speeds for API-settings?

Especially important: the mobile locations and mobile browsers.
I have found: value": "Dulles_iPhone5c:iPhone 5c iOS 9.LTE
But I could not find Android browser specs...

Before you say "awww... why don´t you search already?"---- I did search on wpt.org and the forum for 30min now, but I cannot find the list with those combinations...
Sorry, if I overlooked something totally obvious Cool
Viewing all 3879 articles
Browse latest View live