[Webtest] logging reference

Patrick Burghardt Patrick Burghardt" <PBurghardt@advantageiq.com
Mon, 8 Aug 2011 09:53:29 -0400


This is a multi-part message in MIME format.

------_=_NextPart_001_01CC55D2.8E0476CD
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Can anyone direct me to a good reference on logging?  

 

I have two questions that I am investigating:

 

1.  How can I mask certain fields, such as passwords, in the logs?  For
what it's worth, these are coming from ant properties.

2.  How can I reduce output from an <ifStep> ?  In the example that I
have seen, the test gets partly through the else section before failing.
The log shows the completed, failed, and notexecuted steps from that
section, but then repeats the entire else section with result
notexecuted.

 

Thanks.


=C2=A0
Patrick Burghardt
Software Engineer II
Advantage IQ, Inc.
D (513) 763-3107=C2=A0n=C2=A0F 
PBurghardt@advantageiq.com=C2=A0n=C2=A0http://www.advantageiq.com/=C2=A0=C2=
=A0n=C2=A01-866-322-4547

Smart Resource Management
CONFIDENTIALITY NOTICE: This email transmittal and any accompanying attachme=
nts contains information from sender which is business sensitive, proprietar=
y, confidential and may be legally privileged. The information is only for t=
he use of the intended recipient(s). If you are NOT the intended recipient: =
1. Do not read, copy, use or disclose this communication to others; 2. Immed=
iately notify the sender of the error by return email or call 509.329.7606; =
and 3. Delete the original file from your computer system and destroy all co=
pies of the transmittal in any form, including archived copies. 


------_=_NextPart_001_01CC55D2.8E0476CD
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o=3D"urn:schemas-micro=
soft-com:office:office" xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:w=
=3D"urn:schemas-microsoft-com:office:word"><head><META content=3D"text/html;=
 charset=3Dutf-8" http-equiv=3D"Content-Type">

<STYLE><!-- /* Style Definitions */ p.40729812-3f27-49b2-8246-8575a65e5ee6, =
li.40729812-3f27-49b2-8246-8575a65e5ee6, div.40729812-3f27-49b2-8246-8575a65=
e5ee6, table.40729812-3f27-49b2-8246-8575a65e5ee6Table	{margin:0cm; margin-b=
ottom:.0001pt;}div.Section1 {page:Section1;}--></STYLE>

<meta content=3D"text/html; charset=3Dutf-8" http-equiv=3DContent-Type>
<meta content=3D"Microsoft Word 11 (filtered medium)" name=3DGenerator>
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head><BODY>
<DIV>

<div class=3DSection1>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'>Can anyone direct me to a good reference on logging?&nbsp=
; <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'>I have two questions that I am investigating:<o:p></o:p><=
/span></font></p>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'>1.&nbsp; How can I mask certain fields, such as passwords=
,
in the logs?&nbsp; For what it&#8217;s worth, these are coming from ant
properties.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'>2.&nbsp; How can I reduce output from an &lt;ifStep&gt; ?=
&nbsp;
In the example that I have seen, the test gets partly through the else secti=
on
before failing.&nbsp; The log shows the completed, failed, and notexecuted
steps from that section, but then repeats the entire else section with resul=
t
notexecuted.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font face=3DArial size=3D2><span style=3D'font-size:10=
=2E0pt;
font-family:Arial'>Thanks.<o:p></o:p></span></font></p>

</div>

</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV>
<TABLE>
<TBODY>
<TR>
<TD>
<P><FONT COLOR=3D"#336699" FACE=3D"Arial" SIZE=3D"2"><STRONG>Patrick Burghar=
dt</STRONG></FONT></P></TD></TR>
<TR>
<TD>
<P><FONT COLOR=3D"#336699" FACE=3D"Arial" SIZE=3D"2">Software Engineer II </=
FONT></P></TD></TR>
<TR>
<TD><FONT FACE=3D"Arial">
<P><FONT FACE=3D"Arial"><FONT COLOR=3D"#336699" SIZE=3D"2">Advantage IQ, Inc=
=2E </FONT></FONT></P></FONT></TD></TR>
<TR>
<TD><FONT FACE=3D"Arial">
<P><FONT COLOR=3D"#336699" FACE=3D"Arial"><FONT SIZE=3D"2">D (513) 763-3107<=
FONT COLOR=3D"#000000">&nbsp;</FONT><SPAN STYLE=3D"FONT-FAMILY: ZapfDingbats=
; COLOR: #ce8e00; FONT-SIZE: 6pt; mso-bidi-font-size: 12.0pt; mso-fareast-fo=
nt-family: 'Times New Roman'; mso-bidi-font-family: Arial; mso-ansi-language=
: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof=
: yes"><FONT FACE=3D"Wingdings">n</FONT></SPAN><FONT COLOR=3D"#000000">&nbsp=
;</FONT><FONT COLOR=3D"#336699">F </FONT></FONT></FONT></P></FONT></TD></TR>
<TR>
<TD><FONT FACE=3D"Arial">
<P><FONT FACE=3D"Arial"><FONT SIZE=3D"2"><FONT COLOR=3D"#336699">PBurghardt@=
advantageiq.com</FONT>&nbsp;<SPAN STYLE=3D"FONT-FAMILY: ZapfDingbats; COLOR:=
 #ce8e00; FONT-SIZE: 6pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-famil=
