Git Product home page Git Product logo

harstorage's People

Watchers

 avatar

harstorage's Issues

It is not possible to delete tests results

What steps will reproduce the problem?
1. choose the URL you want to see the results for
2. click manage data
3. click either delete all tests or delete current test

What is the expected output? What do you see instead?
It should delete all or current test and it no tests are deleted.

What version of the product are you using? On what operating system?
I am using Release v0.6 on Ubuntu 10, Chrome 17, Firefox 10.

Original issue reported on code.google.com by [email protected] on 22 Feb 2012 at 3:24

upload error " KeyError: id "

What steps will reproduce the problem?
1. choose file to upload (.har from sitespeed.io)
2.click upload button
3. KeyError: id

What is the expected output? What do you see instead?
expect the har file to be inserted into the mongodb. instead receive 'upload 
error' KeyError: id


What version of the product are you using? On what operating system?
ubuntu 12.04 server LTS - release harstorage-1.0-py2.7.egg 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Jul 2014 at 2:07

Attachments:

Feature Request: Add ability to extract HAR files

I am using automated processes to upload har files to harstorage. It would be 
nice if the web front-end gave me the ability to extract the har data as a file.

I assume it's in mongo somewhere, but I would like to be able to extract at the 
click of a button.

Thanks!

Original issue reported on code.google.com by [email protected] on 18 Jan 2013 at 5:12

Wrong timestamp

What steps will reproduce the problem?
1. make a lot of HAR files for one website (one per hour)
2. bulk upload all HAR files to harstorage
3. select graph by domain

What is the expected output? What do you see instead?
On graph I see time of uploading, not time of generating HAR files.

What version of the product are you using? On what operating system?
harstorage 1.0
Ubuntu 11.04

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 18 May 2012 at 3:58

Timings error

I am getting following error when I am trying to upload a .har file, retrieved 
with use of BrowserMob-proxy:

Error - <type 'exceptions.KeyError'>: 'timings'
URL: http://127.0.0.1:5000/results/upload
File 
'/usr/local/lib/python2.6/dist-packages/WebError-0.10.3-py2.6.egg/weberror/error
middleware.py', line 162 in __call__
  app_iter = self.application(environ, sr_checker)
File 
'/usr/local/lib/python2.6/dist-packages/Beaker-1.6.2-py2.6.egg/beaker/middleware
.py', line 155 in __call__
  return self.wrap_app(environ, session_start_response)
File 
'/usr/local/lib/python2.6/dist-packages/Routes-1.12.3-py2.6.egg/routes/middlewar
e.py', line 131 in __call__
  response = self.app(environ, start_response)
File 
'/usr/local/lib/python2.6/dist-packages/Pylons-1.0-py2.6.egg/pylons/wsgiapp.py',
 line 107 in __call__
  response = self.dispatch(controller, environ, start_response)
File 
'/usr/local/lib/python2.6/dist-packages/Pylons-1.0-py2.6.egg/pylons/wsgiapp.py',
 line 312 in dispatch
  return controller(environ, start_response)
File 
'/usr/local/lib/python2.6/dist-packages/harstorage-0.6-py2.7.egg/harstorage/lib/
base.py', line 19 in __call__
  return WSGIController.__call__(self, environ, start_response)
File 
'/usr/local/lib/python2.6/dist-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 211 in __call__
  response = self._dispatch_call()
File 
'/usr/local/lib/python2.6/dist-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 162 in _dispatch_call
  response = self._inspect_call(func)
File 
'/usr/local/lib/python2.6/dist-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 105 in _inspect_call
  result = self._perform_call(func, args)
File 
'/usr/local/lib/python2.6/dist-packages/Pylons-1.0-py2.6.egg/pylons/controllers/
core.py', line 57 in _perform_call
  return func(**args)
File '<string>', line 2 in upload
File 
'/usr/local/lib/python2.6/dist-packages/Pylons-1.0-py2.6.egg/pylons/decorators/r
est.py', line 33 in check_methods
  return func(*args, **kwargs)
File 
'/usr/local/lib/python2.6/dist-packages/harstorage-0.6-py2.7.egg/harstorage/cont
rollers/results.py', line 312 in upload
  har.analyze()
