WsdlTestCase testCase = testSuite.getTestCaseByName(testCaseName);
HashMap<String, Object> firstSamplerSettings;
// String loadUITestCaseAddedTo = "";
String loadUIProjectAddedTo = "";
if (testCase != null) {
WsdlLoadTest loadTest = (WsdlLoadTest) testCase.getLoadTestByName(loadTestName);
if (loadTest != null) {
firstSamplerSettings = exportLoadTestToLoadUI(loadTest, loadUIProject, CREATE_NEW_OPTION,
CREATE_NEW_OPTION);
// loadUITestCaseAddedTo = ( String )firstSamplerSettings.get(
// ContextMapping.LOADUI_TEST_CASE_NAME );
loadUIProjectAddedTo = (String) firstSamplerSettings.get(ContextMapping.LOADUI_PROJECT_NAME);
}
}
for (int i = 1; i < loadTests.length; i++) {
compositeLoadTestName = loadTests[i];
loadTestName = loadTests[i];
WsdlLoadTest loadTest = (WsdlLoadTest) testCase.getLoadTestByName(loadTestName);
testCaseName = names[0];
loadTestName = names[1];
testCase = testSuite.getTestCaseByName(testCaseName);
if (testCase != null) {
loadTest = (WsdlLoadTest) testCase.getLoadTestByName(loadTestName);