我正在尝试加载测试代理服务器。 我知道我需要将以下命令添加到TSUNG配置文件中:
option type="ts_http" name="http_use_server_as_proxy" value="true"
但是,我不确定xml配置文件中应该输入此选项的位置 任何加载测试代理服务器的TSUNG XML配置文件的例子都是最有帮助的。
答案 0 :(得分:0)
您可以在xml:
之前使用此选项.......
<options>
<option name="exampleName" id='exampleID' value="path to csv>
<option type="ts_http" name="http_use_server_as_proxy" value="true">
......
</option>
</options>
<sessions>
<session name="example" probability="100" type="ts_http">
......
</sessions>
......
你也可以阅读例子 - &gt; https://github.com/processone/tsung/tree/master/examples