html tool

2021年9月21日星期二

转:loadrunner "Granularity must be an integer between 5 "处理

 https://www.northwaysolutions.com/open-loadrunner-analysis-graphs-with-custom-granularity/

  1. Select the “Automatically set to new result” checkbox. As a result, each new result set will be opened with the above graphs and granularity desired, with the exception of the Throughput graph. For the Throughput graph, the minimum granularity is 5 seconds by the product design. The reason for it is to avoid too much overhead.

If you would like to set it to a lower value (not recommended due to overhead), here’s what you can do (before you run your scenario):

Note: Please back up your files before any modification.

  1. 1. Open the default.cfg file of the script using a word editor. In the [WEB] section add one more line:[WEB]WebGraphsAggregation=n where n is the number of seconds for graph aggregation.
  2. Open throughput.def in the bin\dat directory using a word editor. In the [Granularity] section, comment out “BaseGranularityUIName” by putting a semicolon at the beginning of the line: Example:[Granularity]
    Dimension=Scenario Elapsed Time
    ;BaseGranularityUIName=Throughput
  3. Open Result0_Graph2.def in \AnalysisTemplates\DefaultTemplate1 using a word editor. In the [Granularity] section, comment out “BaseGranularityUIName” by putting a semicolon at the beginning of the line: Example:[Granularity]
    Dimension=Scenario Elapsed Time
    ;BaseGranularityUIName=Throughput
  4. Save the changes and rerun your scenario.

没有评论:

发表评论