34 lines
461 B
Plaintext
34 lines
461 B
Plaintext
|
<testcase>
|
||
|
<info>
|
||
|
<keywords>
|
||
|
HTTP
|
||
|
variables
|
||
|
</keywords>
|
||
|
</info>
|
||
|
|
||
|
#
|
||
|
# Client-side
|
||
|
<client>
|
||
|
<server>
|
||
|
http
|
||
|
</server>
|
||
|
<name>
|
||
|
Variable output containing null byte
|
||
|
</name>
|
||
|
<file name="%LOGDIR/junk">
|
||
|
%hex[%01%02%03%00%04%05%06]hex%
|
||
|
</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>
|