| forum.e-valid.com http://forum.e-valid.com/ |
|
| problems with server loading http://forum.e-valid.com/viewtopic.php?f=14&t=1463 |
Page 1 of 1 |
| Author: | josepmaria [ Tue Jun 23, 2009 4:31 am ] |
| Post subject: | problems with server loading |
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 |
|
| Author: | serverloading [ Thu Jun 25, 2009 4:08 pm ] |
| Post subject: | Re: problems with server loading |
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. |
|
| Author: | josepmaria [ Fri Jun 26, 2009 4:46 am ] |
| Post subject: | Re: problems with server loading |
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 |
|
| Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|