Buildbot/Talos/Misc: Difference between revisions

Jump to navigation Jump to search
Line 25: Line 25:


Please document the answers to these questions on '''[[Buildbot/Talos/Tests]]'''.
Please document the answers to these questions on '''[[Buildbot/Talos/Tests]]'''.
== Making a Pageloader test work ==
A pageloader test is the most common.  Using the pageloader extension allows for most of the reporting and talos integration to be done for you.  Here is what you need to do:
* Create a new directory in the [https://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/page_load_test/ page_load_test] subdirectory of talos
* Create a manifest
** add a <testname>.manifest file in your directory ([https://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/page_load_test/svgx/svgx.manifest svg example]
*** raw page load will just be a single url line ([https://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/page_load_test/svgx/svgx.manifest#l8 svg example])
*** internal measurements will have a % prior to the url ([https://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/page_load_test/svgx/svgx.manifest#l11 svg example])
* Add your tests
** for self reporting tests, use [[http://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/pageloader/chrome/pageloader.js#l423 tpRecordTime]]
*** [http://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/page_load_test/svgx/hixie-001.xml#l286 tsvgx example] - single page/value
*** [https://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/page_load_test/tart/addon/content/tart.js#l285 tart example] multiple pages/values


== Steps to add a test to production ==
== Steps to add a test to production ==
Confirmed users
3,376

edits

Navigation menu