}
public void addConfig(InputStream config, ClassLoader classLoader) {
try {
SoapuiActionsDocumentConfig configDocument = SoapuiActionsDocumentConfig.Factory.parse(config);
SoapUIActionsConfig soapuiActions = configDocument.getSoapuiActions();
for (SoapUIActionConfig action : soapuiActions.getActionList()) {
try {
String id = action.getId();
Class<?> actionClass = Class.forName(action.getActionClass(), true, classLoader);
addAction(id, (SoapUIAction) actionClass.newInstance());
} catch (Exception e) {
SoapUI.logError(e);
e.printStackTrace();
}
}
for (SoapUIActionGroupConfig group : soapuiActions.getActionGroupList()) {
SoapUIActionGroup actionGroup;
// modify existing?
String groupId = group.getId();
if (actionGroups.containsKey(groupId)) {