server_cfg.xml 1.2 KB

123456789101112131415161718192021
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Sample server parameters specification for HttpTools. -->
  3. <!-- The parameters describe the parameters of the servers. See also the specification files for the browsers. -->
  4. <root>
  5. <!-- Use the server-profile categories to create profiles for server behaviour.
  6. The profile can be selected per server at run-time by using the XPath argument in the initialization file.
  7. The following parameters are required:
  8. A random distribution is used for each of the parameters. normal, uniform, exponential and histogram random
  9. distributions are supported. See the documentation for more details.
  10. -->
  11. <server-profile id="normal">
  12. <htmlPageSize type='exponential' mean='2000' min='1000' />
  13. <replyDelay type='normal' mean='0.05' sd='0.01' nonNegative='true' min='0.01' />
  14. <textResourceSize type='exponential' mean='10000' min='1000' max='100000' />
  15. <imageResourceSize type='exponential' mean='20000' min='1000' max='500000' />
  16. <numResources type='uniform' beginning='0' end='20' />
  17. <textImageResourceRatio type='uniform' beginning='0.2' end='0.8' />
  18. <errorMessageSize type="constant" value="1024" />
  19. </server-profile>
  20. </root>