Commit 6d38110a authored by dillense's avatar dillense

added sample test plan and scenario for plug-in testing purpose

parent 56ac49e5
#CLIF test plan
#Thu Aug 13 09:30:14 CEST 2009
blade.0.id=0
blade.0.comment=
blade.0.argument=ftp.xis
blade.0.injector=IsacRunner
blade.0.server=local host
<?xml version="1.0"?>
<!DOCTYPE scenario SYSTEM "classpath:org/ow2/clif/scenario/isac/dtd/scenario.dtd">
<scenario>
<behaviors>
<plugins>
<use id="ftp" name="FtpInjector">
<params>
<param name="id" value=''></param>
</params>
</use>
</plugins>
<behavior id="ftp0">
<sample use="ftp" name="connect">
<params>
<param name="host" value="localhost"></param>
<param name="port" value="21"></param>
<param name="localaddress" value=""></param>
<param name="comment" value=""></param>
<param name="id" value=""></param>
</params>
</sample>
<sample use="ftp" name="login">
<params>
<param name="password" value="clif@ow2.org"></param>
<param name="login" value="anonymous"></param>
<param name="comment" value="replace login/password with your own"></param>
</params>
</sample>
<sample use="ftp" name="cd">
<params>
<param name="path" value="tmp"></param>
<param name="id" value=''></param>
</params>
</sample>
<sample use="ftp" name="setFileType">
<params>
<param name="type" value="binary"></param>
<param name="byte size" value="8"></param>
<param name="format" value="non print"></param>
<param name="id" value=''></param>
</params>
</sample>
<sample use="ftp" name="store">
<params>
<param name="content" value="generated"></param>
<param name="file" value=""></param>
<param name="limit" value="size"></param>
<param name="size" value="500000"></param>
<param name="time" value=""></param>
<param name="remote file"
value="size-limited_$#.txt">
</param>
<param name="id" value=""></param>
</params>
</sample>
<sample use="ftp" name="store">
<params>
<param name="content" value="generated"></param>
<param name="file" value=""></param>
<param name="limit" value="time"></param>
<param name="size" value=""></param>
<param name="time" value="1000"></param>
<param name="remote file"
value="time-limited_$#.txt">
</param>
<param name="id" value=""></param>
</params>
</sample>
<sample use="ftp" name="retrieve">
<params>
<param name="remote file" value="time-limited.txt">
</param>
<param name="destination" value="discard">
</param>
<param name="local file" value=""></param>
<param name="policy" value="none"></param>
<param name="size" value=""></param>
<param name="time" value=""></param>
<param name="id" value=""></param>
</params>
</sample><sample use="ftp" name="retrieve">
<params>
<param name="remote file" value="time-limited.txt">
</param>
<param name="destination" value="discard"></param>
<param name="local file" value="">
</param>
<param name="policy" value="time"></param>
<param name="size" value=""></param>
<param name="time" value="500"></param>
<param name="id" value=""></param>
</params>
</sample><sample use="ftp" name="retrieve">
<params>
<param name="remote file" value="time-limited_$#.txt">
</param>
<param name="destination" value="write to local file">
</param>
<param name="local file" value=""></param>
<param name="policy" value="none"></param>
<param name="size" value=""></param>
<param name="time" value=""></param>
<param name="id" value=""></param>
</params>
</sample><sample use="ftp" name="retrieve">
<params>
<param name="remote file"
value="time-limited_$#.txt">
</param>
<param name="destination" value="write to local file"></param>
<param name="local file"
value="halftime-limited_$#.txt">
</param>
<param name="policy" value="time"></param>
<param name="size" value=""></param>
<param name="time" value="500"></param>
<param name="id" value=""></param>
</params>
</sample>
<sample use="ftp" name="retrieve">
<params>
<param name="remote file" value="size-limited_$#.txt">
</param>
<param name="destination" value="discard">
</param>
<param name="local file" value=""></param>
<param name="policy" value="none"></param>
<param name="size" value=""></param>
<param name="time" value=""></param>
<param name="id" value=""></param>
</params>
</sample><sample use="ftp" name="retrieve">
<params>
<param name="remote file" value="size-limited_$#.txt">
</param>
<param name="destination" value="discard">
</param>
<param name="local file" value="">
</param>
<param name="policy" value="size"></param>
<param name="size" value="250000"></param>
<param name="time" value=""></param>
<param name="id" value=""></param>
</params>
</sample><sample use="ftp" name="retrieve">
<params>
<param name="remote file"
value="size-limited_$#.txt">
</param>
<param name="destination"
value="write to local file">
</param>
<param name="local file" value=""></param>
<param name="policy" value="none"></param>
<param name="size" value=""></param>
<param name="time" value=""></param>
<param name="id" value=""></param>
</params>
</sample>
<sample use="ftp" name="retrieve">
<params>
<param name="remote file"
value="size-limited_$#.txt">
</param>
<param name="destination"
value="write to local file">
</param>
<param name="local file"
value="halfsize-limited_$#.txt">
</param>
<param name="policy" value="size"></param>
<param name="size" value="250000"></param>
<param name="time" value=""></param>
<param name="id" value=""></param>
</params>
</sample>
<sample use="ftp" name="delete"><params><param name="file" value="size-limited_$#.txt"></param><param name="id" value=""></param></params></sample><sample use="ftp" name="delete"><params><param name="file" value="time-limited_$#.txt"></param><param name="id" value=''></param></params></sample><sample use="ftp" name="logout">
<params>
<param name="comment" value=""></param>
<param name="id" value=""></param>
</params>
</sample>
<sample use="ftp" name="disconnect">
<params>
<param name="comment" value=""></param>
<param name="id" value=''></param>
</params>
</sample>
</behavior>
</behaviors>
<loadprofile>
<group behavior="ftp0" forceStop="false"><ramp style="line"><points><point x="0" y="1"></point><point x="30" y="1"></point></points></ramp></group></loadprofile>
</scenario>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment