GithubHelp home page GithubHelp logo

harry's People

Contributors

munrocape avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

harry's Issues

Implement output flag

Currently it is not recognized by docopt and furthermore not referenced within the main function.

Handle POSTs

As is, POST parameters are not being included. This needs to be addressed.

SyntaxError: Missing parentheses in call to 'print' [Python 3.5.1 on win32]

Hi,

Does the following SyntaxError has any workaround ? Is it relevant to a specific Python version ?
[Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] on win32]

thanks,
Shay

Error details:

C:\HAR>harry -i C:\HAR\work\Test.har -o C:\HAR\work\T.jmx
Traceback (most recent call last):
File "c:\users\sgins.shay-pc\appdata\local\programs\python\python35\lib\runpy.py", line 170, in run_module_as_main
"main", mod_spec)
File "c:\users\sgins.shay-pc\appdata\local\programs\python\python35\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\sgins.SHAY-PC\AppData\Local\Programs\Python\Python35\Scripts\harry.exe__main
.py", line 5, in
File "c:\users\sgins.shay-pc\appdata\local\programs\python\python35\lib\site-packages\harry\harry.py", line 43
print message
^
SyntaxError: Missing parentheses in call to 'print'

jinja2.exceptions.TemplateNotFound: test_plan.xml

I tryed to install this in docker with debian and ubuntu. Always the same error:

Attempting to convert input file: in.har

Traceback (most recent call last):
  File "/usr/local/bin/harry", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/harry/harry.py", line 154, in main
    generate_test_plan(har, output_file)
  File "/usr/local/lib/python2.7/dist-packages/harry/harry.py", line 48, in generate_test_plan
    test_plan_template = ENV.get_template('test_plan.xml')
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 830, in get_template
    return self._load_template(name, self.make_globals(globals))
  File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 804, in _load_template
    template = self.loader.load(self, name, globals)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/loaders.py", line 113, in load
    source, filename, uptodate = self.get_source(environment, name)
  File "/usr/local/lib/python2.7/dist-packages/jinja2/loaders.py", line 235, in get_source
    raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: test_plan.xml

Import Error: No module named docopt

Hi,

While trying to run "harry.py" on Python 2.7.10, the following error stops the run:

"harry.py", line 34, in from docopt import docopt
ImportError: No module named docopt

Any suggestion would greatly be appreciated.

Regards,
Shay

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.