Error while running script using readyAPi
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error while running script using readyAPi
Hi
I am trying to run the python script using ready APi, Attached is the script, where as i am getting the error while running the script, Error also attached.
Please let me know whether i have to import any libraries/Jar files to run the python script from readyAPi?
Thanks
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wow! You are one busy fella arent you? I wish i was as busy as you!
Whats the reasoning for using python over using the default supported groovy or javascript? Is it essential that you use python above the default options (groovy/javascript)?
If youre using python from within readyapi!, id suggest youll definitely need to add in the appropriate .jars to the appropriate directory as python isnt supported by default (although i could be wrong as ive never trief python in soapuo before!)
Rao already talked about this on a post via the following link
https://community.smartbear.com/t5/SoapUI-Open-Source/Does-SOAPUI-free-version-support-python-script...
I also found this link from a while back that might help.
https://community.smartbear.com/t5/SoapUI-Open-Source/Running-a-external-Selenium-Python-script-from...
Nice one
Rich
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @richie
Thanks for the information
I already tried with the script provided in the below url, where as i am getting error, which i have already attached.
http://www.joergm.com/2010/09/executing-shell-commands-in-groovy/ this url is not working
and also can you please let me know what are the list of libraries needs to be imported in Ready APi? and for running the python script from readyAPi, Python needs to be installed on the machine?
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im sorry....i cant help with this as ive never used python with soapui and after a brief search online i cant find any resource that would provide the info youre looking for. Perhaps the other forum members might be able to help?
As an aside, the error response youre generating when executing the script appears to indicate it cant find the .py file. Have you confirmed you have saved the .py file in the location youve specified in your script?
Ok...that's me out of ideas
Good luck!
Rich
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No jars required.
Actual command is available in the community link provided by @richie.
Regards,
Rao.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
