Forum Discussion
Hi,
Its an interesting question, that I'd wondered about myself.
I think the quick answer is that SoapUI can't run Python interally e.g. as an integrated part of the tool, instead it has excellent support for Groovy scripting via the Groovy TestStep and possibly less polished support for JavaScript too accordng to the docs, although I have never actually tried using any JavaScript in SoapUI.
At one point I thought about trying to use Jython (http://www.jython.org/) by adding it as an external library and running it via Groovy TestSteps, but this is probably easier said than done.
Another easier option might be to use Groovy to run external Python scripts, but this may not be what you want.
Hope this helps,
Rupert
- chiragverma1238 years agoContributor
Can you please help me with running external python scripts using groovy on SOAPUI.? How Do i need to approach this?
My goal is to run something on the UI before running the API test on SOAPUI.
- rupert_anderson8 years agoValued Contributor
Please see related post https://community.smartbear.com/t5/SoapUI-Open-Source/Running-a-external-Selenium-Python-script-from-Grrovy-script/m-p/130751/highlight/false#M22379
Related Content
- 4 years ago
- 2 years ago
Recent Discussions
- 3 days ago