【问题标题】:Tsung - testing a proxy serverTsung - 测试代理服务器
【发布时间】:2014-09-12 15:16:54
【问题描述】:

我正在尝试对代理服务器进行负载测试。 我知道需要在TSUNG配置文件中添加如下命令:

option type="ts_http" name="http_use_server_as_proxy" value="true"

但是,我不确定应该在 xml 配置文件的哪个位置输入此选项。
任何对代理服务器进行负载测试的 TSUNG XML 配置文件示例都会很有帮助。

【问题讨论】:

    标签: tsung


    【解决方案1】:

    你可以在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

    【讨论】:

      猜你喜欢
      • 2023-03-17
      • 2017-05-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-04
      相关资源
      最近更新 更多