Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7775381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:37:00+00:00 2026-06-01T17:37:00+00:00

I have created some Load Tests to an HTTP server which consist of simple

  • 0

I have created some Load Tests to an HTTP server which consist of simple Unit Tests. Each unit test sends an http request to the server. Now I want to keep some extra information about each load test run so I created customs performance counters.

For example, I have a counter for the timeouts. Every time a timeout occur I increment the counter which is of type NumberOfItems32, so at the end of the Load Test I can see the total timeouts number.

My problem is that I want to create a counter that will keep the average response time to the http calls. Which PerformanceCounterType should I use and how?

EDIT
I thought that the AverageTimer32 would be the right one to use but the MSDN description is:

Counters of this type display a ratio of the total elapsed time of the sample interval to the number of processes or operations completed during that time

I don’t want this. At each unit test run I calculate the response time so I thing that with the appropriate counter only the following code should work:

responseTimeCounter.IncrementBy(responseTime);
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:37:01+00:00Added an answer on June 1, 2026 at 5:37 pm

    Go for NumberOfItems32 counter as you want to capture a number.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created an R script that it needs to load some libraries first.
I have dialog created like this $('#add_error').click(function(e) { $('<div>') .load('/someaction/format/html/') .dialog({ title: 'Some title',
I have created some python code which creates an object in a loop, and
I have created some tests in my WPF application. Right now I am working
I have created some simple charts (of type FastLine) with MSChart and update them
I have created some documents and managed to make some simple queries but I
I am newbie to Visual Studio 2010 test suite. I have created a load
I have a web service I'm trying to load test. I created a program
I have some NUnit tests which uses a TestCaseSource function. Unfortunately, the TestCaseSource function
I have created some functional categories that I use to show/hide markup elements. However,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.