我正在尝试加载测试代理服务器。我知道我需要在 TSUNG 配置文件中添加以下命令:
option type="ts_http" name="http_use_server_as_proxy" value="true"
但是,我不确定应该在 xml 配置文件的哪个位置输入此选项。
负载测试代理服务器的 TSUNG XML 配置文件的任何示例都将是最有帮助的。
我正在尝试加载测试代理服务器。我知道我需要在 TSUNG 配置文件中添加以下命令:
option type="ts_http" name="http_use_server_as_proxy" value="true"
但是,我不确定应该在 xml 配置文件的哪个位置输入此选项。
负载测试代理服务器的 TSUNG XML 配置文件的任何示例都将是最有帮助的。
您可以在 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