Post new topic Reply to topic  [ 3 posts ] 

Board index : LOADING : Server Loading

Author Message
 Post subject: problems with server loading
PostPosted: Tue Jun 23, 2009 4:31 am 

Joined: Wed Feb 11, 2009 1:57 am
Posts: 3
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


Back to top
 Profile  
 
 Post subject: Re: problems with server loading
PostPosted: Thu Jun 25, 2009 4:08 pm 

Joined: Tue Jan 01, 2008 1:48 pm
Posts: 86
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


Back to top
 Profile  
 
 Post subject: Re: problems with server loading
PostPosted: Fri Jun 26, 2009 4:46 am 

Joined: Wed Feb 11, 2009 1:57 am
Posts: 3
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


Back to top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Board index : LOADING : Server Loading


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Style by Midnight Phoenix & N.Design Studio
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.