String namespace = mapping.getNamespace();
String name = mapping.getName();
String method = mapping.getMethod();
ActionProxy proxy = this.actionProxyFactory.createActionProxy(namespace, name, method, new HashMap<String, Object>(), true, false);
TestActionProxy testProxy = new TestActionProxy(proxy);
testProxy.addExecutionListener(this);
this.actionFromProxy = (T) proxy.getAction();
proxy.setExecuteResult(isExecuteResult());
ActionContext invocationContext = proxy.getInvocation().getInvocationContext();
invocationContext.setParameters(new HashMap<String, Object>(request.getParameterMap()));
invocationContext.setSession(session);