• 軟件測試技術
  • 軟件測試博客
  • 軟件測試視頻
  • 開源軟件測試技術
  • 軟件測試論壇
  • 軟件測試沙龍
  • 軟件測試資料下載
  • 軟件測試雜志
  • 軟件測試人才招聘
    暫時沒有公告

字號: | 推薦給好友 上一篇 | 下一篇

在VSTS 2010 自定義計數器和其報警上線

發布: 2010-5-26 17:22 | 作者: test110 | 來源: 本站原創 | 查看: 97次 | 進入軟件測試論壇討論

領測軟件測試網 方法:
用記事本或者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.anti-gravitydesign.com/

TAG: vsts VSTS 定義 計數器 報警


關于領測軟件測試網 | 領測軟件測試網合作伙伴 | 廣告服務 | 投稿指南 | 聯系我們 | 網站地圖 | 友情鏈接
版權所有(C) 2003-2010 TestAge(領測軟件測試網)|領測國際科技(北京)有限公司|軟件測試工程師培訓網 All Rights Reserved
北京市海淀區中關村南大街9號北京理工科技大廈1402室 京ICP備2023014753號-2
技術支持和業務聯系:info@testage.com.cn 電話:010-51297073

軟件測試 | 領測國際ISTQBISTQB官網TMMiTMMi認證國際軟件測試工程師認證領測軟件測試網

国产97人人超碰caoprom_尤物国产在线一区手机播放_精品国产一区二区三_色天使久久综合给合久久97