}
private void generateMulipleTestCases(WsdlTestSuite testSuite, WsdlInterface iface, boolean useExisting,
boolean createLoadTest, List<String> operations) {
for (int i = 0; i < iface.getOperationCount(); i++) {
WsdlOperation operation = iface.getOperationAt(i);
if (!operations.contains(operation.getName())) {
continue;
}
WsdlTestCase testCase = testSuite.addNewTestCase(operation.getName() + " TestCase");
if (useExisting && operation.getRequestCount() > 0) {
for (int x = 0; x < operation.getRequestCount(); x++) {
testCase.addTestStep(WsdlTestRequestStepFactory.createConfig(operation.getRequestAt(x),
operation.getName()));
}
} else {
testCase.addTestStep(WsdlTestRequestStepFactory.createConfig(operation, operation.getName()));
}
if (createLoadTest) {
testCase.addNewLoadTest("LoadTest 1");
}