【发布时间】:2014-09-12 15:16:54
【问题描述】:
我正在尝试对代理服务器进行负载测试。 我知道需要在TSUNG配置文件中添加如下命令:
option type="ts_http" name="http_use_server_as_proxy" value="true"
但是,我不确定应该在 xml 配置文件的哪个位置输入此选项。
任何对代理服务器进行负载测试的 TSUNG XML 配置文件示例都会很有帮助。
【问题讨论】:
标签: tsung
我正在尝试对代理服务器进行负载测试。 我知道需要在TSUNG配置文件中添加如下命令:
option type="ts_http" name="http_use_server_as_proxy" value="true"
但是,我不确定应该在 xml 配置文件的哪个位置输入此选项。
任何对代理服务器进行负载测试的 TSUNG XML 配置文件示例都会很有帮助。
【问题讨论】:
标签: tsung
你可以在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>
......
你也可以阅读示例,那里 -> https://github.com/processone/tsung/tree/master/examples
【讨论】: