Contents:
We start a mock server to receive the binary file and display the request later (specify one response per request)
script | mock xml server setup |
add response | <status>OK</status> |
add response | <status>OK</status> |
add response | <status>OK</status> |
add response | <status>OK</status> |
$mockUrl<-[http://127.0.0.1:8000/FitNesseMock] | get mock server url |
- Use wiki-urls pointing to files in the files folder or below
- Use relative paths (non links) from files folder (include files folder)
script | http test | ||
post file | http://files/httpPostExamples/testFile.txt | to | $mockUrl->[http://127.0.0.1:8000/FitNesseMock] |
post file | files/httpPostExamples/testFile.txt | to | $mockUrl->[http://127.0.0.1:8000/FitNesseMock] |
post file | ![]() |
to | $mockUrl->[http://127.0.0.1:8000/FitNesseMock] |
post file | files/httpPostExamples/test.png | to | $mockUrl->[http://127.0.0.1:8000/FitNesseMock] |
The Message report will show the received request:
table: Mock Server Message Report | ||||||||||
|