AnsweredAssumed Answered

How to Preserve incoming request in request.mainpart after xslt transformation assertion.

Question asked by Anwesh.elisetty on Mar 6, 2019
Latest reply on Mar 6, 2019 by Mark_HE



We need to preserve incoming request to use across multiple Apply xslt Transformation assertions.


As of now when we Apply xslt Transformation assertion on Request it will overwrite request.mainpart with the output of xslt.  The problem we are facing is after the transformation if we try to use xsl:message function in xslt the request.mainpart  is null.




any advice on how to preserve the original request besides using context variables?


I don’t see an option to create multiple variables with a single apply xslt transform assertion.

My use case:


I need to capture some parameters in a request and store them in a variable in order to use them in response.

Also I need to do namespace transformation on request.