Ask a Question

How to modify subreport: SecurityTestStepResultsReport $F{log} log information with more detail.

liulucy
Occasional Contributor

How to modify subreport: SecurityTestStepResultsReport $F{log} log information with more detail.

Below is SecurityTestStepResultsReport subreport that display information on the report using message title with $F{log} value. but log information display is very general, not detailed to display response information. I want to display as log transaction exported information on this security detail report. how I can use groovy code to modify $F{log} information to add more detail in here.

 

How I can print out the $F{log} information from groovy code?

 

 

Thanks,

 

<detail>
<band height="21" splitType="Prevent">
<textField textAdjust="StretchHeight">
<reportElement x="56" y="5" width="479" height="14"/>
<textElement/>
<textFieldExpression class="java.lang.String">$F{log}</textFieldExpression>
</textField>
<textField pattern="">
<reportElement style="statusStyle" stretchType="RelativeToTallestObject" x="0" y="4" width="45" height="15" isPrintWhenDetailOverflows="true"/>
<box topPadding="1" leftPadding="1"/>
<textElement/>
<textFieldExpression class="java.lang.String">$F{status}.replaceFirst( "_", " " )</textFieldExpression>
</textField>
</band>
</detail>

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: