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的整个工作流程.只需单击几下即可传递响应数据并添加断言-无需编码. 综合生成或配置数据 通过简单的数据驱动测试来 ...
随机推荐
- %SystemRoot%
%SystemRoot%即C:\windows
- 2018-2019 2 20165203 《网络对抗技术》Exp6 信息搜集与漏洞扫描
2018-2019 2 20165203 <网络对抗技术>Exp6 信息搜集与漏洞扫描 实践目标 掌握信息搜集的最基础技能与常用工具的使用方法. 实践内容 (1)各种搜索技巧的应用 (2) ...
- 【C++】三大概念要分清--重载,隐藏(重定义,覆盖(重写)
{ c++三大概念要分清--重载,隐藏(重定义),覆盖(重写)} 重载 • 概念:在同一个作用域内:函数名相同,参数列表不同(参数个数不同,或者参数类型不同,或者参数个数和参数类型都不同),返回值类 ...
- git的入门摸索和入门研究
git官网:https://git-scm.com/ git教程---菜鸟教程:http://www.runoob.com/git/git-tutorial.html git教程---廖雪峰:http ...
- python爬取糗百内容
#-*- coding: utf-8 -*- import urllib import urllib2 import re #页面为1 page=1 url='http://www.qiushibai ...
- 【Java】 剑指offer(43) 从1到n整数中1出现的次数
本文参考自<剑指offer>一书,代码采用Java语言. 更多:<剑指Offer>Java实现合集 题目 输入一个整数n,求从1到n这n个整数的十进制表示中1出现的次数.例 ...
- linux 编译内核 /boot空间不足?
/boot空间一般分配100M的空间,本来是够用的,由于频繁的更新导致旧的不再使用的内核文件也保留在boot空间里,占着位置,所以把这些不用的内核文件下载掉boot空间就能释放出一部分, 具体做法为 ...
- 三篇文章带你极速入门php(二)之迅速搭建php环境
前言 今天讲一下php在windows,mac,linux上的集成环境搭建,目标是简单快速,环境这个事得对号入座,windows用phpstudy,mac用mamp,linux用lnmp一键安装,直接 ...
- java 同步 synchronized
http://www.cnblogs.com/Qian123/p/5691705.html http://www.cnblogs.com/GnagWang/archive/2011/02/27/196 ...
- C#:几种数据库的大数据批量插入(转)
在之前只知道SqlServer支持数据批量插入,殊不知道Oracle.SQLite和MySql也是支持的,不过Oracle需要使用Orace.DataAccess驱动,今天就贴出几种数据库的批量插入解 ...