A Load Test with the Field Data Substitution Pairs.......

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

A Load Test with the Field Data Substitution Pairs.......

Postby josecarn » Thu Jun 25, 2009 2:35 pm

Hello

Thanks a lot

I confirm you that it works correctly with the new license with the atribut
LOAD that appears in Web Page of eValid that you told me.

I start to do tests and it happens me a little problem.

I wish to do the load test using a variable that reads the different values
of a file text or similar and I don't know how to do

For example, we can test a script in a Load Test Scenario Editor.

My problem is that in the field Data Substitution Pairs($VAR=value) I want
to fill this field with a variable that can take different values of a file
predefined previously.

My example is the next:

I want to do a load test with a process that inserts in my database postal
codes.

I have to use a unique script with 100 concurrent users - value 100 in the
field Number of Users - .

My purpose is that this process take the 100 different values - postal
codes - of the field Data Substitution Pairs.

In this field I wish to use a variable that reads these 100 different values
of a predefined file ( *.txt ,....)

Thanks faithfully
josecarn
 
Posts: 3
Joined: Thu Jun 25, 2009 12:16 pm

Re: A Load Test with the Field Data Substitution Pairs.......

Postby serverloading » Thu Jun 25, 2009 2:41 pm

There are a lot of options...

(1) Environment variables, shared with all of your running scripts.

(2) Data synthesis for each script, and they can all be from different
data files.

(3) Parametric substitution in the $NAME=value section of the
load test scenario (you can put these in with the supplied LoadTest
scenario editor, or you can edit them in by hand directly in the *.evl file.

Can you give us some more explanation about specifically what you
want to be doing?

I mean, for each user running what do you want each script to be doing?

Best Regards,
eValid Tech Support Team
serverloading
 
Posts: 86
Joined: Tue Jan 01, 2008 12:48 pm

Re: A Load Test with the Field Data Substitution Pairs.......

Postby serverloading » Thu Jun 25, 2009 2:43 pm

Some additional thoughts about your question...

If this is the first time you're setting up a LoadTest run
you could be trying to do too many things too quickly.

Have you studied the basic material about doing loading?

And about DataSynthesis (values from a file into one script)?

And about how parameters are passed into a parametric script?

My concern is that you are attempting to do too large an experiment
at the first try...

I'll put some manual page references below...One suggestion
might be to have a web meeting to help you through this. But I think
it would be valuable to see how much material there is...

We can help you out but we do need a very careful explanation
of what you are trying to do.

Then we can outline a phased set of steps to go through, like
this:
record the test,
perfect the test as a singleton,
parameterize it and confirm that the parameters work,
add in environment variables that affect the entire scenario,
create the LoadTest plan of attack,
figure out which scripts will be run from where and how often,
make some small runs to make sure all the parts are in place,
then populate the files,
and make the final run.....

eValid can do all of that but in thinking about your description
we do have to go step by step...

Best Regards,

*************************************
*************************************
(1) To have one script run repetitively, after adjusting values of parameters
in your script, you can use the powerful eValid Data Synthesis capability
(this capability works in LoadTest runs also):

http://www.e-Valid.com/Products/Documentation.9/Generate/synthesize.data.html

(2) There is a built-in capability to pre-specify values for parameters in
an eValid script, described in detail here:

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

(3) The eValid string substitution facility -- used in both functional
testing AND in server load creation -- is described here:

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

Here's a diagram of this process:

http://www.e-Valid.com/Products/Documentation.9/Support/script.expansion.html

(4) Here is a movie-like illustration of eValid doing a very basic, very
simplified LoadTest run:

http://www.e-Valid.com/Products/Documentation.9/Movies/SLB/movie.SLB.html

(5) LoadTest Reference/Resource Pages...

Terminology:
http://www.e-Valid.com/Products/Documentation.9/Loading/load.terms.html
Command line interface:
http://www.e-Valid.com/Products/Documentation.9/Technical/interface.html
Machine adjustments:
http://www.e-Valid.com/Products/Documentation.9/Loading/machine.html
Supplemental information:
http://www.e-Valid.com/Products/Documentation.9/Loading/supplemental.html
Desk Top Lock/Unlock Advisory Comments
http://www.e-Valid.com/Products/Documentation.9/Loading/lock.html
Recovery of CPU data from server:
http://www.e-Valid.com/Products/Documentation.9/Support/IIS.performance.data.html
http://www.e-Valid.com/Products/Documentation.9/Support/LINUX.performance.data.html
Making playbacks LoadTest safe:
http://www.e-Valid.com/Products/Documentation.9/Loading/loadtest.safe.html
*************************************
*************************************
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