File 
'/usr/local/lib/python2.6/dist-packages/harstorage-0.6-py2.7.egg/harstorage/lib/
HAR.py', line 129 in analyze
  dns_time        = max( entry['timings']['dns'],                                0)
KeyError: 'timings'


CGI Variables
-------------
  CONTENT_LENGTH: '-1'
  CONTENT_TYPE: 'multipart/form-data; boundary=----WebKitFormBoundaryrAHNPUwJZmxJqMHC'
  HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  HTTP_ACCEPT_CHARSET: 'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
  HTTP_ACCEPT_ENCODING: 'gzip,deflate,sdch'
  HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8,sk;q=0.6'
  HTTP_CACHE_CONTROL: 'max-age=0'
  HTTP_CONNECTION: 'keep-alive'
  HTTP_COOKIE: 'phaseInterval=-1'
  HTTP_HOST: '127.0.0.1:5000'
  HTTP_ORIGIN: 'http://127.0.0.1:5000'
  HTTP_REFERER: 'http://127.0.0.1:5000/'
  HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11'
  PATH_INFO: '/results/upload'
  REMOTE_ADDR: '127.0.0.1'
  REQUEST_METHOD: 'POST'
  SERVER_NAME: '0.0.0.0'
  SERVER_PORT: '5000'
  SERVER_PROTOCOL: 'HTTP/1.1'


WSGI Variables
--------------
  application: <beaker.middleware.SessionMiddleware object at 0xa5161cc>
  beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0xa5161cc>>
  beaker.session: {'_accessed_time': 1329918827.4170849, '_creation_time': 1329918827.4170849}
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0xb72d2eac>
  paste.registry: <paste.registry.Registry object at 0xa6dc38c>
  paste.throw_errors: True
  pylons.action_method: <bound method ResultsController.upload of <harstorage.controllers.results.ResultsController object at 0xa6e09ec>>
  pylons.controller: <harstorage.controllers.results.ResultsController object at 0xa6e09ec>
  pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
  pylons.pylons: <pylons.util.PylonsContext object at 0xa6e0c0c>
  pylons.routes_dict: {'action': u'upload', 'controller': u'results'}
  routes.route: <routes.route.Route object at 0xa51604c>
  routes.url: <routes.util.URLGenerator object at 0xa6d876c>
  webob._parsed_post_vars: (MultiDict([('file', FieldStorage('file', '1329918662938.har')), ('upload', 'Upload')]), <FakeCGIBody at 0xa6cf74c viewing MultiDict([('fi...d')])>)
  webob.adhoc_attrs: {'errors': 'ignore', 'language': 'en-us'}
  wsgi process: 'Multithreaded'
  wsgiorg.routing_args: (<routes.util.URLGenerator object at 0xa6d876c>, {'action': u'upload', 'controller': u'results'})

I am retrieving this .har from Java code, which can be found here:
https://github.com/jhuska/client-side-perf/blob/master/src/test/java/org/richfac
es/performance/TestClientSidePerformanceWebDriver.java#L160

Sometimes it produces right .har(exactly the same code and sometimes not)

Original issue reported on code.google.com by [email protected] on 22 Feb 2012 at 2:00

Attachments:

mongodb connectivity issue on windows

What steps will reproduce the problem?
1.MongoDB shell version: 2.6.0 connecting to: harstorage 
2014-04-9T13:06:06.275+0530 warning: Failed to connect to 127.0.0.1:27017, reas
on: errno:10061 No connection could be made because the target machine actively 
refused it.
2.how to capture the data ? run production.ini but how to start capture data.


What is the expected output? What do you see instead?
mongo connection not connect

What version of the product are you using? On what operating system?
windows 7 64 bit machine.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 Apr 2014 at 7:40

Errno 2: File or Directory not found

What steps will reproduce the problem?
1.Installing Harstorage
2.Configuring it how is set out in the installation wiki

What is the expected output? What do you see instead?
The expected output would be to go to the harstorage interface but it comes 
back with Errno 2 cannot find file or directory

