public class WsdlDataSourceTestStep extends com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties implements com.eviware.soapui.model.support.XPathReferenceContainer, com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder, com.eviware.soapui.model.propertyexpansion.PropertyExpansionContainer, DataSourceContainer, com.smartbear.ready.ui.toolbar.ToolbarStateProvider
Modifier and Type | Field and Description |
---|---|
static String |
COMPLETE_LAST_OPERATION_PROPERTY_NAME |
static String |
DATASOURCE |
static String |
DATASOURCE_TYPE_PROPERTY_NAME |
static boolean |
DEFAULT_COMPLETE_LAST_OPERATION_VALUE |
static int |
DEFAULT_RECORDS_PER_ITERATION_VALUE |
static String |
FAILONEMPTY |
static String |
GOTOLOOPONEMPTY |
static String |
ICON_NAME |
static String |
MULTI_RECORD_INDEX_SEPARATOR |
static String |
PRELOAD |
static String |
RECORDING_PER_ITERATION_PROPERTY_NAME |
static String |
RESTARTONRUN |
static String |
RESTARTSHARED |
static String |
SHARED |
static String |
VALUES |
RAW_RESPONSE, RESPONSE, RESPONSE_AS_XML
DB_PREPARED_PROPERTIES_PROPERTY, DB_PREPARED_PROPERTIES_PROPERTY_SOAP_UI_PRO
Constructor and Description |
---|
WsdlDataSourceTestStep(com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase testCase,
com.eviware.soapui.config.TestStepConfig config,
boolean forLoadTest) |
Modifier and Type | Method and Description |
---|---|
protected void |
addExternalDependencies(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies) |
void |
addProperties(List<String> names) |
com.eviware.soapui.model.testsuite.TestProperty |
addProperty(String name) |
void |
afterCreateFromGUI() |
void |
beforeSave() |
void |
finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
int |
getCurrentRow() |
AbstractResourceContainer<DatabaseConnection> |
getDatabaseConnectionContainer() |
DataSource |
getDataSource() |
com.eviware.soapui.config.DataSourceContainerConfig |
getDataSourceContainerConfig() |
com.eviware.soapui.config.DataSourceStepConfig |
getDataSourceStepConfig() |
String |
getDataSourceType() |
String |
getEndRow() |
com.eviware.soapui.support.types.StringList |
getOrderedPropertyNames() |
com.eviware.soapui.support.types.StringToStringMap |
getPreparedProperties() |
com.eviware.soapui.model.testsuite.TestProperty |
getProperty(String name) |
int |
getPropertyCount() |
com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] |
getPropertyExpansions() |
String |
getPropertyNameAt(int arg0) |
String[] |
getPropertyNames() |
int |
getRecordsPerIteration() |
int |
getRowCount() |
String |
getStartRow() |
com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder |
getTestPropertyHolder() |
com.eviware.soapui.model.support.XPathReference[] |
getXPathReferences() |
boolean |
isCompleteLastOperation() |
boolean |
isEntitizeValues() |
boolean |
isExpandProperties() |
boolean |
isFailOnEmpty() |
boolean |
isGotoLoopOnEmpty() |
boolean |
isPreload() |
boolean |
isRestartOnRun() |
boolean |
isRestartShared() |
boolean |
isRunActionEnabled() |
boolean |
isShared() |
boolean |
isStopActionAvailable() |
boolean |
isTrimValues() |
String |
isValidPropertyName(String name) |
void |
moveProperty(String propertyName,
int targetIndex) |
boolean |
next(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
void |
prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) |
void |
release() |
void |
removeProperties(List<String> names) |
com.eviware.soapui.model.testsuite.TestProperty |
removeProperty(String name) |
boolean |
renameProperty(String name,
String newName) |
boolean |
repositionAtStartRow(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
void |
resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config) |
void |
resolve(com.eviware.soapui.support.resolver.ResolveContext<?> context) |
void |
restart(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
com.eviware.soapui.model.testsuite.TestStepResult |
run(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner,
com.eviware.soapui.model.testsuite.TestCaseRunContext context) |
void |
setCompleteLastOperation(boolean completeLastOperation) |
DataSource |
setDataSource(String type) |
void |
setEndRow(String endRow) |
void |
setEntitizeValues(boolean entitizeValues) |
void |
setExpandProperties(boolean expandProperties) |
void |
setFailOnEmpty(boolean failOnEmpty) |
void |
setGotoLoopOnEmpty(boolean gotoLoopOnEmpty) |
void |
setPreload(boolean shared) |
void |
setPreparedProperties(com.eviware.soapui.support.types.StringToStringMap preparedProperties) |
void |
setPropertyNameAt(int arg0,
String newName) |
void |
setRecordsPerIteration(int recordsPerIteration) |
void |
setRestartOnRun(boolean restartOnRun) |
void |
setRestartShared(boolean restartShared) |
void |
setShared(boolean shared) |
void |
setStartRow(String startRow) |
void |
setTrimValues(boolean trimValues) |
addProperty, addProperty, addTestPropertyListener, createNoLicenseResult, deleteProperty, firePropertiesAdded, firePropertiesRemoved, firePropertyAdded, firePropertyMoved, firePropertyRemoved, firePropertyRenamed, firePropertyValueChanged, getFailedResultBasedOnRunContext, getProperties, getPropertyAt, getPropertyList, getPropertyValue, hasProperties, hasProperty, moveProperty, propertyRenamed, removeTestPropertyListener, setPropertyValue
afterCopy, cancel, clone, createPanelBuilder, dependsOn, getDefaultSourcePropertyName, getDefaultTargetPropertyName, getLabel, getModelItem, getPropertiesLabel, getRequiredInterfaces, getTestCase, getTestStepTitle, hasEditor, isDisabled, isForLoadTest, setDisabled, setName
afterLoad, afterSave, clearIdCache, createEventBusMessage, dependsOn, getConfig, getDescription, getExternalAction, getExternalDependencies, getIcon, getId, getName, getParent, getSettings, getWsdlModelItemById, getWsdlModelItemByName, initItemOrder, initWsdlModelItemOrder, resetConfigOnMove, setConfig, setDescription, setExternalAction, setIcon, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, getChildren, getDashboardDbId, getProject, isNotifyPropertyChanged, notifyPropertyChanged, removeModelItemFromConfig, removePropertyChangeListener, removePropertyChangeListener, setDashboardDbId, setNotifyPropertyChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTestPropertyListener, getModelItem, getProperties, getPropertiesLabel, getPropertyAt, getPropertyList, getPropertyValue, hasProperty, removeTestPropertyListener, setPropertyValue
addPropertyChangeListener, addPropertyChangeListener, addTestPropertyListener, getModelItem, getTestCase, removePropertyChangeListener, removePropertyChangeListener, removeTestPropertyListener
public static final String ICON_NAME
public static final String SHARED
public static final String RESTARTSHARED
public static final String RESTARTONRUN
public static final String PRELOAD
public static final String FAILONEMPTY
public static final String GOTOLOOPONEMPTY
public static final String DATASOURCE
public static final String VALUES
public static final String RECORDING_PER_ITERATION_PROPERTY_NAME
public static final String DATASOURCE_TYPE_PROPERTY_NAME
public static final String COMPLETE_LAST_OPERATION_PROPERTY_NAME
public static final int DEFAULT_RECORDS_PER_ITERATION_VALUE
public static final boolean DEFAULT_COMPLETE_LAST_OPERATION_VALUE
public static final String MULTI_RECORD_INDEX_SEPARATOR
public WsdlDataSourceTestStep(com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase testCase, com.eviware.soapui.config.TestStepConfig config, boolean forLoadTest)
public com.eviware.soapui.model.testsuite.TestProperty getProperty(String name)
getProperty
in interface com.eviware.soapui.model.TestPropertyHolder
getProperty
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
public void resetConfigOnMove(com.eviware.soapui.config.TestStepConfig config)
resetConfigOnMove
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
public com.eviware.soapui.model.testsuite.TestStepResult run(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context)
run
in interface com.eviware.soapui.model.testsuite.TestStep
public void restart(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context) throws Exception
Exception
public boolean isShared()
public void setShared(boolean shared)
public boolean isRestartShared()
public void setRestartShared(boolean restartShared)
public boolean isRestartOnRun()
public void setRestartOnRun(boolean restartOnRun)
public boolean isFailOnEmpty()
public void setFailOnEmpty(boolean failOnEmpty)
public boolean isGotoLoopOnEmpty()
public void setGotoLoopOnEmpty(boolean gotoLoopOnEmpty)
public boolean isPreload()
public void setPreload(boolean shared)
public String getEndRow()
public void setEndRow(String endRow)
public String getStartRow()
public void setStartRow(String startRow)
public int getRecordsPerIteration()
public void setRecordsPerIteration(int recordsPerIteration)
public boolean isCompleteLastOperation()
public void setCompleteLastOperation(boolean completeLastOperation)
public com.eviware.soapui.model.testsuite.TestProperty removeProperty(String name)
removeProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
removeProperty
in interface DataSourceContainer
public void removeProperties(List<String> names)
removeProperties
in interface DataSourceContainer
public com.eviware.soapui.model.testsuite.TestProperty addProperty(String name)
addProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
addProperty
in interface DataSourceContainer
public void addProperties(List<String> names)
addProperties
in interface DataSourceContainer
public void finish(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context)
finish
in interface com.eviware.soapui.model.testsuite.TestStep
finish
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
public int getCurrentRow()
public void prepare(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext testRunContext) throws Exception
prepare
in interface com.eviware.soapui.model.testsuite.TestStep
prepare
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
Exception
public boolean next(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context) throws Exception
Exception
public boolean isEntitizeValues()
public void setEntitizeValues(boolean entitizeValues)
public boolean isTrimValues()
public void setTrimValues(boolean trimValues)
public boolean isExpandProperties()
public void setExpandProperties(boolean expandProperties)
public int getRowCount()
public boolean repositionAtStartRow(com.eviware.soapui.model.testsuite.TestCaseRunner testRunner, com.eviware.soapui.model.testsuite.TestCaseRunContext context) throws Exception
repositionAtStartRow
in interface DataSourceContainer
Exception
public DataSource getDataSource()
getDataSource
in interface DataSourceContainer
public DataSource setDataSource(String type)
setDataSource
in interface DataSourceContainer
public String getDataSourceType()
public int getPropertyCount()
getPropertyCount
in interface DataSourceContainer
getPropertyCount
in interface com.eviware.soapui.model.TestPropertyHolder
getPropertyCount
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
public String getPropertyNameAt(int arg0)
public void setPropertyNameAt(int arg0, String newName)
public com.eviware.soapui.config.DataSourceStepConfig getDataSourceStepConfig()
public com.eviware.soapui.config.DataSourceContainerConfig getDataSourceContainerConfig()
getDataSourceContainerConfig
in interface DataSourceContainer
public String[] getPropertyNames()
getPropertyNames
in interface DataSourceContainer
getPropertyNames
in interface com.eviware.soapui.model.TestPropertyHolder
getPropertyNames
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
public com.eviware.soapui.support.types.StringList getOrderedPropertyNames()
getOrderedPropertyNames
in interface DataSourceContainer
public void beforeSave()
beforeSave
in class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
public com.eviware.soapui.model.propertyexpansion.PropertyExpansion[] getPropertyExpansions()
getPropertyExpansions
in interface com.eviware.soapui.model.propertyexpansion.PropertyExpansionContainer
public com.eviware.soapui.model.support.XPathReference[] getXPathReferences()
getXPathReferences
in interface com.eviware.soapui.model.support.XPathReferenceContainer
public void resolve(com.eviware.soapui.support.resolver.ResolveContext<?> context)
resolve
in class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
protected void addExternalDependencies(List<com.eviware.soapui.impl.wsdl.support.ExternalDependency> dependencies)
addExternalDependencies
in class com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem<com.eviware.soapui.config.TestStepConfig>
public String isValidPropertyName(String name)
isValidPropertyName
in interface DataSourceContainer
public boolean renameProperty(String name, String newName)
renameProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
renameProperty
in interface DataSourceContainer
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
moveProperty
in interface DataSourceContainer
moveProperty
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
public com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder getTestPropertyHolder()
getTestPropertyHolder
in interface DataSourceContainer
public com.eviware.soapui.support.types.StringToStringMap getPreparedProperties()
getPreparedProperties
in interface DataSourceContainer
public void setPreparedProperties(com.eviware.soapui.support.types.StringToStringMap preparedProperties)
setPreparedProperties
in interface DataSourceContainer
public AbstractResourceContainer<DatabaseConnection> getDatabaseConnectionContainer()
getDatabaseConnectionContainer
in interface DataSourceContainer
public void afterCreateFromGUI()
afterCreateFromGUI
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep
public void release()
release
in interface com.eviware.soapui.model.Releasable
release
in class com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStepWithProperties
public boolean isRunActionEnabled()
isRunActionEnabled
in interface com.smartbear.ready.ui.toolbar.ToolbarStateProvider
public boolean isStopActionAvailable()
isStopActionAvailable
in interface com.smartbear.ready.ui.toolbar.ToolbarStateProvider
Copyright © 2019. All rights reserved.