I'm building Extended LDAP test plan, to simulate one user creating
100 of entries.
With the following test plan, I'm able to create an entry with uid=:
1) Thread Group
Thread Properties->Number of Threads(1)
Thread Properties->Ramp-Up Period(1)
Thread Properties->Loop Count(1)
2) LDA
Hi,
I download and unzip the 2.2.zip, Found missing some files in bin folder
I see only 'testfiles' folder and 'jmetertest.properties' file in bin
folder. I didn't find jmeter.bat file anywhere. :(
Is this the problem with zip file extraction or something else ??
--
View this message in
Is it possible by any chance that if i read data from a csv file,
that strings of the type ${whatever} would be substituted by the
value in jmeter?
such that
SELECT * FROM table WHERE id = ${__threadNum};
would actually but a number for the id?
Thanks!
---
Excellent... that sounds like a good option to me (the multiple data
files) Perhaps once i get to know the tool better i will delve
into making CSV Dataset have an option to be per thread
The whole thing starts to make more and more sense...
Thanks!
On Jan 10, 2007, at 12:46 PM, se
The CSV Dataset (and CSVRead/StringFromFile functions) are designed to
share the data between threads.
So for example you can set up a file with many thousand different
account ids and have multiple threads process a single account id
each, perhaps performing a lot of different operations on each
that must be why a loop forever thing doesn't work
Does this apply also to a for loop if i used the line count in the file?
my queries file has all the queries a user excecutes in a a usecase
of a web app... My idea was that if i made 1 thread excecute all
queries, then added more thread
See my reply to chris.
Try 10 queries in the file with 2 threads - each thread should do 5
queries before detecting EOF.
Or you may find they do 4 + 6, if one thread completes faster than the other.
On 10/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
It's no bother at all! I'm sad to rep
If you are using the While Controller checking for EOF, then that is
how it is supposed to work...
You need at least as many entries as the number of threads times the
number of loops in each thread
On 10/01/07, chris <[EMAIL PROTECTED]> wrote:
I fixed the condition, now it works fine. But if I
It's no bother at all! I'm sad to report that in my case, the same
happens... I have 10 queries in my csv file and regardless of the #
of threads, only 10 queries run... the total of samples in the
reports remain the total of iterations in the loop, regardless of the
threads ...
Hopefully
excellent tips... thanks a lot!
On Jan 10, 2007, at 10:45 AM, sebb wrote:
${__BeanShell(!"".equals("${type}"))}
Alexander, sorry for bothering again but if you run multiple threads do you also
indeed see the number of request you expect? I always see it does requests for
only one thread. I see this also in my Results Tree
-
To unsubscrib
I fixed the condition, now it works fine. But if I use more than one thread it
sill uses only one. In other words. I have defined three URL's in the CSV file.
I use 5 threads but see only 3 requests are done, while Jmeter says it uses 5
threads. I see in the Results Tree also only 3 requests.
vars.get("type")
could be replaced by:
"${type}"
Indeed one could put:
${__BeanShell(!"".equals("${type}"))}
as BeanShell will convert the boolean to its text equivalent.
Or similarly using Javascript:
${__javaScript("" != "${type}")}
On 10/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrot
this is how i did it:
${__BeanShell(return (vars.get("type").equals("") ? "false" :
"true") ;)}
On Jan 10, 2007, at 8:52 AM, chris wrote:
I have also tried the while loop conditioned to CSV dataset,
but I get the following error:
In the while loop I use as a condition:
"${type}" == ""
W
Does the error occur if you remove the nested If controllers?
Try removing elements until the error goes away...
Also it might perhaps be worth trying the nightly build.
S.
On 10/01/07, chris <[EMAIL PROTECTED]> wrote:
I have now put the condition for the While loop to ${type}
As a child of th
I have now put the condition for the While loop to ${type}
As a child of the while loop I have the CSV Data Set Config with Recycle On EOF
set to false. However I still have the same error.
Also as child of the while loop I have three If Controllers.
Any thoughts on this?
---
That is not a valid While condition:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#While_Controller
An alternative would be to set
csvdataset.eofstring=false
You could then use the condition:
${type}
S.
On 10/01/07, chris <[EMAIL PROTECTED]> wrote:
I have also tried t
I have also tried the while loop conditioned to CSV dataset,
but I get the following error:
In the while loop I use as a condition:
"${type}" == ""
Where type is a variable from my CSV Data Set Config
2007/01/10 15:45:36 ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.StackOverflowE
got it! thank you very much!
On Jan 10, 2007, at 5:24 AM, sebb wrote:
Read the documentation:
http://jakarta.apache.org/jmeter/usermanual/
component_reference.html#CSV_Data_Set_Config
On 10/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
How can i know when a csv dataset has reached e
On 09/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
Thanks a lot for the quick response!
Please see below.
>
> Why not just use CSV Dataset to pass in the query details?
>
> The file can be as big as you like, and you can use the variables in
> the JDBC sampler.
>
> The JDBC Sampler allow
Read the documentation:
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_Set_Config
On 10/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
How can i know when a csv dataset has reached eof so that a while
loop stops?
Thanks in advance!
Set the CSV Dataset "Recycle on EOF" to false, and check for the
string in one of the variables.
On 09/01/07, Alexander Wallace <[EMAIL PROTECTED]> wrote:
I guess a while loop should do the trick too once i know how to tell
if the EOF has been reached.
On Jan 9, 2007, at 4:18 PM, chris wrote:
22 matches
Mail list logo