I'm not sure if it is exactly what you are looking for but it might help:I mixed request and response. Here the new answer:
Ivy.log().debug(Response.getCurrentResponse().toString());Map<String,Object> map= Request.getCurrentRequest().getParameters();
Iterator it = map.entrySet().iterator();
while (it.hasNext()) {
Map.Entry pairs = (Map.Entry)it.next();
Ivy.log().debug(pairs.getKey() + " = " + pairs.getValue());
it.remove();
}
You may need to add a script/java step before you return This should print the value and add all parameters of the line above. request.