GitHub - etsy/wpt-script: Scripts to generate WebPagetest tests and download results
Scripts to generate WebPagetest tests and download results - etsy/wpt-script Toggle navigation Sign in Search or jump to…
Search code, repositories, users, issues, pull requests…
Search syntax tips # Provide feedback
Cancel Submit feedback # Saved searches
Use saved searches to filter your results more quickly
Cancel Create saved search Sign in Sign up Reseting focus Search syntax tips
Use saved searches to filter your results more quickly
MIT license 121 stars 22 forks BranchesTagsActivity Star Notifications You must be signed in to change notification settings masterBranchesTagsGo to fileCode
Folders and files
Name | Name | Last commit message | Last commit date |
---|---|---|---|
Latest commit
History 4 Commits |
| bin | bin | | | | conf | conf | | | | scripts | scripts | | | | test | test | | | | Grapher.php | Grapher.php | | | | LICENSE | LICENSE | | | | README.md | README.md | | | | ResultsHelper.php | ResultsHelper.php | | | | SplunkLogger.php | SplunkLogger.php | | | | WebpagetestClient.php | WebpagetestClient.php | | | | install-server.sh | install-server.sh | | | | locations.ini | locations.ini | | | | View all files |
Repository files navigation
WebPagetest Script
This tool is a simple wrapper for the WebPagetest API that allows you to easily generate tests and graph results
example cron entry:
0 */6 *** php /path/to/webpagetest-public/bin/run.php */5 **** php /path/to/webpagetest-public/bin/get_results.php# Configuration
Specify a conf file by passing -c:
php run.php -c /path/to/my.confBy default, looks for a default.conf in the root folder.
Configs are JSON. Available Config Keys:
- server: (String) the webpage test server to run against.
- urls: (Object) where keys are the name of the page (e.g. ‘search’) and the values are the urls to test. Used only by run.php OR
- script: (String) a WPT script
- prepend: (String|Array) WPT scripts to prepend to url or script
- graphite: (String) the graphite server to graph to. Used only by get_results.php
- logging_js: (String) ‘webpagetest.public’ or ‘webpagetest.private’. Used as the graphite namespace and added to splunk logs so we can easily tell which are public, which are private
- locations: (Array) List of browser locations. Use this to limit to only certain locations/browsers To see a list of available locations, run run.php with the flag -l. It will output locations and exit.
- run_options: (Object) The options to pass to WebPagetest, which follow the RESTful APIs documentation.
WebPagetest Server
The test server, where you view results and set configuration for the agents, is an Ubuntu EC2 instance. You can SSH to it with the following command:
ssh -i ~/.ssh/webpagetest.pem [email protected] is installed on /var/www/. The directories you will likely care about are results/ and settings/, although if you want to clear out existing tests you can delete the files in /var/www/work/jobs/US_East_Foo/*.
The documentation for private WPT instances is here. Some other useful links are:
- See pending work - /getLocations.php
- See the status of the test agents - /getTesters.php
Test Agents
The test agents are built from EC2 AMIs that Patrick and the WPT team provide. You can login to your EC2 account to manage them, and you can remote desktop to the windows machines to watch the browsers execute the tests or debug issues.
Debugging Issues
Once in a while things will break with the private WPT instance - either test results will stop showing up, individual metrics will be lost, or other oddities may occur. Before doing anything else, the steps to take are:
- Upgrade WPT to the latest version
- Upgrade the test agents
- Remote desktop to the test agents that are having trouble and reboot them
- Check to see if the disk is full on the private WPT instance - once it hits 70% or so we start to see issues
- Check the XML results to make sure they are valid (e.g. http://www.yourwptinstall.com/xmlResult.php?test=*test_id*)
- Look at the run log for wpt-script (typically at /var/log/webpagetest/run.log or similar on the server where wpt-script is running). If you are still having issues, try posting in the WebPagetest forums - Pat is extremely responsive.
Etsy Specific Information
For more Etsy specific setup details, check out the “Monitoring Frontend Performance with WebPagetest” article on our internal wiki.
About
Scripts to generate WebPagetest tests and download results
Topics
non-sox
Resources
Readme
License
MIT license
Code of conduct
Code of conduct ActivityCustom properties
Stars
121 stars
Watchers
51 watching
Forks
22 forks Report repository
Releases
No releases published
Packages 0
No packages published
Languages
- PHP90.8%
- Shell9.2%
Name | Name | Last commit message | Last commit date |
---|---|---|---|
Latest commit
History 4 Commits |
| bin | bin | | | | conf | conf | | | | scripts | scripts | | | | test | test | | | | Grapher.php | Grapher.php | | | | LICENSE | LICENSE | | | | README.md | README.md | | | | ResultsHelper.php | ResultsHelper.php | | | | SplunkLogger.php | SplunkLogger.php | | | | WebpagetestClient.php | WebpagetestClient.php | | | | install-server.sh | install-server.sh | | | | locations.ini | locations.ini | | | | View all files |
History
4 Commits4 Commits Scripts to generate WebPagetest tests and download results
Topics
non-sox
Resources
Readme
License
MIT license
Code of conduct
Code of conduct ActivityCustom properties
Stars
121 stars
Watchers
51 watching
Forks
22 forks Report repository No releases published No packages published - PHP90.8%
- Shell9.2%
FAQ
How to Play WPT Global on Your Computer 2024
How to Play WPT Global on Your Computer Downloading the Software 1. Visit the Official Site: Go to the WPT Global website or use affiliate links provided by poker news sites. 2. Start the Download: Click on the “Download” button specific to your operating system (Windows or Mac). 3. Install the Application: 3.1 For Windows: Open the downloaded file from your “Downloads” folder. Follow the installation instructions. 3.2 For Mac:
Who invented the game of roulette?
Who invented the game of roulette? The exact origins of roulette are a subject of much debate and speculation among historians and gambling enthusiasts. While there is no clear consensus on the game’s inventor, several theories exist regarding its creation. One of the most popular theories is that the game was invented by a French mathematician named Blaise Pascal in the 17th century. According to this theory, Pascal was attempting to develop a perpetual motion machine when he inadvertently created the roulette wheel.
What role did roulette play in popular culture such as movies and literature?
What role did roulette play in popular culture, such as movies and literature? Roulette has played a significant role in popular culture, appearing in numerous movies, books, and other forms of media. In movies, roulette often appears as a symbol of glamour, luxury, and risk-taking. One of the most famous examples is the classic film “Casablanca,” where the game is prominently featured in several scenes. In the movie, the character Rick (played by Humphrey Bogart) runs a popular nightclub and casino in Casablanca, Morocco, where roulette is one of the main attractions.
How did the introduction of online casinos impact the game of roulette?
How did the introduction of online casinos impact the game of roulette? The introduction of online casinos has had a significant impact on the game of roulette. Online casinos made roulette and other casino games easily accessible to anyone with an internet connection. Players can now enjoy their favorite casino games from the comfort of their own homes, without having to travel to a land-based casino. Online casinos also introduced new variations of roulette, such as multi-wheel roulette and mini-roulette, which are not typically found in traditional casinos.
What deposit methods are currently available in WPT Global?
What deposit methods are currently available in WPT Global? Players can deposit to their WPT Global account using a variety of payment methods (depending on region) including Visa, Mastercard, JCB, instant bank transfer, prepaid vouchers and a wide range of cryptocurrencies such as Bitcoin, Ethereum, Litecoin and many more. Major E-wallets like Neteller, Skrill, Muchbetter and Luxonpay are also available (excluding Ontario).
WPT Global - The world’s most famous online poker platform! This is a paradise for poker enthusiasts. Click here to learn how to download WPT Global.
This site only collects related articles. Viewing the original, please copy and open the following link:GitHub - etsy/wpt-script: Scripts to generate WebPagetest tests and download results