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" <[email protected]> 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 >
