How to Run A Load Test?

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

How to Run A Load Test?

Postby antfau » Thu Feb 26, 2009 4:20 pm

Hi,

I just wanted to verify what Specified total run count means in the
loadtest scenario monitor. For example, I have a load test script with
10 lines . Each line has a total run count of 5. Does this mean each
evalid browser instance will run 5 times before stopping. Which means
that if I increase the total run count for each line to, say 10 or more,
the load test will take longer to finish. If that is the case,If I want
to run a load test for, say 4 hours every 5 minutes, would it make sense
to lower the total run count to 1 or 2 since the the load test runs
every 5 minutes. Any tips on this.

Thanks
antfau
 
Posts: 6
Joined: Thu Feb 26, 2009 4:16 pm

Re: How to Run A Load Test?

Postby serverloading » Thu Feb 26, 2009 4:27 pm

Yes, you have it right.

Each line in the *evl script/file causes an instance of eValid to launch,
playing back the indicated *evs script.

The repeat count applies to each script...so if one line has a repeat count
of 10 that script will be played 10 times. Another line could have a repeat
count of 25, so that script will be repeated 25 times.

Of you have 10 lines and a repeat count of 5 for each line, that means
you get a total of 50 playbacks.

There is a "don't exceed this amount of time" setting for LoadTest runs
in the Settings for Load Testing...so you could put that at 5 minutes,
but that generates a lot of thrashing.

For a scenario that you want to keep running for 4 hours, maybe you should
set that limit to 15 minutes, then you only have to relaunch the entire
scenario four times per hour, or a total of 16 times.

Experimentathon is recommended on this...
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm

Re: How to Run A Load Test?

Postby antfau » Thu Feb 26, 2009 4:30 pm

Hello again,

I got 2 more questions:

1.) The times shown in the loadtest scenaro monitor such as slowest
script playback time, does this refer to the time it took for a single
run of one instance of evalid?

2.) If I wanted to know how fast a particular page(a single particular
page) took to load with a load of say 10 users in the background(using
the load test), where can I get this info?

Thanks
antfau
 
Posts: 6
Joined: Thu Feb 26, 2009 4:16 pm

Re: How to Run A Load Test?

Postby serverloading » Thu Feb 26, 2009 4:32 pm

(1) Yes, the min/average/max times are for each complete script playback
instance on that particular browser.

(2) For this you will need to specify, for ONE of the 10 eValid's that
you are running in parallel, to keep the complete EventLog. That's done
by looking at the batch mode interface (which is how eValid communicates
to sub-eValids in LoadTest Mode).

eValid has ~60 switches that control executions from the Windows command
line, described here:

http://www.e-Valid.com/Products/Documentation.9/Technical/interface.html

You want the "-FE" switch, which tells that instance of eValid to
keep an EventLog.
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm

Re: How to Run A Load Test?

Postby antfau » Fri Feb 27, 2009 6:23 pm

Hi,

I tried your tip about using -FE switch to get the times for individual
pages, but it does not seem to work.

I tried it 2 ways:

(1) In the batch DOS file, I entered the line c:\directoryxyz\evalid -B
loadtest.evl -FE loadtest.log
This ran the load test and created a log file, but the log file was
still for the evl file with only summary info and no load times for
individual pages

(2) I also tried adding -FE logfile.log to one of the lines(one of the
browser instances) in the loadtest.evl file itself. The loadtest run but
I didn't see the logfile get created

Where am I going wrong? Thanks
antfau
 
Posts: 6
Joined: Thu Feb 26, 2009 4:16 pm

Re: How to Run A Load Test?

Postby serverloading » Fri Feb 27, 2009 6:28 pm

I left one switch out.

In the *evl file, for the eValid instance for which you want to have a
detailed EventLog:

-LOG E -FE filename

The -LOG specifies which log for that eValid instance to produce,
and the -FE names the file into which you're going to putting that output.

These are the same parameters as used in the command line interface,

http://www.e-Valid.com/Products/Documen ... rface.html

Hope this helps.
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm

Re: How to Run A Load Test?

Postby antfau » Fri Feb 27, 2009 6:34 pm

Hi,

1.) I modified one of the browser instances to now show as: _eValid
"portaltests.evs" "" 5 "" "-pm 1.0" 1 -LOG E -FE eventlag.log

2.) When I run the load script, 5 logs were created:
The load test log
Test-E.log
Test-M.log
Test-P.log
Test-T.log

Im puzzle why the M, P and T logs were created when I only specified an
E log. When I opened the E log,

It shows times, but does not specify the particular web page. For
example:

# Playing script, line 19:
# 19: _eValid "portaltests.evs" "" 5 "" "-pm 1.0" 1
2009/02/27 16:12:40 7 4 19 PortalTests
PortalTests Portalfeb27LoadTesta OK 1125 31 -
Started new process: ["evalid.exe" -b "portaltests.evs" -PX 5 -PA y -PL
1 -LCID "LCID#001" -LFILE "Portalfeb27LoadTesta-L.log" -pm 1.0]
2009/02/27 16:12:40 8 4 19 PortalTests
PortalTests Portalfeb27LoadTesta OK 1125 0 31
Command completed: _eValid
# ------------------------------------------------------------

Any ideas

Thanks and have a nice weekend !
antfau
 
Posts: 6
Joined: Thu Feb 26, 2009 4:16 pm

Re: How to Run A Load Test?

Postby serverloading » Fri Feb 27, 2009 6:34 pm

You have:
_eValid "portaltests.evs" "" 5 "" "-pm 1.0" 1 -LOG E -FE eventlag.log

Please try:

_eValid "portaltests.evs" "" 5 "" "-pm 1.0 -LOG E -FE eventlag.log" 1

ALL the parameters must be put in the same string as the -pm 1.0 placekeeper because THAT is what is sent to to the instance.
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