HI,

I am using anteater testing tool in my ant build, to test few URLS as smoke
test.
So am using the <httprequest>, <match>,<responsecode>, to validate my URLS.
I am trying to capture the result of this testinng with assign attribute as
in match,which i could use later with <if> condition. The anteater manual
page (test tasks) decribes the same,
However, when i try to use the same in my build file, it errs out. below is
the code snippet.

<httprequest>
 <match>
  <regexp assign ="var">${var1}</regexp>
</match>
<if>
<isset property="var"/>
<then>
<do somethin>
</then>
</if>
</httprequest>

The same code example as been given in the manuals too. however, when ran it
gave the below error.
"The <httpRequest> task doesn't support the nested "if" element."
 
Any help please?

Regards,
Pooja




-- 
View this message in context: 
http://old.nabble.com/Using-anteater-in-ant-tp28215650p28215650.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to