WebResource w1 = createWorkspace(c);
createBundle(c, w1, "a1", "b1", "1.0.0", b1.toURI().toURL().toString(), BundleHelper.MIMETYPE);
createBundle(c, w1, "a2", "b2", "1.0.0", b2.toURI().toURL().toString(), BundleHelper.MIMETYPE);
createTarget(c, w1, "t1");
w1.post();
w1.delete();
for (int i = 0; i < nr; i++) {
WebResource w = createWorkspace(c);
createAssociationA2F(c, w, "artifact2feature", "a1", "feat-1-" + i);
createAssociationA2F(c, w, "artifact2feature", "a2", "feat-2-" + i);