[Webtest] ANT Parallel task

Diana Huang (AU) Diana Huang (AU)" <Diana.Huang@didata.com.au
Thu, 17 Jul 2008 16:46:56 +1000


--_000_61C24392E6E0FA40A3CB8AA8F31DB4132B492B4DEFAUNDDEXMBS01a_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

I have to trigger concurrent tests. I tried the following ways

<parallel threadCount=3D'6'>
                  <ant antfile=3D"call_bpts_001.xml"/>
                  <ant antfile=3D"call_bpts_002.xml"/>
                  <ant antfile=3D"call_bpts_003.xml"/>
                  <ant antfile=3D"call_bpts_004.xml"/>
                  <ant antfile=3D"call_bpts_005.xml"/>
                  <ant antfile=3D"call_bpts_006.xml"/>
</parallel>


The issue is sometimes the previous code works pretty well (trigger 6 tests=
), but sometimes it only picks up a few and ends up NullPointerException.

Wondering anyone has an idea on this?

Diana Huang

CIS-DIDATA
P: 0396264247
M: 0417468079
E: diana.huang@didata.com.au




***************************************************************************=
***
 - NOTICE FROM DIMENSION DATA AUSTRALIA
This message is confidential, and may contain proprietary or legally privil=
eged information.  If you have received this email in error, please notify =
the sender and delete it immediately.

Internet communications are not secure. You should scan this message and an=
y attachments for viruses.  Under no circumstances do we accept liability f=
or any loss or damage which may result from your receipt of this message or=
 any attachments.
***************************************************************************=
***

--_000_61C24392E6E0FA40A3CB8AA8F31DB4132B492B4DEFAUNDDEXMBS01a_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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 lang=3DEN-AU link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>Hi,<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>I have to trigger concurrent tests. I tried the follow=
ing
ways<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Courier New";color:navy'>&lt;parallel</span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> </span><s=
pan
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>threadCount=
=3D</span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>'6'</span>=
<span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>&gt;</span>=
<span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><=
span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;ant</sp=
an><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> </span><s=
pan
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>antfile=3D<=
/span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>&quot;call=
_bpts_001.xml&quot;</span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>/&gt;</span=
><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><=
span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;ant</sp=
an><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> </span><s=
pan
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>antfile=3D<=
/span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>&quot;call=
_bpts_002.xml&quot;</span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>/&gt;</span=
><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><=
span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;ant</sp=
an><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> </span><s=
pan
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>antfile=3D<=
/span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>&quot;call=
_bpts_003.xml&quot;</span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>/&gt;</span=
><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><=
span
style=3D'font-size:10.0pt;font-family:"Courier New"'>&lt;ant
antfile=3D&quot;call_bpts_004.xml&quot;/&gt;<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><=
span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;ant</sp=
an><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> </span><s=
pan
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>antfile=3D<=
/span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>&quot;call=
_bpts_005.xml&quot;</span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>/&gt;</span=
><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Courier New";color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><=
span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>&lt;ant</sp=
an><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> </span><s=
pan
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>antfile=3D<=
/span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:green'>&quot;call=
_bpts_006.xml&quot;</span><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:navy'>/&gt;</span=
><span
style=3D'font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:navy'>&lt;/parallel&gt;<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:navy'>The issue is sometimes the previous code works pretty well (tri=
gger
6 tests), but sometimes it only picks up a few and ends up
NullPointerException.<o:p></o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span style=3D'font-size:10.0pt;font-family:"Courier N=
ew";
color:navy'>Wondering anyone has an idea on this?</span><o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>Diana Huang<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal>CIS-DIDATA<o:p></o:p></p>

<p class=3DMsoNormal>P: 0396264247<o:p></o:p></p>

<p class=3DMsoNormal>M: 0417468079<o:p></o:p></p>

<p class=3DMsoNormal>E: diana.huang@didata.com.au<o:p></o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>


<p><span style=3D"font-family:'Arial';font-size:8pt;">*********************=
*********************************************************</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;"> - NOTICE FROM DIMENS=
ION DATA AUSTRALIA</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">This message is confi=
dential, and may contain proprietary or legally privileged information.  If=
 you have received this email in error, please notify the sender and delete=
 it immediately.</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;"></span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">&nbsp;</span></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">Internet communicatio=
ns are not secure. You should scan this message and any attachments for vir=
uses.  Under no circumstances do we accept liability for any loss or damage=
 which may result from your receipt of this message or any attachments.</sp=
an></p>
<p><span style=3D"font-family:'Arial';font-size:8pt;">*********************=
*********************************************************</span></p></body>

</html>

--_000_61C24392E6E0FA40A3CB8AA8F31DB4132B492B4DEFAUNDDEXMBS01a_--