java持续集成soapui_Jenkins持续集成——SoapUI(转载)

https://blog.csdn.net/hunterno4/article/details/38425077

SoapUI支持用命令行方式运行测试用例并生成测试报告,因此使用SoapUI可以很好地进行接口测试自动化测试以及持续集成。

首先查看testrunner.sh脚本支持哪些选项

直接执行testrunner.sh将给出帮助手册:

usage: testrunner [options]

-F Report format. Used with -R. Valid options PDF, XLS, HTML, RTF,

CSV, TXT, and XML (comma-separated)

-v Sets password for soapui-settings.xml file

-t Sets the soapui-settings.xml file to use

-A Turns on exporting of all results using folders instead of long

filenames

-D Sets system property with name=value

-E Sets the environment

-G Sets global property with name=value

-I Do not stop if error occurs, ignore them

-M Creates a Test Run Log Report in XML format

-P Sets or overrides project property with name=value

-R Report to Generate

-S Saves the project after running the tests

-a Turns on exporting of all results

-c Sets the testcase

-d Sets the domain

-e Sets the endpoint

-f Sets the output folder to export results to

-g Sets the output to include Coverage HTML reports

-h Sets the host

-i Enables Swing UI for scripts

-j Sets the output to include JUnit XML reports

-m Sets the maximum number of TestStep errors to save for each

testcase

-o Opens generated report(s) in a browser

-p Sets the password

-r Prints a small summary report

-s Sets the testsuite

-u Sets the username

-w Sets the WSS password type, either 'Text' or 'Digest'

-x Sets project password for decryption if project is encrypted

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值