blob: 169cf3882ca1afe07d31ba4776f4500584ab5772 [file]
<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
HTTP
variables
</keywords>
</info>
# Client-side
<client>
<server>
http
</server>
<name>
Variable output starting with null byte
</name>
<file name="%LOGDIR/junk">
%hex[%00]hex%hello
</file>
<command>
http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what@%LOGDIR/junk --expand-data "{{what}}"
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<errorcode>
2
</errorcode>
</verify>
</testcase>