munrocape / harry Goto Github PK
View Code? Open in Web Editor NEWConvert HTTP Application to JMeter Test Plan. .har to .jmx
Convert HTTP Application to JMeter Test Plan. .har to .jmx
Currently it is not recognized by docopt and furthermore not referenced within the main function.
As is, POST parameters are not being included. This needs to be addressed.
xml_fname
used at https://github.com/munrocape/harry/blob/master/harry/harry.py#L55 is not defined. Same issue but in harry_help.py
in tagged v0.0.12
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'
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.