y: 'Times New Roman'; mso-bidi-font-family: Arial; mso-ansi-language: EN-US;=
 mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof: yes"><=
FONT FACE=3D"Times New Roman"><SPAN STYLE=3D"FONT-FAMILY: ZapfDingbats; COLO=
R: #ce8e00; FONT-SIZE: 6pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-fam=
ily: 'Times New Roman'; mso-bidi-font-family: Arial; mso-ansi-language: EN-U=
S; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof: yes"=
><FONT FACE=3D"Wingdings">n</FONT></SPAN></FONT></SPAN>&nbsp; </FONT><A HREF=
=3D"http://www.advantageiq.com/"><FONT SIZE=3D"2">www.advantageiq.com</FONT>=
</A><FONT SIZE=3D"2"><SPAN STYLE=3D"FONT-FAMILY: Arial; COLOR: #44697d">&nbs=
p;</SPAN><FONT COLOR=3D"#ce8e00" FACE=3D"ZapfDingbats"><SPAN STYLE=3D"FONT-F=
AMILY: ZapfDingbats; COLOR: #ce8e00; FONT-SIZE: 6pt"><SPAN STYLE=3D"FONT-FAM=
ILY: ZapfDingbats; COLOR: #ce8e00; FONT-SIZE: 6pt; mso-bidi-font-size: 12.0p=
t; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: Arial; =
mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR=
-SA; mso-no-proof: yes"><FONT FACE=3D"Wingdings"><FONT COLOR=3D"#000000" FAC=
E=3D"Arial">&nbsp;</FONT><SPAN STYLE=3D"FONT-FAMILY: ZapfDingbats; COLOR: #c=
e8e00; FONT-SIZE: 6pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: =
'Times New Roman'; mso-bidi-font-family: Arial; mso-ansi-language: EN-US; ms=
o-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof: yes"><FON=
T FACE=3D"Times New Roman"><SPAN STYLE=3D"FONT-FAMILY: ZapfDingbats; COLOR: =
#ce8e00; FONT-SIZE: 6pt; mso-bidi-font-size: 12.0pt; mso-fareast-font-family=
: 'Times New Roman'; mso-bidi-font-family: Arial; mso-ansi-language: EN-US; =
mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof: yes"><F=
ONT FACE=3D"Wingdings">n</FONT></SPAN></FONT></SPAN></FONT><FONT COLOR=3D"#0=
00000" FACE=3D"Arial">&nbsp; </FONT></SPAN></SPAN></FONT><FONT COLOR=3D"#ce8=
e00"><SPAN STYLE=3D"FONT-FAMILY: Arial; COLOR: #ce8e00; FONT-SIZE: 9pt"><FON=
T COLOR=3D"#336699">1-866-322-4547</FONT></SPAN></FONT></FONT></FONT></P></F=
ONT></TD></TR>
<TR>
<TD><FONT FACE=3D"Arial" SIZE=3D"1"><FONT COLOR=3D"#99cccc"><STRONG><FONT CO=
LOR=3D"slategray" FACE=3D"Tahoma" SIZE=3D"2"><EM><BR><FONT COLOR=3D"#808080"=
>Smart Resource Management</FONT><BR></EM></FONT></STRONG></FONT></FONT><FON=
T SIZE=3D"1"><FONT FACE=3D"Arial"><SPAN STYLE=3D"FONT-FAMILY: Arial; FONT-SI=
ZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN=
-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-no-proof: ye=
s"><SPAN STYLE=3D"FONT-FAMILY: Arial; FONT-SIZE: 7.5pt; mso-fareast-font-fam=
ily: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-U=
S; mso-bidi-language: AR-SA; mso-no-proof: yes"><FONT COLOR=3D"#999999">CONF=
IDENTIALITY NOTICE: This email transmittal and any accompanying attachments =
contains information from sender which is business sensitive, proprietary, c=
onfidential and may be legally privileged. The information is only for the u=
se of the intended recipient(s). If you are NOT the intended recipient: 1. D=
o not read, copy, use or disclose this communication to others; 2. Immediate=
ly notify the sender of the error by return email or call 509.329.7606; and =
3. Delete the original file from your computer system and destroy all copies=
 of the transmittal in any form, including archived copies.</FONT></SPAN><SP=
AN STYLE=3D"FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 7.5pt; mso-fareast-fo=
nt-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language=
: EN-US; mso-bidi-language: AR-SA"> <BR></SPAN></SPAN></FONT></FONT><FONT SI=
ZE=3D"1"></FONT><A></A></TD></TR></TBODY></TABLE></DIV>
<P></P></BODY></HTML>

------_=_NextPart_001_01CC55D2.8E0476CD--