AnsweredAssumed Answered

How to make setStateValue not Truncate String we set

Question asked by Theneskumar on Mar 14, 2018
Latest reply on Mar 14, 2018 by Theneskumar

When we setting up incoming request/response in to user defined property using  setStateValue, we are seeing string got truncated and we are not able to get complete XML in DevTest 10.1. Is there any way we can set up the property to do not truncate the value.


Sample Code: 

testExec.raiseEvent(212, "VSE_INFO[REQUEST]", testExec.getStateValue("lisa.vse.http.current.transaction.body").toString());
testExec.raiseEvent(212, "VSE_INFO[RESPONSE]", lisa_vse_response.getBodyAsString());




<?xml version="1.0" encoding="UTF-8" standalone="yes"?><SOAP-ENV:Envelope xmlns:ns6=""><root><ns3:hostName></ns3:hostName><ns3:billingAU>13205</ns3:_TRUNCATED_