automating performance testing
So I did some manual testing that involved using Windows PerfMon. I think that this is a pretty ignorant question, but you start learning somewhere. I can automate the most important stuff I want to do using LogMan which I found from some helpful poster on this board. I can see from the help information that I can do LogMan create "desired name" counter. But I cannot see how to identify what performance counters to add to the collector as well as the sample interval. This information is probably sitting right in the technet article
And I am not seeing it. But as I say, I am a brand newbie to perfmon. Thanks for any tips.
Re: automating performance testing
You are correct the information is right there in link you have mentioned :-)
For specifying the counters to the created collector set you need to use the option "-c \\<machineName>\<object>(<instance& gt\<counterName>".
By using -c you can provide only one counter to the command line. If you want to select multiple counters you can use the option "-cf <filename>".
The file can be a text file containing one counter in each line.
For specifying the sample interval use the option "-si hh:mm:ss" by default the sample interval is 15 seconds.
A sample command will be:
logman create counter collector1 -cf "C:\counterlist.txt" -si 00:00:10
conterlist.txt looks like below:
Hope this helps.