• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • 在VSTS 2010 自定義計數器和其報警上線

    發表于:2010-05-26來源:作者:點擊數: 標簽:報警VSTS定義vsts計數器
    方法: 用記事本或者 VS 開發 php ?name=%B9%A4%BE%DF" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(255, 0, 0); white-space: n
    方法:
    用記事本或者VS開發php?name=%B9%A4%BE%DF" class="t_tag" style="word-wrap: break-word; line-height: normal; cursor: pointer; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(255, 0, 0); white-space: nowrap; ">工具寫上自己所要添加的內容,如:
    <?xml version = "1.0" encoding = "utf-8"?>
    <CounterSet Name = "Custom" CounterSetType = "Custom Set">

    <CounterCategories>


    <CounterCategory Name = "Memory">


    <Counter>



    <Counter Name = "% Committed Bytes In Use" />


    <Counter Name ="Available Mbytes" />


    </Counter>


    </CounterCategory>


    <CounterCategory>


    <Counters>


    <Counter Name = "% Processor Time">


    <ThresholdRules>


    <ThresholdRule Classname = "Microsft.VisualStudio.TestTools.WebStress.Rules.ThresholdRuleCompareConstant,Microsft.VisualStudio.QualityTools.LoadTest">


    <RuleParameters>


    <RuleParameters Name = "AlertIfOver" Value = "True" />



    <RuleParameters Name = "WarningThreshold" Value = "80" />


    <RuleParameters Name = "CriticalThreshold" Value = "90" />


    </RuleParameters>


    </ThresholdRule>


    </ThresholdRules>


    </Counter>


    </Counters>


    <Instances>


    <Instance Name = "*"/>


    </Instances>


    </CounterCategory>


    </CounterCategories>

    </CounterSet>
    然后保存為customcounter.CounterSet,并拷貝至【驅動盤】:\Microsoft Visual Studio \Common7\IDE\Templates\LoadTest\CounterSets\zh下,然后啟動VSTS添加負載測試,在計數器集中就能顯示所添加的計數器

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>