Options

simple login test with 10 different userids....

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
edited August 12, 2004 10:23AM in ANTS Load
Hi Danish,

That sounds about right. Each time the load test script makes a request
for state information, the entries are pulled out in a 'random' order. In
other words, out of ten requests for the state information, all ten entries
(usernames and passwords) are sent to the script and passed to the web
server. On the eleventh request, the state information will select another
of the ten users at random.

Regards,

Brian Donahue
Red Gate Technical Support

"Danish Hussain" <danish.hussain@ecommlink.com> wrote in message
news:Er9APHmfEHA.1224@server53...
> I'm doing a verys simple case of performance testing. I'm trying to
simulate
> an instance of 10 logins going on at the same time. I recorded a very
simple
> script that depicts following:
>
> browsing to the login page
>
> providing login data
>
> logging in
>
> recieving next page
>
> logging out.
>
> In all it will transition through 3 pages. The login criteria is as
> follows...and I'm pasting it from the script:
>
> BeginPage("https://xxxx.xxxx.xxx/svpsprod/issuer/login.aspx")
>
> WebClient.HttpRequest.ContentType = "application/x-www-form-urlencoded"
>
> WebClient.HttpRequest.AddPostData("__VIEWSTATE", WebClient.ViewState,
False)
>
> WebClient.HttpRequest.AddPostData("ControlGroup1%3ATEXT_KEY", key, True)
>
> WebClient.HttpRequest.AddPostData("ControlGroup1%3ATEXT_UN", uName, True)
>
> WebClient.HttpRequest.AddPostData("ControlGroup1%3ATEXT_PWD", passWd,
True)
>
> WebClient.HttpRequest.AddPostData("ControlGroup1%3AbtnSubmit", btnSubmit,
> True)
>
> WebClient.POST("https://ecldev7.ecommlink.com/svpsprod/issuer/login.aspx")
>
> WebClient.HttpRequest.ContentType = Nothing
>
>
>
> I've declared in the header portion:
>
> Dim key As String = StateInformation.Get("key")
>
> Dim uName As String = StateInformation.Get("uname")
>
> Dim passWd As String = StateInformation.Get("pass")
>
> Dim btnSubmit As String = StateInformation.Get("loginBtn")
>
>
>
> The state info is being pulled from a csv file. I can see the state info
> populate into the state info table without any issues. There are 10
records.
> What I want to know is how to iterate through the 10 records and thus
> simulate 10 different login attempts.
>
> I set up the test for simple test with max of 10 clients, steady type, and
> running for 1min. Am I on the right path????
>
>
This discussion has been closed.