Hi,

thanks for this coment:

********************
WebTest's not step is intended only to catch WebTest failures (ie not
errors and not BuildException from other steps).

You can simply create an own project specific step for that.
**************************
I understand it, but I still dont understand, how I can solve my problem:
the test should be successfull. It should successfully check, that its not
possible to go to the ftp-server.

Willi


*************************************

2008/1/11, Willi Kuhnis <[EMAIL PROTECTED]>:
> Hi,
>
> I want to test the access to a FTP-server.
> When I enable the connection to the ftp server,
> I can download files and also list works fine.
> Now I disabled the connection to the FTP-server.
> How can I test this?
> I tried it with something like this:
> *************
> <not description="must not be possible">
>         <ftp action="list"
>                 server="10.60.36.11"
>                 port ="#{PortValue}"
>                 userid="${ftp.user}" password="${ftp.password}"
>                 verbose="yes"
>                 remotedir="Data/Myvalues"
>                 listing="c:\aaaaaaaa\listing.txt">
>                 <fileset>
>                         <include name="**"/>
>                 </fileset>
>         </ftp>
> </not>
> ***************
> But I still get a error-message:
> error during FTP transfer: java.net.ConnectException: Connection
> refused: connect
>
> My Question:
> How can I check successfully, when its not allowed to access the ftp-server ?
>
> --
> Willi Kuhnis
> [EMAIL PROTECTED]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>


-- 
Willi Kuhnis
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to