public class WsdlTestCase extends AbstractTestPropertyHolderWsdlModelItem
TestCase implementation for WSDL projects
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
ICON_NAME |
|
static java.lang.String |
SETUP_SCRIPT_NAME |
|
static java.lang.String |
TEARDOWN_SCRIPT_NAME |
|
static java.lang.String |
TEST_STEPS_PROPERTY |
Constructor and description |
---|
WsdlTestCase
(WsdlTestSuite testSuite, TestCaseConfig config, boolean forLoadTest) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
addAsFirstTestRunListener(TestRunListener listener) |
|
WsdlLoadTest |
addNewLoadTest(java.lang.String name) |
|
SecurityTest |
addNewSecurityTest(java.lang.String name) |
|
void |
addTestCaseListener(TestCaseListener listener) |
|
void |
addTestRunListener(TestRunListener listener) |
|
WsdlTestStep |
addTestStep(TestStepConfig stepConfig) |
|
WsdlTestStep |
addTestStep(java.lang.String type, java.lang.String name) |
|
WsdlTestStep |
addTestStep(java.lang.String type, java.lang.String name, java.lang.String endpoint, java.lang.String method) |
|
WsdlTestStep |
addTestStepNoTracking(TestStepConfig stepConfig) |
|
void |
afterCopy(WsdlTestSuite oldTestSuite, WsdlTestCase oldTestCase) |
|
void |
assignTag(java.lang.String tagId) |
|
WsdlLoadTest |
buildLoadTest(LoadTestConfig tsc) |
|
SecurityTest |
buildSecurityTest(SecurityTestConfig addNewSecurityTest) |
|
void |
clearSecurityTests() |
|
void |
clearTestSteps() |
|
WsdlLoadTest |
cloneLoadTest(WsdlLoadTest loadTest, java.lang.String name) |
|
SecurityTest |
cloneSecurityTest(SecurityTest securityTest, java.lang.String name) |
|
WsdlTestStep |
cloneStep(WsdlTestStep testStep, java.lang.String name) |
|
void |
exportTestCase(java.io.File file) |
<T extends TestStep> |
T |
findNextStepOfType(TestStep referenceStep, java.lang.Class<T> stepClass) |
<T extends TestStep> |
T |
findPreviousStepOfType(TestStep referenceStep, java.lang.Class<T> stepClass) |
|
void |
fireTagAssigned(java.lang.String tagId) |
|
void |
fireTagRemoved(java.lang.String tagId) |
|
boolean |
getAmfAuthorisation() |
|
java.lang.String |
getAmfEndpoint() |
|
java.lang.String |
getAmfLogin() |
|
java.lang.String |
getAmfPassword() |
|
AuthProfileHolder |
getAuthProfileHolder() |
|
java.util.List<? extends ModelItem> |
getChildren() |
|
boolean |
getDiscardOkResults() |
|
boolean |
getFailOnError() |
|
boolean |
getFailTestCaseOnErrors() |
|
int |
getIndexOfLoadTest(LoadTest loadTest) |
|
int |
getIndexOfSecurityTest(SecurityTest securityTest) |
|
int |
getIndexOfTestStep(TestStep step) |
|
boolean |
getKeepSession() |
|
java.lang.String |
getLabel() |
|
WsdlLoadTest |
getLoadTestAt(int index) |
|
LoadTest |
getLoadTestByName(java.lang.String loadTestName) |
|
int |
getLoadTestCount() |
|
java.util.List<LoadTest> |
getLoadTestList() |
|
java.util.Map<java.lang.String, LoadTest> |
getLoadTests() |
|
int |
getMaxResults() |
|
java.lang.String |
getPropertiesLabel() |
|
StringToObjectMap |
getRunFromHereContext() |
|
int |
getSavedRecentTestRunsLimit() |
|
boolean |
getSearchProperties() |
|
SecurityTest |
getSecurityTestAt(int index) |
|
SecurityTest |
getSecurityTestByName(java.lang.String securityTestName) |
|
int |
getSecurityTestCount() |
|
java.util.List<SecurityTest> |
getSecurityTestList() |
|
java.util.Map<java.lang.String, SecurityTest> |
getSecurityTests() |
|
java.util.List<TestStep> |
getServiceVDependentTestSteps() |
|
java.lang.String |
getSetupScript() |
|
java.util.Set<java.lang.String> |
getTagIds() |
|
java.lang.String |
getTearDownScript() |
|
TestRunListener[] |
getTestRunListeners() |
|
WsdlTestStep |
getTestStepAt(int index) |
|
TestStep |
getTestStepById(java.util.UUID testStepId) |
|
WsdlTestStep |
getTestStepByName(java.lang.String stepName) |
|
int |
getTestStepCount() |
|
int |
getTestStepIndexByName(java.lang.String stepName) |
|
java.util.List<TestStep> |
getTestStepList() |
|
java.util.Map<java.lang.String, TestStep> |
getTestSteps() |
<T extends TestStep> |
java.util.List<T> |
getTestStepsOfType(java.lang.Class<T> stepType) |
|
java.util.Map<java.lang.String, TestStep> |
getTestStepsOrdered() |
|
WsdlTestSuite |
getTestSuite() |
|
long |
getTimeout() |
|
java.lang.String |
getWsrmAckTo() |
|
boolean |
getWsrmEnabled() |
|
long |
getWsrmExpires() |
|
java.lang.String |
getWsrmVersion() |
|
java.lang.String |
getWsrmVersionNamespace() |
|
java.lang.String |
getZephyrTestId() |
|
java.lang.String |
getZephyrTestName() |
|
java.util.List<ZephyrTestItem> |
getZephyrTests() |
|
boolean |
hasTags() |
|
void |
importSecurityTests(WsdlTestCase oldTestCase) |
|
WsdlTestStep |
importTestStep(WsdlTestStep testStep, java.lang.String name, int index, boolean createCopy) |
|
WsdlTestStep[] |
importTestSteps(WsdlTestCase oldTestCase, WsdlTestStep[] testSteps, int index, boolean createCopies) |
|
void |
insertNewStep(WsdlTestStepFactory factory, int index) |
|
void |
insertNewStep(WsdlTestStepFactory factory, int index, ReadyApiActions action) |
|
void |
insertNewStep(WsdlTestStepFactory factory, int index, Source source) |
|
void |
insertNewStep(WsdlTestStepFactory factory, int index, ReadyApiActions action, Source source) |
|
WsdlTestStep |
insertTestStep(java.lang.String type, java.lang.String name, int index) |
|
WsdlTestStep |
insertTestStep(TestStepConfig stepConfig, int ix) |
|
WsdlTestStep |
insertTestStep(WsdlTestCase oldTestCase, TestStepConfig stepConfig, int ix, boolean clearIds) |
|
WsdlTestStep[] |
insertTestSteps(WsdlTestCase oldTestCase, TestStepConfig[] stepConfig, int ix, boolean clearIds) |
|
boolean |
isDebugActionAvailable() |
|
boolean |
isDisabled() |
|
boolean |
isForLoadTest() |
|
boolean |
isTagAssigned(java.lang.String tagId) |
|
boolean |
isTagsAssigned(java.util.Set<java.lang.String> tagIds) |
|
boolean |
isTagsAssigned(java.util.Set<java.lang.String> tagIds, boolean needAllTags) |
|
void |
moveTestStep(int ix, int offset) Moves a step by the specified offset, a bit awkward since xmlbeans doesn't support reordering of arrays, we need to create copies of the contained XmlObjects |
|
void |
release() |
|
void |
removeAllSecurityTests() |
|
void |
removeAllTags() |
|
void |
removeLoadTest(WsdlLoadTest loadTest) |
|
void |
removeSecurityTest(SecurityTest securityTest) |
|
void |
removeTag(java.lang.String tagId) |
|
void |
removeTestCaseListener(TestCaseListener listener) |
|
void |
removeTestRunListener(TestRunListener listener) |
|
void |
removeTestStep(WsdlTestStep testStep) |
|
void |
resetConfigOnMove(TestCaseConfig testCaseConfig) |
|
WsdlTestCaseRunner |
run(StringToObjectMap context, boolean async) |
|
WsdlTestCaseRunner |
run(StringToObjectMap context, boolean async, boolean debugScripts) |
|
java.lang.Object |
runSetupScript(TestCaseRunContext runContext, TestCaseRunner runner) |
|
java.lang.Object |
runTearDownScript(TestCaseRunContext runContext, TestCaseRunner runner) |
|
void |
setAmfAuthorisation(boolean enabled) |
|
void |
setAmfEndpoint(java.lang.String endpoint) |
|
void |
setAmfLogin(java.lang.String login) |
|
void |
setAmfPassword(java.lang.String password) |
|
void |
setDisabled(boolean disabled) |
|
void |
setDiscardOkResults(boolean discardOkResults) |
|
void |
setFailOnError(boolean failOnError) |
|
void |
setFailTestCaseOnErrors(boolean failTestCaseOnErrors) |
|
void |
setKeepSession(boolean keepSession) |
|
void |
setMaxResults(int maxResults) |
|
void |
setName(java.lang.String name) |
|
void |
setRunFromHereContext(StringToObjectMap runFromHereContext) |
|
void |
setSavedRecentTestRunsLimit(int testRunsToSave) |
|
void |
setSearchProperties(boolean searchProperties) |
|
void |
setSetupScript(java.lang.String script) |
|
void |
setTearDownScript(java.lang.String script) |
|
void |
setTimeout(long timeout) |
|
void |
setWsrmAckTo(java.lang.String ackTo) |
|
void |
setWsrmEnabled(boolean enabled) |
|
void |
setWsrmExpires(java.lang.Long expires) |
|
void |
setWsrmVersion(java.lang.String version) |
|
void |
setZephyrTestId(java.lang.String zephyrTestId) |
|
void |
setZephyrTestName(java.lang.String zephyrTestName) |
Moves a step by the specified offset, a bit awkward since xmlbeans doesn't support reordering of arrays, we need to create copies of the contained XmlObjects
ReadyAPI functional (soapui) SDK 3.20.1