Confirmed with JMeter 2.4 (confirming the behavior, it looks like a bug):
- scenario below produces "1,1"
- just increasing number of threads in the thread group also produces all
ones "1,1,1,1"
- 3 samplers, each containing the same function, loop 3 is
"1,1,1,2,2,2,3,3,3"
- one sampler loop 3 "1
501 during recording
using http proxy server
hi
if you had these as parameters (In send parameters with request) - and you
checked "encode" - that should work too.
regards
deepak
On Tue, Sep 27, 2011 at 12:59 PM, Nermin CALUK wrote:
> Just to make sure we're on the same page,
Just to make sure we're on the same page, are you trying to convert a string to
URL (escape) http://www.javascripter.net/faq/escape.htm
If that is the case, you can probably do it with a pre-processor and then send
a request that does not contain special characters in URL
Nermin
-Original
Maybe sending corresponding part of jmeter.log will shed some light on
what's happening under the hood - please share some more precise details
Nermin
-Original Message-
From: mkt [mailto:michaelkturner...@gmail.com]
Sent: 26. septembar 2011 19:13
To: jmeter-user@jakarta.apache.org
Subje
Hi zjm,
I thought I'd have an elegant solution for you but that one doesn't seem to
work. Alternatively, if max number of parallel requests is not too big, you
can achieve what you described by creating several threads (say 5), each
containing an IF controller and your sampler. Then you create a
Yes, JMeter can read URL from a text file, just use "CSV Data Set Config"
(Config Element) and loop through it.
You can setup a "single-column" csv where you put one URL per line. If
necessary, you can add additional columns (sometimes I use "NAME,HOST" where
I put ${NAME} as a Sampler Name and ${
First ideas that come to my mind:
- split your test into, say, 5 consecutive threads, each one doing 20% of your
test and writing into a separate file OR experiment with a nested loop to
achieve this (you can use timestamp variable as a part of the name of your
file, or you can use counter if y
I tried the example in JMeter and works on my side. This is part of the
Debug sampler:
Geboorteplaats=Avignon
Geboorteplaats_g=1
Geboorteplaats_g0=Geboorteplaats
Avignon
Geboorteplaats_g1=Avignon
Please make sure you don't have something like a trailing space in your
regular expre
Can you please provide at least an example of text from which you are
extracting something (that you pass to the next request), as well as how you
configured your extractor to do that? Have you tried using Debug Sampler to
make sure everything is extracted as expected?
>From what I read in your em
Shirish,
Maybe you can put your test logic under For Each controller and specify
different environments in User Defined Variables, in some cases this works
and it's very handy. See
http://jakarta.apache.org/jmeter/usermanual/component_reference.html#ForEach
_Controller
Regards,
Nermin
-
Match No = -1 will match ALL occurrences
Example: say your regex is (.+?) and Match no is -1. If there are
more than one occurrences of this will match all of them, like
${EXTRACTED_CODE_1}, ${EXTRACTED_CODE_2}, ${EXTRACTED_CODE_3} etc. If there are
3 matches, than you will also get a variabl
Hruda,
Jmeter log file can be found in the same folder where jmeter.bat is, i.e.
jmeter/bin/jmeter.log
If you want to see more details in the log file, you can set a different log
level in jmeter/bin/jmeter.properties (log_level.jmeter=DEBUG)
Note that in JMeter, if you don't specify (relative
Is your random controller broken because count returns "1" and you are trying
to generate random values between 1 and 1? This might be the problem (based on first
debug sampler), please check
You can temporarily disable your "count" select, go to the top of your test
plan (or add User Defined
OK, I did a quick test and Random Variable node supports using variables to
set Min and Max value
The only way I was able to break it was to set Min value which was larger
than Max value (which produced error in log file ERROR -
jmeter.config.RandomVariableConfig: maximum(1) must be > minimum3 as
Derek,
I was thinking something like ${__evalVar(member_${__Random(1,10)})}
And if you think nesting might be the issue, simply try using Random
Variable node (not __Random() function), e.g. ${__evalVar(member_${RND})}
provided that your random value is stored in ${RND}
http://jakarta.apache.org
Derek,
Regarding the issue #2, substitution, have you tried using __evalVar instead
of __V? "V" function evaluates a variable name and you need "evalVar" to
actually get the value [integer in your case] stored in that variable.
As for the first issue, double check the values using Debug Sampler
Hruda,
Can you send the file path example, make sure there are no (trailing)
spaces? And pleae provide corresponding part of jmeter.log
Nermin
-Original Message-
From: Hruda [mailto:hrud...@gmail.com]
Sent: 26. srpanj 2011 17:08
To: jmeter-user@jakarta.apache.org
Subject: Script exec
Kumar,
Edit your jmeter.properties, uncomment the following parameter and set it to
zero:
view.results.tree.max_size=0
After restaring JMeter, you won't get the error anymore.
Cheers,
Nermin
-Original Message-
From: sebb [mailto:seb...@gmail.com]
Sent: 22. srpanj 2011 2:04
To
Hi,
Current implementation of __time() returns time in local timezone.
What's the simplest way to get current time in specific timezone (or in
UTC)?
Thanks
Nermin
Kumar,
if you run jmeter from command line and specify output XML file to log to, even
if you kill the process you will have info in your XML log file. The file will
not obviously be a well-formed XML, but even so, you should be able to open
JMeter, add your favorite listener (View Results Tre
Bruce,
Maybe you could use Debug Sampler:
1. put the Debug Sampler at the top of your test plan, make "JMeter
variables" True, rest should be False
2. then make assertion that response must not contain regex (.+?)=\n
(meaning variable with undefined or empty value)
3. optionally, after this you
Hi, Saravanan,
First scenario simulates 10 users sending the requests in parallel, each
user taking data from a single line from your input file: first one that is
processed by the system under test is returned etc. Second scenario works
sequentially: when first line completes, next one is taken
Saravanan,
As far as I can see, there are no errors with reading line by line and
assigning variables (i.e. for each item you get corresponding name, category
and other attributes), what you see as messed up is order in which you get
responses.
If I'm not mistaken:
- when you choose Number of
Saravanan,
Can you show us few lines from your CSV file and list of variables that you
configured in JMeter? Could it be problem with delimiter appearing in your
values?
-Original Message-
From: Saravanan [mailto:sasrava...@gmail.com]
Sent: 8. srpanj 2011 7:28
To: jmeter-user@jakarta.
Using http://www.gskinner.com/RegExr/ can sometimes help catch the regex
problems
-Original Message-
From: Felix Frank [mailto:f...@mpexnet.de]
Sent: Friday, April 15, 2011 9:01 AM
To: JMeter Users List
Subject: Re: Urgent Regular expression help
> I have used "Regex Extractor" to extrac
Hi,
I have a response in JMeter that looks like this:
{NO_RECS_PROC=12, NO_RECS_PASS=11, NO_RECS_FAIL=1, BYTES_READ=193}
i.e. pairs of "names" and "values". However, response in the brackets may
vary in terms of different names and number of items that appear inside and
even their order. Using
26 matches
Mail list logo