Click All Links

Use and application of the eValid server loading (LoadTest) capability. And in the cloud computing context for monitoring and loading.

Click All Links

Postby tsoftware » Fri Dec 05, 2008 4:30 pm

We want to create a load test script using eValid that:

Clicks all the links and buttons on a page and logs-in to to another page

The wrinkle is that I want each instance of the script to use a different
login and password.

We have 18 different logins and passwords so we can simulate a load of
18 simultaneous scripts to start.

Can this be done with Evalid ?
tsoftware
 
Posts: 17
Joined: Fri Dec 05, 2008 4:19 pm

Re: Click All Links

Postby serverloading » Fri Dec 05, 2008 4:32 pm

Yes, of course.

First, the Wizards will record visiting all the links on the page and
touching all the buttons...

Then go ahead and log into the login page.

Next, the script will need to be parameterized so it has $ACCT
and $PASSWORD in place of the initial account and password you used.

Next, in the eValid *evl -- the LoadTest script -- use the
parameter field to specify the value of $ACCT and $PASSWORD
for each different simulated user.

Your *evl file will have lines in it like this:

_eValid "script.evs" "" 5 "$ACCT=one $PASSWORD=onepass" "-pm 1.0" 1
_eValid "script.evs" "" 5 "$ACCT=two $PASSWORD=twopass" "-pm 1.0" 1
_eValid "script.evs" "" 5 "$ACCT=thr $PASSWORD=thrpass" "-pm 1.0" 1
_eValid "script.evs" "" 5 "$ACCT=fou $PASSWORD=foupass" "-pm 1.0" 1
etc...

When that *evl file runs you'll get 5 repetitions of script.evs
with four different logins.
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm


Return to Performance/Load Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons