如何使用soapUI执行shell脚本 [英] How to execute shell script using soapUI
本文介绍了如何使用soapUI执行shell脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个类似sample.sh的shell脚本。我想用soapUI执行这个脚本。如何使用soap UI执行它?
I have one shell script like sample.sh . I want to execute this script using soapUI. How to execute it using soap UI??
推荐答案
您可以使用Groovy Step来执行此操作。例如:
You can use Groovy Step to do this. Something like:
p = Runtime.getRuntime().exec("sample.sh")
p.waitFor()
这篇关于如何使用soapUI执行shell脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文