script | file fixture | |||
$createdFile<-[upload.txt] | create | upload.txt | containing | This is a file to test the file upload |
script | mock xml server setup |
add response | ok |
$url<-[http://127.0.0.1:8000/FitNesseMock] | get mock server url |
script | http test | ||
template | greeting.ftl | ||
set base64 encoded content of | $createdFile->[upload.txt] | as value for | name |
post template to | $url->[http://127.0.0.1:8000/FitNesseMock] | ||
check | request | Hello VGhpcyBpcyBhIGZpbGUgdG8gdGVzdCB0aGUgZmlsZSB1cGxvYWQ= |
table: Mock Server Message Report | |||||
|
script | mock xml server setup |
stop |