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. 演示Thread.sleep(100)和Thread.currentThread().isInterrupted()+@Deprecated:将方法标注为废弃的方法

    package charpter08; public class TestInterrupt01 { public static void main(String[] args) { Processo ...

  2. [转] 为什么javascript是单线程的却能让AJAX异步调用?

    为什么JavaScript是单线程的却能让AJAX异步发送和回调请求,还有setTimeout也看起来像是多线程的? function foo() { console.log( 'first' ); ...

  3. day6作业--游戏人生完善

    本节作业: 熟练使用类和模块,写一个交互性强.有冲突的程序.     一.作业目的 1.规范程序写法,要按照模块来规范书写: 2.类的使用,文件之间的调用练习: 3.思路的开阔,自己编写冲突,实现调用 ...

  4. 在Ubuntu下解决 adb devices :???????????? no permissions 方法

    http://sdvdxl.blog.51cto.com/3845763/1126539 MODE表示读取模式,0666表示任何人都可以访问. 最后 adb devices查看

  5. P2700 逐个击破 最小生成树

    题目描述 现在有N个城市,其中K个被敌方军团占领了,N个城市间有N-1条公路相连,破坏其中某条公路的代价是已知的,现在,告诉你K个敌方军团所在的城市,以及所有公路破坏的代价,请你算出花费最少的代价将这 ...

  6. 练习|Django-单表

    结构目录 页面展示: 1创建Django,创建app01 在modules.py添加 class Book(models.Model): id=models.AutoField(primary_key ...

  7. 【Java】 剑指offer(16) 打印1到最大的n位数

    本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集   题目 输入数字n,按顺序打印出从1最大的n位十进制数.比如输入3,则打印 ...

  8. 011 Spark应用构成结构

    一:端口4040 1.意思 其中4040端口代表的含义是application UI 是应用程序界面. 包含Jobs,Stages,environment,System,SQL等. 二:应用结构 1. ...

  9. [OpenCV-Python] OpenCV 中的图像处理 部分 IV (六)

    部分 IVOpenCV 中的图像处理 OpenCV-Python 中文教程(搬运)目录 23 图像变换 23.1 傅里叶变换目标本小节我们将要学习: • 使用 OpenCV 对图像进行傅里叶变换 • ...

  10. 极客无极限 一行HTML5代码引发的创意大爆炸

    摘要:一行HTML5代码能做什么?国外开发者Jose Jesus Perez Aguinaga写了一行HTML5代码的文本编辑器.这件事在分享到Code Wall.Hacker News之后,引起了众 ...