| Index: client/site_tests/power_LoadTest/extension/urls.js
|
| diff --git a/client/site_tests/power_LoadTest/extension/urls.js b/client/site_tests/power_LoadTest/extension/urls.js
|
| index 7eef6d40bb229e4460748a471fd1559671e67f1f..a3096b37eec99c6c8c9ddc4019d539025d960599 100755
|
| --- a/client/site_tests/power_LoadTest/extension/urls.js
|
| +++ b/client/site_tests/power_LoadTest/extension/urls.js
|
| @@ -5,6 +5,9 @@
|
| // List of tasks to accomplish
|
| var URLS = new Array();
|
|
|
| +var ViewGDoc = ('http://docs.google.com/RawDocContents?action=fetch&' +
|
| + 'justBody=false&revision=_latest&editMode=true&docID=');
|
| +
|
| var tasks = [
|
| {
|
| // Chrome browser window 1. This window remains open for the entire test.
|
| @@ -20,43 +23,71 @@ var tasks = [
|
| ]
|
| },
|
| {
|
| - // Chrome browser window 2. This window remains open for the entire test.
|
| - type: 'window',
|
| + // Page cycle through popular external websites for 36 minutes
|
| + type: 'cycle',
|
| + name: 'web',
|
| start: 0,
|
| - duration: 60 * 60 * 1000,
|
| - tabs: [
|
| - 'http://gmail.com',
|
| - 'http://calendar.google.com',
|
| - 'http://docs.google.com',
|
| - 'https://docs.google.com/a/google.com/Doc?id=dg29khk6_134c5vjscf2'
|
| - ]
|
| + duration: 36 * 60 * 1000,
|
| + delay: 60 * 1000, // A minute on each page
|
| + timeout: 5 * 1000,
|
| + focus: true,
|
| + urls: URLS,
|
| },
|
| {
|
| - // Page cycle through popular external websites for 48 minutes
|
| + // After 36 minutes, actively read e-mail for 12 minutes
|
| type: 'cycle',
|
| - start: 0,
|
| - duration: 48 * 60 * 1000,
|
| + name: 'email',
|
| + start: 36 * 60 * 1000,
|
| + duration: 12 * 60 * 1000,
|
| delay: 60 * 1000, // A minute on each page
|
| - urls: URLS,
|
| + timeout: 5 * 1000,
|
| + focus: true,
|
| + urls: [
|
| + 'http://gmail.com',
|
| + 'http://mail.google.com'
|
| + ],
|
| },
|
| {
|
| - // After 48 minutes, watch Google IO for 6 minutes
|
| - type: 'window',
|
| - start: 48 * 60 * 1000,
|
| - duration: 6 * 60 * 1000,
|
| - tabs: [
|
| - 'http://www.youtube.com/watch_popup?v=ecI_hCBGEIM'
|
| + // After 36 minutes, start streaming audio (background tab), total playtime
|
| + // 12 minutes
|
| + type: 'cycle',
|
| + name: 'audio',
|
| + start: 36 * 60 * 1000,
|
| + duration: 12 * 60 * 1000,
|
| + delay: 12 * 60 * 1000,
|
| + timeout: 5 * 1000,
|
| + focus: false,
|
| + urls: [
|
| + 'http://www.bbc.co.uk/iplayer/console/worldservice/',
|
| + 'http://www.npr.org/templates/player/mediaPlayer.html?action=3&t=live1',
|
| + 'http://www.cbc.ca/radio2/channels/popup.html?stream=classical'
|
| ]
|
| },
|
| {
|
| - // After 54 minutes, watch Star Trek for 6 minutes
|
| + // After 48 minutes, play with Google Docs for 6 minutes
|
| + type: 'cycle',
|
| + name: 'docs',
|
| + start: 48 * 60 * 1000,
|
| + duration: 12 * 60 * 1000,
|
| + delay: 60 * 1000, // A minute on each page
|
| + timeout: 5 * 1000,
|
| + focus: true,
|
| + urls: [
|
| + ViewGDoc + '0AaLGACl774zLZGRuYzlibWtfMXJzbmdoamcy',
|
| + ViewGDoc + '0AaLGACl774zLZGRuYzlibWtfMGRkcmY4emNu'
|
| + ],
|
| + },
|
| + {
|
| + // After 54 minutes, watch Google IO for 6 minutes
|
| type: 'window',
|
| + name: 'video',
|
| start: 54 * 60 * 1000,
|
| duration: 6 * 60 * 1000,
|
| + focus: true,
|
| tabs: [
|
| - 'http://www.hulu.com/watch/128305/star-trek-vii-generations'
|
| - ],
|
| - }
|
| + 'http://www.youtube.com/watch_popup?v=ecI_hCBGEIM'
|
| + ]
|
| + },
|
| ];
|
|
|
|
|
| @@ -66,24 +97,18 @@ URLS[u_index++] = 'http://www.google.com';
|
| URLS[u_index++] = 'http://www.yahoo.com';
|
| URLS[u_index++] = 'http://www.facebook.com';
|
| URLS[u_index++] = 'http://www.youtube.com';
|
| -URLS[u_index++] = 'http://www.optimusid.com';
|
| -//URLS[u_index++] = 'http://www.kninc.net'; site no longer works
|
| -URLS[u_index++] = 'http://www.knowledgenetworks.com';
|
| URLS[u_index++] = 'http://www.wikipedia.org';
|
| URLS[u_index++] = 'http://www.amazon.com';
|
| URLS[u_index++] = 'http://www.msn.com';
|
| -URLS[u_index++] = 'http://www.optmd.com';
|
| URLS[u_index++] = 'http://www.bing.com';
|
| URLS[u_index++] = 'http://www.blogspot.com';
|
| URLS[u_index++] = 'http://www.microsoft.com';
|
| URLS[u_index++] = 'http://www.myspace.com';
|
| URLS[u_index++] = 'http://www.go.com';
|
| -URLS[u_index++] = 'http://www.knowledgepanel.com';
|
| URLS[u_index++] = 'http://www.walmart.com';
|
| URLS[u_index++] = 'http://www.about.com';
|
| URLS[u_index++] = 'http://www.target.com';
|
| URLS[u_index++] = 'http://www.aol.com';
|
| -URLS[u_index++] = 'http://www.doubleclick.net';
|
| URLS[u_index++] = 'http://www.mapquest.com';
|
| URLS[u_index++] = 'http://www.ask.com';
|
| URLS[u_index++] = 'http://www.craigslist.org';
|
| @@ -95,7 +120,6 @@ URLS[u_index++] = 'http://www.bestbuy.com';
|
| URLS[u_index++] = 'http://www.ehow.com';
|
| URLS[u_index++] = 'http://www.photobucket.com';
|
| URLS[u_index++] = 'http://www.cnn.com';
|
| -URLS[u_index++] = 'http://www.mozilla.com';
|
| URLS[u_index++] = 'http://www.chase.com';
|
| URLS[u_index++] = 'http://www.att.com';
|
| URLS[u_index++] = 'http://www.sears.com';
|
| @@ -121,5 +145,5 @@ URLS[u_index++] = 'http://www.nytimes.com';
|
| URLS[u_index++] = 'http://www.toysrus.com';
|
| URLS[u_index++] = 'http://www.allrecipes.com';
|
| URLS[u_index++] = 'http://www.overstock.com';
|
| -URLS[u_index++] = 'http://www.comacast.net';
|
| +URLS[u_index++] = 'http://www.comcast.net';
|
|
|
|
|