for (int i = 0; i < items.length; i++) {
if (items[i].getName().equals("property")) { // $NON-NLS-1$
JMeterProperty prop = createProperty(items[i], testClass);
if (prop!=null) map.put(prop.getName(), prop);
} else if (items[i].getName().equals("testelement")) { // $NON-NLS-1$
map.put(items[i].getAttribute("name", ""), new TestElementProperty(items[i].getAttribute("name", ""), // $NON-NLS-1$ // $NON-NLS-2$
createTestElement(items[i])));
} else if (items[i].getName().equals("collection")) { // $NON-NLS-1$
map.put(items[i].getAttribute("name"), // $NON-NLS-1$
new CollectionProperty(items[i].getAttribute("name", ""), // $NON-NLS-1$ // $NON-NLS-2$
createCollection(items[i], testClass)));