Package com.eviware.soapui.model.testsuite

used for access the current testsuite object, like test case:

  1. the interface to access the testRunner Object in groovy script: http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestCaseRunContext.html
  2. the interface to access the context object in groovy script:

http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestCaseRunContext.html

3. the interface to access the log object in groovy script:

the log object is the log4j library,access from this class:import org.apache.log4j.Logger;

so here you can soapui had provided us three objects to access soapui context .

4. the interface to access the test case object:

http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestCase.html

TestCase newcase=testRunner.getTestCase();

for testRunner object ,you can do these things from it’s interface:

  • get the test step ,can from these way ,the test step’s name :
testRunner.getTestCase().getTestStepByName("");
  • get the test step by test step’s by index number:
testRunner.getTestCase().getTestStepAt(1)
  • access to different type of test step:
com.eviware.soapui.model.testsuite
Interface TestStep All Superinterfaces:
ModelItem, PropertyChangeNotifier, ResultContainer, TestModelItem, TestPropertyHolder
All Known Subinterfaces:
HttpRequestTestStep, HttpTestRequestStepInterface, OperationTestStep, RestTestRequestStepInterface, SamplerTestStep
All Known Implementing Classes:
AMFRequestTestStep, HttpTestRequestStep, JdbcRequestTestStep, ManualTestStep, PropertyTransfersTestStep, ProPlaceholderStepFactory.WsdlProPlaceholderTestStep, RestTestRequestStep, WsdlDelayTestStep, WsdlGotoTestStep, WsdlGroovyScriptTestStep, WsdlMockResponseTestStep, WsdlPropertiesTestStep, WsdlRunTestCaseTestStep, WsdlTestRequestStep, WsdlTestStep, WsdlTestStepWithProperties

from above we can see we can access any test step if you need .

soapui had provided these types of test step ,see below:

  1. Test Request
  2. Rest Test Request
  3. Http Test Request
  4. AMF Request
  5. JDBC Request
  6. Properties
  7. Properties Transfer
  8. DataSource
  9. DataSink
  10. DataGen
  11. DataSource Loop
  12. Conditional Goto
  13. Run TestCase
  14. Groovy Script
  15. Assert TestStep
  16. Delay
  17. Mock Response
  18. Manual TestStep

here i just give some special object we use often in your project:

1.JDBC Request

free version: JdbcRequestTestStep http://www.soapui.org/apidocs/com/eviware/soapui/impl/wsdl/teststeps/JdbcRequestTestStep.html

pro version:ProJdbcRequestTestStep

2.DataSource :WsdlDataSourceTestStep

3.DataSource Loop:WsdlDataSourceLoopTestStep

SoapUI Pro Project Solution Collection-Test Step Object的更多相关文章

  1. SoapUI Pro Project Solution Collection –Easy develop Groovy Script to improve SoapUI ability

    As you know the groovy script and java script language is the soapui supported .but unfortunately So ...

  2. SoapUI Pro Project Solution Collection-access the soapui object

    Technorati 标签: Soapui pro,web service,apI Testing

  3. SoapUI Pro Project Solution Collection-Custom project and setup

    import java.util.List; import java.util.Map; import org.apache.log4j.Logger; import com.eviware.soap ...

  4. SoapUI Pro Project Solution Collection-DataSource(jdbc,excel)

    here give a solution for excel file change the excel configuration these: Set Excel file path in cur ...

  5. SoapUI Pro Project Solution Collection-XML assert

    in soapui the XML object used here is from  org.w3c.dom package so you need to read this article car ...

  6. SoapUI Pro Project Solution Collection-change the JDBC Request behavior

    change the jdbc request : 1.change the driver name,connection string,query string or assert. the obj ...

  7. soapUI pro :INFO:Error getting response for []; javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

    need to configure two for the https address: Step 1 export the certificate from the IE settings opti ...

  8. SoapUI Pro官网原包百度云盘分享

    SoapUI Pro下载是件很痛苦的事,经常断网,或者是下载时间过长,这里分享的是截止2019.01.01 最新的安装原包. 百度云盘资源:https://pan.baidu.com/s/1SXTFs ...

  9. SoapUI Pro 最新版本和最新功能

    专为整个后端的端到端测试而构建 创建全面的端到端测试,以从API定义或实时端点验证API的整个工作流程.只需单击几下即可传递响应数据并添加断言-无需编码. 综合生成或配置数据 通过简单的数据驱动测试来 ...

随机推荐

  1. .NetCore源码阅读笔记系列之HttpAbstractions(五) Authentication

    说道认证&授权其实这块才是核心,这款跟前面Security这块有者紧密的联系,当然 HttpAbstractions 不光是认证.授权.还包含其他Http服务和中间价 接下来先就认证这块结合前 ...

  2. hdu 1455 N个短木棒 拼成长度相等的几根长木棒 (DFS)

    N根短木棒 能够拼成几根长度相等的长木棒 求长木棒的长度 如果答案不止一种 输出最小的 Sample Input95 2 1 5 2 1 5 2 141 2 3 40 Sample Output65 ...

  3. ubuntu16.04下搜狗输入法异常

    问题描述: 搜狗输入法出现异常, 提示: 删除 .config/Sougou-PY 文件后重启 解决方案: google后发现,搜狗拼音输入法使用 fcitx 框架. 发现系统同时安装了ibus框架 ...

  4. MySQL中format()函数

    format()函数 format()函数:将数据内容格式化的,可以将数据格式化为整数或者带几位小数的浮点数(四舍五入). SELECT FORMAT();//取整 SELECT FORMAT();/ ...

  5. 006 Spark中的wordcount以及TopK的程序编写

    1.启动 启动HDFS 启动spark的local模式./spark-shell 2.知识点 textFile: def textFile( path: String, minPartitions: ...

  6. cookie、sesion

    关于保存问题 如果高并发不多的话可以保存session 否则用cookie吧,session可以保存到其他服务器哦,比如其他服务器的redis memacache(没有持久化,崩了登录信息就全没了) ...

  7. 不会python?那就换一种姿势爬虫!Java爬虫技术总结

    -本博客为原创内容,转载需注明本人- 前几天有个师妹将要毕业,需要准备毕业论文,但是论文调研需要数据资料,上知网一查,十几万条数据!指导老师让她手动copy收集,十几万的数据手动copy要浪费多少时间 ...

  8. js数据结构之二叉树的详细实现方法

    数据结构中,二叉树的使用频率非常高,这得益于二叉树优秀的性能. 二叉树是非线性的数据结构,用以存储带有层级的数据,其用于查找的删除的性能非常高. 二叉树 数据结构的实现方法如下: function N ...

  9. Luogu

    dalao们的博客a http://hzwer.com   //Orz  %%% https://oi-wiki.org  //Orz https://www.cnblogs.com/-guz/p/9 ...

  10. Ubuntu pkg_resources.DistributionNotFound: The 'Scrapy==1.0.3' distribution was not found and is required by the application

    在Ubuntu16.0.4上安装scrapy,参考:Ubuntu16.04安装Scrapy命令 都安装成功后,import scrapy也都没出错,但是在终端输入:scrapy 命令时出现错误: Fi ...