Showing results for 
Search instead for 
Did you mean: 

Removing of characters from test responce

Occasional Visitor

Removing of characters from test responce

Hi all,

It has been several years since I last performed a load test with SOAP UI. In the test case, I am transferring the response from one call to another using the property transfer step. As the response from the api consists quotation marks which should not be transferred, I had the following script in the Xpath window of the property transfer step in order to remove those:

def response = messageExchange.responseContent
response = response.replace("""","")


This used to work fine, but it no longer does. I now get an error; Content is not allowed in prolog. Any idea how I can get this back to work?

New Here?
Join us and watch the welcome video:
Top Kudoed Authors