On 28 April 2014 19:23, Deepak Shetty <shet...@gmail.com> wrote:
> Im not sure I understand your problem - you can scope different timers to
> different URLs so you could use different timers with differing values.
> In the worst case you could do something like
> http://jmeter.apache.org/usermanual/component_reference.html#Constant_Timer
> The value here can be varied based on a variable(the thread delay value)
> and you can calculate that (or read from a file or whatever ) based on
> whatever algorithm/url you want

There are also Beanshell and JSR223 Timers.

>
> On Sat, Apr 26, 2014 at 3:28 AM, Mike Brunt <go2ri...@gmail.com> wrote:
>
>> Thank you Deepak..."Not sure what you mean by reliable differential think
>> times" what I meant is that we have tried various ways to
>> have differential times per URL in the same script and have not gotten it
>> to work.
>>
>>
>> On Sat, Apr 26, 2014 at 3:06 AM, Deepak Shetty <shet...@gmail.com> wrote:
>>
>> > The dynamic cart id is fairly typical - you have to add a post processor
>> > like a regex extractor and use the variable in your next request
>> > For your last problem timers can be scoped to a single request by
>> creating
>> > them as the child of your sampler so you can add a think time to just one
>> > page
>> > Not sure what you mean by reliable differential think times
>> > On Apr 25, 2014 12:23 PM, "Mike Brunt" <go2ri...@gmail.com> wrote:
>> >
>> > > We have a client with a very dynamic web sire which we are trying to
>> > create
>> > > meaningful scripts for...
>> > >
>> > > So, there is a Cart ID that is dynamic.  When the agent buys tickets
>> for
>> > a
>> > > user, a Cart ID is created, and this is different each time.  I have to
>> > get
>> > > this Cart ID so that I can link the purchase to it.
>> > >
>> > > This is the section of HTML that I need parsed:
>> > >       <input type="hidden" name="CartsList" value="6251578">
>> > >       <input type="hidden" name="OldOrderUserCCKey" value="0">
>> > >
>> > > That CartsList is the Cart ID that I'm talking about.
>> > >
>> > > The second issue is that one URL in the test has to behave differently
>> in
>> > > terms of think time.  Does anyone know the best way to create reliable
>> > > differential think times in a single script; we are using the Gausian
>> > > Random timer at present...here is the issue.
>> > >
>> > > When I get past this, another issue is the credit card authorization.
>> > > There is javascript on a page that waits for 2 minutes.  JMeter doesn't
>> > > execute javascript, so I'd have to figure out how to specify a wait
>> time
>> > > for just one page.
>> > >
>> > > --
>> > > Kind Regards - Mike Brunt
>> > > Senior Server Engineer
>> > > Cell: 424.220.9548
>> > > http://www.cfwhisperer.com
>> > > Twitter @cfwhisperer
>> > >
>> >
>>
>>
>>
>> --
>> Kind Regards - Mike Brunt
>> Senior Server Engineer
>> Cell: 424.220.9548
>> http://www.cfwhisperer.com
>> Twitter @cfwhisperer
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org

Reply via email to