Hi Nikita,
You can use try using below script for decoding :
-----------------------------------------------------------------------------
import org.apache.commons.codec.binary.Base64;
String EnMssg = testExec.getStateValue("propertyname");
byte[] decodedMessage = Base64.decodeBase64(EnMssg.getBytes());
String msg = new String(decodedMessage);
testExec.setStateValue("decodedMsg", msg);
-----------------------------------------------------------------
Thanks
------------------------------
Regards,
Vaibhav Jain
Capgemini
------------------------------
Original Message:
Sent: 07-07-2020 06:10 AM
From: Nikita Chiplunkar
Subject: Re: how to disable encoding on VSE server.
The encoding type is base64.
Service is created using RR pair.
Original Message:
Sent: 07-07-2020 06:03 AM
From: Vaibhav Jain
Subject: Re: how to disable encoding on VSE server.
Hi Pradeep,
Are you able to identify the encoding type in the message?
Also, have you created the virtual service using R-R pair or recording? What encoding was selected at that time.
Thanks.
------------------------------
Regards,
Vaibhav Jain
Capgemini
Original Message:
Sent: 11-30-2017 04:11 AM
From: Pradeep Mekala
Subject: Re: how to disable encoding on VSE server.
Thanks for the input.
Actual issue is that application is sending the message in text format but VSE is converting that to encoded format.
we have tested in ITR mode in our local machine and we can see the message in text format.
but when we deploy the VSM on VSE server we see VSE is encoding the messages.
is there any configration setting in VSE where we can disable the encoding.