SoapUI Pro Project Solution Collection-Test Step Object
Package com.eviware.soapui.model.testsuite
used for access the current testsuite object, like test case:
- the interface to access the testRunner Object in groovy script: http://www.soapui.org/apidocs/com/eviware/soapui/model/testsuite/TestCaseRunContext.html
- 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:
- Test Request
- Rest Test Request
- Http Test Request
- AMF Request
- JDBC Request
- Properties
- Properties Transfer
- DataSource
- DataSink
- DataGen
- DataSource Loop
- Conditional Goto
- Run TestCase
- Groovy Script
- Assert TestStep
- Delay
- Mock Response
- 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的更多相关文章
- 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 ...
- SoapUI Pro Project Solution Collection-access the soapui object
Technorati 标签: Soapui pro,web service,apI Testing
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- 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 ...
- SoapUI Pro官网原包百度云盘分享
SoapUI Pro下载是件很痛苦的事,经常断网,或者是下载时间过长,这里分享的是截止2019.01.01 最新的安装原包. 百度云盘资源:https://pan.baidu.com/s/1SXTFs ...
- SoapUI Pro 最新版本和最新功能
专为整个后端的端到端测试而构建 创建全面的端到端测试,以从API定义或实时端点验证API的整个工作流程.只需单击几下即可传递响应数据并添加断言-无需编码. 综合生成或配置数据 通过简单的数据驱动测试来 ...
随机推荐
- js获取精确的元素宽高(普通获取高度会有误差)
当js获取元素宽高时, 并不是一个精确的数字,如果想获取真正的宽高大致方法如下 var oStyle = obj.currentStyle ? obj.currentStyle : window.ge ...
- 【Java】 剑指offer(50-2) 字符流中第一个只出现一次的字符
本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集 题目 请实现一个函数用来找出字符流中第一个只出现一次的字符.例如,当从字 ...
- 【Java】 剑指offer(63) 股票的最大利润
本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集 题目 假设把某股票的价格按照时间先后顺序存储在数组中,请问买卖交易该 ...
- Python3 - 基础知识、基本了解
一.Python到底是什么? (抄自 金角大王) 1. Python是一门解释型语言? 我初学Python时,听到的关于Python的第一句话就是,Python是一门解释性语言,我就这样一直相信下去, ...
- Spring日记_01 之基于maven的Spring环境搭建
阿里云镜像:maven.aliyun.com 添加Spring坐标: Spring 是java组件容器,Java饭馆 使用者可以通过getBean(对象ID) 获得Date对象,而不需要自己去new ...
- QT学习之第一个程序
QT学习之第一个程序 目录 手动创建主窗口 居中显示 添加窗口图标 显示提示文本 Message Box的应用 手动连接信号与槽 手动创建主窗口 窗口类型 QMainWindow: 可以包含菜单栏.工 ...
- 函数 y=x^x的分析
关于函数 y=xx的分析: 由图像得,y在负无穷大到0图像处处不连续,故y的定义域为(0,正无穷大): 故该函数不就是y=e^(lnxx)吗? 1.定义域:我们变形一下,y=e^(xlnx),显然是0 ...
- vue那些事儿
本篇文章基于vue2,vuejs不支持ie8,因为es5的Object.defineProperty特性不被ie8支持,而vue正是使用Object.defineProperty把遍历过的data属性 ...
- BZOJ.2229.[ZJOI2011]最小割(最小割树)
题目链接 题意:给定一张无向图,求任意两点之间的最小割. 在所有点中任选两个点作为源点\(S\).汇点\(T\),求它们之间的最小割\(ans\),并把原图分成两个点集\(S',T'\),用\(ans ...
- Altium Designer Summer 09 Gerber 文件设置