VS 2010 Load Tests Results with custom counters

前端 未结 3 680
不思量自难忘°
不思量自难忘° 2020-12-19 16:34

I am new on Load Testing (and in general, testing) with visual studio 2010 and I am dealing with several problems.

My question is, is there any way possible, to add

3条回答
  •  伪装坚强ぢ
    2020-12-19 17:27

    I think what you actually need is to use:

    [TestMethod]
    public void Test()
    {
        TestContext.BeginTimer("mytimer");
        httpClient.SendRequest();
        TestContext.EndTimer("mytimer");
    }
    

    You can find good documentation here.

提交回复
热议问题