{"action":"opened","issue":{"url":"https://api.github.com/repos/axemclion/perfjankie/issues/24","labels_url":"https://api.github.com/repos/axemclion/perfjankie/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/axemclion/perfjankie/issues/24/comments","events_url":"https://api.github.com/repos/axemclion/perfjankie/issues/24/events","html_url":"https://github.com/axemclion/perfjankie/issues/24","id":83545389,"number":24,"title":"No data displayed while trying to work a sample perfjankie code ","user":{"login":"challapruthvi","id":5421181,"avatar_url":"https://avatars.githubusercontent.com/u/5421181?v=3","gravatar_id":"","url":"https://api.github.com/users/challapruthvi","html_url":"https://github.com/challapruthvi","followers_url":"https://api.github.com/users/challapruthvi/followers","following_url":"https://api.github.com/users/challapruthvi/following{/other_user}","gists_url":"https://api.github.com/users/challapruthvi/gists{/gist_id}","starred_url":"https://api.github.com/users/challapruthvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/challapruthvi/subscriptions","organizations_url":"https://api.github.com/users/challapruthvi/orgs","repos_url":"https://api.github.com/users/challapruthvi/repos","events_url":"https://api.github.com/users/challapruthvi/events{/privacy}","received_events_url":"https://api.github.com/users/challapruthvi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-01T14:59:26Z","updated_at":"2015-06-01T14:59:26Z","closed_at":null,"body":"I am trying to run the following code : \r\n\r\nvar perfjankie = require('../AppData/Roaming/npm/node_modules/perfjankie');\r\nperfjankie({\r\n  \"url\": \"http://localhost:3033/ui\", // URL of the page that you would like to test.\r\n\t\r\n\t//browser.driver.findElement(by.name('j_username')).sendKeys('Admin');\r\n\t//browser.driver.findElement(by.name('j_password')).sendKeys('Storage');\r\n\t//browser.driver.findElement(by.className('login')).click();\r\n\t\r\n  /* The next set of values identify the test */\r\n  name: \"Component or Webpage Name\", // A friendly name for the URL. This is shown as component name in the dashboard\r\n  suite: \"optional suite name\", // Displayed as the title in the dashboard. Only 1 suite name for all components\r\n  time: new Date().getTime(), // Used to sort the data when displaying graph. Can be the time when a commit was made\r\n  run: \"commit#Hash\", // A hash for the commit, displayed in the x-axis in the dashboard\r\n  repeat: 3, // Run the tests 3 times. Default is 1 time\r\n\r\n  /* Identifies where the data and the dashboard are saved */\r\n  couch: {\r\n    server: 'http://localhost:5984',\r\n    database: 'performance',\r\n    updateSite: !process.env.CI, // If true, updates the couchApp that shows the dashboard. Set to false in when running Continuous integration, run this the first time using command line. \r\n    onlyUpdateSite: true // No data to upload, just update the site. Recommended to do from dev box as couchDB instance may require special access to create views.\r\n  },\r\n\r\n  callback: function(err, res) {\r\n\t  console.log(err);\r\n\t  console.log(res);\r\n    // The callback function, err is falsy if all of the following happen\r\n    // 1. Browsers perf tests ran\r\n    // 2. Data has been saved in couchDB\r\n    // err is not falsy even if update site fails. \r\n  },\r\n\r\n  /* OPTIONS PASSED TO BROWSER-PERF  */\r\n  // Properties identifying the test environment */\r\n  browsers: [\"chrome\", \"firefox\" ], // This can also be a [\"chrome\", \"firefox\"] or \"chrome,firefox\"// See browser perf browser configuration for all options. \r\n\r\n  selenium: {\r\n    hostname: 'http://localhost:4444/wd/hub', // or localhost or hub.browserstack.com\r\n    //port: 4444,\r\n  },\r\n});\r\n\r\n--------------------------------------------------------\r\n\r\nWhen I log the result on the console in the above code I am getting something like \r\n\r\n[ { state: 'fulfilled', value: undefined },\r\n  { state: 'fulfilled', value: undefined } ]\r\n\r\n-------------------------------------------------------\r\nI am unable to see any graphical interface (Metric data) on the following URL upon running the above code:\r\n\r\nhttp://localhost:5984/performance/_design/site/index.html#/page-select\r\n\r\n----------------------------------------------------\r\n\r\nPlease let me know if I am missing something or may be doing things in a wrong way that is not allowing perfjankie to display the data on the console and at the same time on the GUI."}}