Greetings! I'm new to JMeter, and I'm trying to replicate something
that was easy to do back in my LoadRunner days.
For "background" activity when testing specific things, I would create
a LoadRunner script in which a Vuser viewed, say, six different pages.
I would then parameterize the six URLs
Hi
you could do this with BSH, You'd have to write some java code that can get
6 strings from 250 randomly from a file and set those as variables that can
be iterated over(using forEach , your variables would have the names like
url_1 , url_2 and the foreach would iterate over url , you'd just need
You should check out the switch controller too. You can add random weighted
choice of children by putting the following snippet into the "switch value"
field:
${__BeanShell(random = new Random();int[] values =
{0\,0\,0\,0\,0\,0\,0\,0\,0\,0\,0\,0\,1\,1\,1\,1\,1\,2\,2\,3};return
values[random.n
Hi guys, I was experimenting with an idea that doesn't require coding
and found a little bug:
Make a test plan like this
thread group (threads = 1, ramp = 1, loops = 1)
+loop controller (5 times)
\- module controller that refferences to the random controller bellow
+recording controller
\- ran
Can you retest with ading a simple controller as the parent of the random
and point your module controller to it? im not sure if the module controller
includes all the children under it or includes the parent as well..
+loop controller (5 times)
\- module controller that refferences to the simpl
Still not working right, however I got it a little wrong about the
number of results:
case 1:
- random controller is directly in the recording controller: for 5
loops, I get 15 results (not 10 as mentioned in previous mail).
case 2
- deepak's recommendation, random controller in simple controll
One last thing , move the recording controller to its own disabled Thread
Group
Thread Group 1 (1 thread 1 loop)
> +loop controller (5 times)
> \- module controller that refferences to the group2/simple controller
bellow
Thread Group 2 (Disabled)
> +recording controller
> simple Controller
> \-
case 3:
- random controller directly in disabled thread group (module
controller referencing it) : number of results is twice as much as
expected (for 5 loops, 10 results). this time the samples aren't
randomised any more (just like they are in a simple controller)
case 4:
- random controller dire
I changed the previous test plan for case 4, i forgot to change one
little detail.
On Thu, Aug 27, 2009 at 8:17 PM, Adrian Speteanu wrote:
> case 3:
> - random controller directly in disabled thread group (module
> controller referencing it) : number of results is twice as much as
> expected (for
Hi
this works as expected for me
Thread Group 1 (1 thread 1 Loop)
Loop Controller ( 5)
Module Controller ---> Thread Group 2 -->Recording --> Simple
Thread Group 2 (Disabled)
Recording Controller
Simple Controller
Req 1
Req 2
Result = 5 requests (Req1,
True, that works for me as well.
But the point was to select random actions each loop, so it's the
random controller at stake here.
On Thu, Aug 27, 2009 at 8:48 PM, Deepak Shetty wrote:
> Hi
> this works as expected for me
> Thread Group 1 (1 thread 1 Loop)
> Loop Controller ( 5)
> Module
Hi
Im not sure what you mean? Random actions do get selected (under simple
controller). if your simple controller had 250 requests then you would get 5
at random (though the original posted stated that he didnt want those 250
requests as samples)
regards
deepak
On Thu, Aug 27, 2009 at 10:54 AM, A
The only other thing I can think of other than BSH would be to write a pre
process step (perhaps in ANT or somewhere) which reads the file and
dynamically creates a Jmeter test file (its pretty straight forward to do
this) with 250 samples which then is included into your main test ..
regards
deep
how do we capture page load times including client-side Javascript execution
for browsers using Jmeter
--
View this message in context:
http://www.nabble.com/Page-load-times-tp25182384p25182384.html
Sent from the JMeter - User mailing list archive at Nabble.com.
--
you cant
http://jakarta.apache.org/jmeter/ -- Jmeter is not a browser.
Use Selenium or QTP or watir or equivalent which drive a browser for the
tests
regards
deepak
On Thu, Aug 27, 2009 at 5:49 PM, maalamaal wrote:
>
> how do we capture page load times including client-side Javascript
> executio
15 matches
Mail list logo