browser_cfg.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Sample browser behaviour specification for HttpTools. -->
  3. <!-- The parameters describe the behaviour of the browser. See also the specification files for the servers. -->
  4. <root>
  5. <!-- Use the user-profile categories to create profiles for browsing behaviour.
  6. The profile can be selected per browser at run-time by using the XPath argument in the initialization file.
  7. The following parameters are required:
  8. * InterSessionInterval is the interval between browsing sessions.
  9. * InterRequestInterval is the interval between requests made within a browsing session.
  10. * requestSize describes the size of requests made for resources.
  11. * reqInSession describes the number of requests made by the user within a browsing session.
  12. A random distribution is used for each of the parameters. normal, uniform, exponential, zipf and histogram random
  13. distributions are supported. See the documentation for more details.
  14. -->
  15. <user-profile id="light">
  16. <activityPeriod type='normal' mean='21600' sd='7200' min='7200' />
  17. <interRequestInterval type='normal' mean='900' sd='60' nonNegative='true' min='60.0' />
  18. <interSessionInterval type='normal' mean='7200' sd='1800' nonNegative='true' min='120.0' />
  19. <requestSize type='normal' mean='600' sd='100' nonNegative='true' min='300' />
  20. <reqInSession type='normal' mean='5' sd='2' nonNegative='true' min='1' />
  21. <processingDelay type='normal' mean='0.05' sd='0.01' nonNegative='true' />
  22. </user-profile>
  23. <user-profile id="normal">
  24. <activityPeriod type='normal' mean='28800' sd='10800' min='7200' />
  25. <interRequestInterval type='normal' mean='600' sd='60' nonNegative='true' min='60.0' />
  26. <interSessionInterval type='normal' mean='3600' sd='1800' nonNegative='true' min='120.0' />
  27. <requestSize type='normal' mean='600' sd='100' nonNegative='true' min='300' />
  28. <reqInSession type='normal' mean='10' sd='5' nonNegative='true' min='2' />
  29. <processingDelay type='normal' mean='0.05' sd='0.01' nonNegative='true' />
  30. </user-profile>
  31. <user-profile id="heavy">
  32. <activityPeriod type='normal' mean='43200' sd='10800' min='7200' />
  33. <interRequestInterval type='normal' mean='300' sd='60' nonNegative='true' min='60.0' />
  34. <interSessionInterval type='normal' mean='1800' sd='1800' nonNegative='true' min='120.0' />
  35. <requestSize type='normal' mean='600' sd='100' nonNegative='true' min='300' />
  36. <reqInSession type='normal' mean='20' sd='10' nonNegative='true' min='5' />
  37. <processingDelay type='normal' mean='0.05' sd='0.01' nonNegative='true' />
  38. </user-profile>
  39. </root>