Feature Request for ANTS Load

gotdabluesgotdablues Posts: 13
edited May 6, 2005 9:39AM in ANTS Load
I am not sure where the appropriate place is to submit feature requests so I'll do it here.

1. Can you add the ability to run a test X times. Where X is a number.

Ex: A steady test with 5 virtual users is set to run the 1 time. The test will run once for each of the virtual users.

2. In the Reports Section for 'Performance counter information', can you place a line in the Data graph for the Average.

3. Can you add more flexibility to the 'Type Of Test' Spike option. I would like to have the ability to have random Spike Heights.

Thanks.

Steve

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hi Steve,

    Thanks for the suggestions. We will be looking at throwing a bit of our collective weight behind a new version of ANTS Load over the next few months.

    In the meantime, I can tell you how to create a script that will only run for a specified number of iterations. The idea is that you create a new class with a static property that keeps track of how many times the script had been run:
    Imports System
    Imports RedGate.Ants.Engine
    
    Public Class tracker
        Public Shared lIterations As Long = 0
    
        Public Shared Property Iterations() As Long
            Get
                Return lIterations
            End Get
            Set(ByVal value As Long)
                lIterations = value
            End Set
    
        End Property
    End Class
    
    Then change the script so that it will not do anything if you've exceeded the maximum number:
    If tracker.Iterations < 6 Then
                tracker.Iterations=tracker.Iterations+1
    'Run some GETS and POSTS
    End If
    
This discussion has been closed.