tphillips
5 years agoFrequent Contributor
Performance counters error/warning while trying to get value
I have a Project Suite with 5 Projects in it, maybe 150-200 tests in total.
I have implemented Performance Counters against localhost in my 5 test projects for the following:
- % CPU
- % Memory
- Memory (MB)
- % Disk Time
- % Processor Time (TestComplete)
- % Processor Time (TestCompleteService14)
Most of the time performance counters work fine, but occasionally near the start of some of my tests I get a warning
Error occured while trying to get value for counter % CPU [localhost]. Disable counter.
I get one of these for every counter.
What's going on here? How do I stop this happening? (Also there's a typo in TestComplete's warning, it should say "occurred" not "occured")