zoukankan      html  css  js  c++  java
  • SoapUI命令行方式运行

    http://stackoverflow.com/questions/9220132/soapui-groovy-script-calls-to-command-line

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

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

    直接执行testrunner.sh将给出帮助手册:
    usage: testrunner [options] <soapui-project-file>
     -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
  • 相关阅读:
    MyEclipse或者Eclipse内存溢出问题
    关于分布式事务、两阶段提交协议、三阶提交协议
    Linux查看CPU和内存使用情况(转)
    Linux中设定umask的作用
    Linux解决乱码问题
    Vi编辑器的使用
    Eclipse的SVN插件下载
    Netty 入门初体验
    聊聊spring的那些扩展机制
    FreeMarker入门
  • 原文地址:https://www.cnblogs.com/kill0001000/p/5445389.html
Copyright © 2011-2022 走看看