What version of the product are you using? On what operating system?
Version 0.5 Ubuntu 11.10

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Dec 2011 at 9:40

Need a way to delete old hars

It would be nice to have a feature by which unwanted har files that have been 
stored previously can be deleted. 
A suggestion: Add  a checkbox column in the results page and a 'Delete' button 
next to 'Aggregate and Compare' at the bottom. If the user checks any boxes and 
hits Delete, the corresponding rows can be deleted.




Original issue reported on code.google.com by [email protected] on 13 Feb 2013 at 10:58

posting to /results/upload throws 500

What steps will reproduce the problem?
1.  I create a .HAR file with browsermob proxy, and try to post it using REST 
client.  


What version of the product are you using? On what operating system?
1.0 on OEL6

Please provide any additional information below.
Here is the output on server.
WSGI Variables
--------------
  application: <beaker.middleware.SessionMiddleware object at 0x18082d0>
  beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x18082d0>>
  beaker.session: {'_accessed_time': 1389374788.936523}
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x1808450>
  paste.registry: <paste.registry.Registry object at 0x7f60cc0a8e10>
  paste.throw_errors: True
  pylons.action_method: <bound method ResultsController.upload of <harstorage.controllers.results.ResultsController object at 0x7f60cc0ad190>>
  pylons.controller: <harstorage.controllers.results.ResultsController object at 0x7f60cc0ad190>
  pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'}
  pylons.pylons: <pylons.util.PylonsContext object at 0x7f60cc0ad110>
  pylons.routes_dict: {'action': u'upload', 'controller': u'results'}
  routes.route: <routes.route.Route object at 0x1808150>
  routes.url: <routes.util.URLGenerator object at 0x7f60cc0a8f90>
  webob.adhoc_attrs: {'language': 'en-us'}
  wsgi process: 'Multithreaded'
  wsgiorg.routing_args: (<routes.util.URLGenerator object at 0x7f60cc0a8f90>, {'action': u'upload', 'controller': u'results'})


Original issue reported on code.google.com by [email protected] on 10 Jan 2014 at 6:09

Httplib and socket errors

What steps will reproduce the problem?
1.Installing harstorage on windows
2.Starting up browsermob-proxy and mongodb
3.Run python script for browsermob-proxy

What is the expected output? What do you see instead?
The expected output would be the Har would be sent to harstorage but in there 
were errors in the python script.  The errors were the following:

Traceback (most recent call last):
  File "C:\HarStorage\testing.py", line 74, in <module>
    headers)
  File "C:\HarStorage\testing.py", line 13, in http_request
    connection.request(http_request_type, url, body, headers)
  File "C:\Python27\lib\httplib.py", line 941, in request
    self._send_request(method, url, body, headers)
  File "C:\Python27\lib\httplib.py", line 975, in _send_request
    self.endheaders(body)
  File "C:\Python27\lib\httplib.py", line 937, in endheaders
    self._send_output(message_body)
  File "C:\Python27\lib\httplib.py", line 797, in _send_output
    self.send(msg)
  File "C:\Python27\lib\httplib.py", line 759, in send
    self.connect()
  File "C:\Python27\lib\httplib.py", line 740, in connect
    self.timeout, self.source_address)
  File "C:\Python27\lib\socket.py", line 571, in create_connection
    raise err
socket.error: [Errno 10061] No connection could be made because the target 
machine actively refused it

Now I have opened up all the ports because I thought that may have been the 
problem but was to no avail.  I have python 2.7.2.  

What version of the product are you using? On what operating system? harstorage 
0.5.2 and Windows


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 15 Dec 2011 at 2:56

Uploading HAR with multiple pages, only first page gets parsed.

What steps will reproduce the problem?
1. Create a HAR with multiple pages
2. Upload it using a rest call to /results/upload
3. Look at the results in the UI.  On home page, only the first page is shown.  
after drilling down and looking at HAR Viewer tab, data is only shown for first 
page.

What is the expected output? What do you see instead?
Each page in the HAR should be parsed, and new entry should be created for each 
page.

What version of the product are you using? On what operating system?
1.0

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Jan 2014 at 1:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.