problems with server loading

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

problems with server loading

Postby josepmaria » Tue Jun 23, 2009 3:31 am

Hello

I try to do a load test with one script ( Name1.evs )

This Name1.evs is included in a eValid script Name2.evl

The file Name1.evs has a variable named $postal_code

My idea is to load the Name2.evl with 5 concurrent users.

I try to do that the variable $postal_code takes the values from a external
file named File1.txt

The file File1.txt includes various values of variable $postal_code

File1.txt
$postal_code = 08999
$postal_code = 07999

My purpose is that every invocation of the load test takes a different value
of variable $postal_code

Is this possible?

Thanks a lot

Josep Mª Carné
ALTRAN CIS
josepmaria
 
Posts: 3
Joined: Wed Feb 11, 2009 12:57 am

Re: problems with server loading

Postby serverloading » Thu Jun 25, 2009 3:08 pm

YES, your wanted server loading testing scenario can be handled
by eValid. It is assumed that your eValid working folder already
contains the following recognizable script and data input files...

Contents of Name1.evs:

...
DataSynthesisFile "$FINPUT"
...
...
InputValue 0 113 "TEXT" "pzip" "pcode" "$postal_code" ""
...
...


Contents of Name2.evl:

_evalid "Name1.evs" "" 1 "$FINPUT=File1.txt" "-DATASYN -pm 1.0" 1
_evalid "Name1.evs" "" 1 "$FINPUT=File2.txt" "-DATASYN -pm 1.0" 1
_evalid "Name1.evs" "" 1 "$FINPUT=File3.txt" "-DATASYN -pm 1.0" 1
_evalid "Name1.evs" "" 1 "$FINPUT=File4.txt" "-DATASYN -pm 1.0" 1
_evalid "Name1.evs" "" 1 "$FINPUT=File5.txt" "-DATASYN -pm 1.0" 1


Contents of File1/2/3/4/5.txt with all desired inputs of varying
or the same data value assignments for $postal_code, each line
<carriage return> indcates an iteration:

Content of File1.txt:
$postal_code=08999
$postal_code=07999
...
Content of File2.txt:
$postal_code=88999
$postal_code=87999
...
Content of File3.txt:
$postal_code=22229
$postal_code=22299

etc.

Upon loading "Name2.evl" into eValid, you will see the launch
of 5 separate copies of the eValid Browser, each will load a
copy of your "Name1.evs" file. Each of the 5 browsers will
iterate through each line of your corresponding DataSynthesis
assigned File#.txt. For example, if there are only 2 lines,
then there will be 2 iterations of all instruction in "Name1.evs"
script file; 5 lines, then 5 iterations, etc.
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm

Re: problems with server loading

Postby josepmaria » Fri Jun 26, 2009 3:46 am

I continue with my problem

Now I will do an explanation of my architecture system:

I have a J2EE application with an initial applet.

This applet does the process of enter login/password

With this solution I have some problems. I list these problems:

1.- I wish to do a load test with concurrent or parallel users. Not sequential users.

2.- If I execute five processes sequentialy with the given instructions, the J2EE application won't do correctly the process of login/password. Why is the reason?

3.- I only want to execute five lines of my loadcodipostal.evl file. These five lines execute the same process - Cpostal.evs - . My purpose is that the file Cpostal.evs takes the value of the variable $postal_code from a file codispostals.txt

I attach these files in this answer
josepmaria
 
Posts: 3
Joined: Wed Feb 11, 2009 12:57 am


Return to Performance/Load Testing

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