So, digging into the JDBCSampler.java class, I see:
Data data = getDataFromResultSet(rs);
res.setResponseData(data.toString().getBytes());
Is there any way to get the "data" object into the "res" (SampleResult)
object, so I can at least have beanshell access to the columns of the
result set?
The If controller requires valid Javascript.
Controllers only process their children if there is at least one
sampler as a child.
On 04/01/2008, touyang <[EMAIL PROTECTED]> wrote:
>
> I've found some threads stating the same problem back in 2004, I reckon it
> should be fixed by now.
>
> JMeter 2
:%# do not need to be escaped.
However, . * + must be escaped.
^ and $ must be escaped unless at the start or end.
On 04/01/2008, gnr80 <[EMAIL PROTECTED]> wrote:
>
> This is good to know escape character is '\' . I am trying to find what are
> the characters to be escaped.
> During testing, cam
On 04/01/2008, Wing Tang <[EMAIL PROTECTED]> wrote:
> Hi Andre,
>
> The User Parameters is not the one that I need, since it needs to be
> parameters global for all threads. I will try to explain it more specific
> what my problem is.
>
> My test server has the following properties which i set in t
On 04/01/2008, André van Hoorn
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> not sure whether I understood you correctly, but:
> Try using "User Parameters" (underneath the "Pre Processors") instead of
> "User Defined Variables" (and check "Update Once Per Iteration"). User
> Parameters are local to a threa
Apologies in advance if this is obvious. I crawled google and the
archives and didn't see what I needed.
I have a JDBC sampler set up, and I want to make some assertions on
the rows' data returned. I see that I can dump the JDBC response to a
file, and then subsequently iterate over the f
in that case, if you get a rough approximation of the traffic pattern, you
should be able to run it multiple times and get comparable results.
peter
On Jan 4, 2008 11:13 AM, Christian Hufgard <[EMAIL PROTECTED]> wrote:
> > exactly as possible will never be exactly what happened in production.
>
I've found some threads stating the same problem back in 2004, I reckon it
should be fixed by now.
JMeter 2.3 is what I use, Windows XP, Java version 6 update 3.
I can NOT make the IF controller and while controller evaluate to true, even
when I just put the bare word true in there. I tried:
> exactly as possible will never be exactly what happened in production. the
> best one can hope for is the same traffic loads and patterns.
Yes, I had to add some patterns and I hoped, I could do this easier with
this Sampler.
>>from your comments so far, it sounds like you want to reproduce a s
that's tricky :)
exactly as possible will never be exactly what happened in production. the
best one can hope for is the same traffic loads and patterns.
from your comments so far, it sounds like you want to reproduce a sudden
traffic spike to see what happens on the server and possible see how l
> you can use multiple thread groups and control each one with a timer, though
> the timing is probably going to vary depending on how fast the server
> responds.
>
> at best, jmeter will try to simulate peak load and lull load.
>
> a simple way would be to create 10 thread groups and have some t
you can use multiple thread groups and control each one with a timer, though
the timing is probably going to vary depending on how fast the server
responds.
at best, jmeter will try to simulate peak load and lull load.
a simple way would be to create 10 thread groups and have some thread groups
s
> when I wrote the sampler, it was to run a large number of requests. In my
> case, I took a sample log of 50K and set jmeter to run for 1million
> iterations
Ah ok. My problem is some more weird. I have to simulate peaks with
response-times up to 30 seconds. Then some minutes with one or two
requ
This is good to know escape character is '\' . I am trying to find what are
the characters to be escaped.
During testing, came across the following fields to be escaped.
()[]:%#
Thanks,gnr80
--
View this message in context:
http://www.nabble.com/Regular-Expression-Extractor-Issue-tp14589696p146
if you want a delay between requests, add a timer.
when I wrote the sampler, it was to run a large number of requests. In my
case, I took a sample log of 50K and set jmeter to run for 1million
iterations
I added a timer to produce the desired concurrent requests per second.
peter
On Jan 4, 2008
> change the number of iterations to 1, if you just want it to read the first
> line.
I want the exact oposite. :)
If I increase the number of iterations, does the sampler take respect of
the delay between the single requests? And how does it handle concurrent
requests?
Christian
-
Hi Andre,
The User Parameters is not the one that I need, since it needs to be
parameters global for all threads. I will try to explain it more specific
what my problem is.
My test server has the following properties which i set in the User Defined
Variables:
server.name --> test
server.name.port
change the number of iterations to 1, if you just want it to read the first
line.
the purpose of the accesslog sampler is to take a huge log file with
hundreds of thousands of requests and run a simulation of actual production
traffic.
peter
On Jan 4, 2008 6:06 AM, Christian Hufgard <[EMAIL PROT
Hi,
not sure whether I understood you correctly, but:
Try using "User Parameters" (underneath the "Pre Processors") instead of
"User Defined Variables" (and check "Update Once Per Iteration"). User
Parameters are local to a thread (which I think is what you need)
whereas User Defined Parameters ar
Hi everyone,
I am the new guy on this list. :)
I just tried to set up and use the access log sampler and cannot get it
working. I followed this tutorial:
http://jakarta.apache.org/jmeter/usermanual/jmeter_accesslog_sampler_step_by_step.pdf
The behaviour I am expecting is, that the sampler alwa
Hi,
We run our JMeter scripts via ant, and pass in various values which are used
to define the number of threads for each threadgroup to use, etc.
Due to a problem where we're seeing irregular arrival rates we want to try
spreading the load across multiple servers. So I setup and executed
jmeter
Hello,
I have the following scenario which i cant get to work correctly, it always
return the last set of the User Defined Variables.
I have a generic login script that i want to use for different enviroments,
for instance a Development (dev) enviroment and a System Integration (si)
enviroment.
Hi sebb,
Thanks.
sebb wrote:
> It's already possible to run multiple JMX files in GUI mode (though
> not automatically), and the server in client-server mode can be left
> running between test runs, so that Java startup-time is restricted to
> the client.
>
> Batch mode only processes the single
23 matches
Mail list logo