Testranger
12 years agoContributor
soapUI stripping comments
Hi all,
I'm using groovy to generate xml request content, however it is seems to be ignoring blank comment elements. Leaving:
<ns18:riskAnalysis>
<ns18:risk>LOCATION</ns18:risk>
<ns18:type>PROPERTY</ns18:type>
<ns18:rating>1</ns18:rating>
</ns18:riskAnalysis>
Should be:
<ns18:riskAnalysis>
<ns18:risk>LOCATION</ns18:risk>
<ns18:type>PROPERTY</ns18:type>
<ns18:comment/>
<ns18:rating>1</ns18:rating>
</ns18:riskAnalysis>
Is there a setting to stop this happening? I need to have this here, so that testers are aware of the option to add a comment.
Regards,
Testranger
I'm using groovy to generate xml request content, however it is seems to be ignoring blank comment elements. Leaving:
<ns18:riskAnalysis>
<ns18:risk>LOCATION</ns18:risk>
<ns18:type>PROPERTY</ns18:type>
<ns18:rating>1</ns18:rating>
</ns18:riskAnalysis>
Should be:
<ns18:riskAnalysis>
<ns18:risk>LOCATION</ns18:risk>
<ns18:type>PROPERTY</ns18:type>
<ns18:comment/>
<ns18:rating>1</ns18:rating>
</ns18:riskAnalysis>
Is there a setting to stop this happening? I need to have this here, so that testers are aware of the option to add a comment.
Regards,
Testranger