When the Restful return value is XML and the XML contains the namespace use code:
println response.getResponseText(),
just the first line of content can be printed:
XXX
fully response:
<?xml version="1.0" encoding="UTF-8"?>
<xxxxxx:view name=“xxx_xxx_xxx_xxx_xxx” xmlns=“http://xxx.xxx.xxx/restful/xxx” xmlns:xxxxx=“xxxxxx.com - xxx sex videos free hd porn Resources and Information.” xmlns:atom=“Atom Syndication Format namespace” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<xxx_xxx_xxx_xxx_xxx>
XXX
X-XXXX
Fxxxxx Fxx - Sxxx Fxx
Mxxxxx Fxxxx
…
…
…
…
…
Ibus
2
2019-02-22 09:20:31.117 e[34mINFO e[0;39m e[36mc.k.k.core.main.WSVerificationExecutor -e[0;39m e[39m--------------------e[0;39m
2019-02-22 09:20:31.119 e[34mINFO e[0;39m e[36mc.k.k.core.main.WSVerificationExecutor -e[0;39m e[39mSTART Verificatione
Thank you for your quick support.
Use the getResponseText() return value is empty
[0;39m
2019-02-22 09:20:31.545 e[39mDEBUGe[0;39m e[36mtestcase. -e[0;39m e[39m1: request = getInstance().getCurrentRequest()e[0;39m
2019-02-22 09:20:31.638 e[39mDEBUGe[0;39m e[36mtestcase. -e[0;39m e[39m2: response = getInstance().getCurrentResponse()e[0;39m
2019-02-22 09:20:32.276 e[39mDEBUGe[0;39m e[36mtestcase. -e[0;39m e[39m3: println(response.getBodyContent())e[0;39m
com.kms.katalon.core.testobject.impl.HttpTextBodyContent@4febb875
2019-02-22 09:20:32.287 e[34mINFO e[0;39m e[36mc.k.k.core.main.WSVerificationExecutor -e[0;39m e[39mEND Verification