Thanks Jean-Louis, perfectly clear and that was exactly what I needed :) I
also found that if I define my variables first e.g. serverName then the
field is automatically updated in the request created while recording.

Only problem is that when I add timers of any kind to the controller this
value is added into the total result. It's okay for a constant timer as I
can just subtract that value from the timings, but for variable time delays
it's not possible.

Cheers,
James.

On Thu, Feb 4, 2010 at 6:16 PM, <[email protected]>wrote:

>  With http proxy, if you prepare a test plan with empty Transactions
> controllers, with the HTTP proxy you can group "pages" as transaction, by
> changing manually the transaction controller in the Target Controller of
> the
> HTTP Proxy window. At the end of recording, the test plan is ready ( maybe
> you have to add a cookie manager, if cookies are used)
> Sorry for my English, i hope i am clear...
>
>
> Cordialement / Best regards
>
> Jean-Louis Pasturel
>
>
> -----Message d'origine-----
> De : Deepak Shetty [mailto:[email protected]]
> Envoyé : jeudi 4 février 2010 01:31
> À : JMeter Users List
> Objet : Re: Grouping recorded requests
>
> hi
> The only way to group up requests is the Transaction controller, but you
> wont be able to do this from the Proxy Recorded script, you'd have to do it
> manually.
>
> The embedded resources checkbox should work for all CSS, JS, images that
> are
> directly linked on the page (it wont work if the image is say for e.g.
> specified as the background-image in a CSS rule). If its not working for
> you
> , can you post the HTML snippet that includes the image/js/css (you can use
> the response tab of view results tree)? there might be a bug in Jmeter code
> which would be useful to know.
>
> regards
> deepak
>
> On Wed, Feb 3, 2010 at 4:25 PM, James Hill <[email protected]>
> wrote:
>
> > Thanks for your replies Deepak and Sebb.
> >
> > I tried retrieving all embedded resources. When I add a view results
> > tree listener and select the homepage.html, I see a couple of images
> > and some text but not the complete page. If I record and have JMeter
> > get everything then at least I retrieve those missing image, css and js
> files.
> >
> > My test plan looks something like:
> >
> > - getHomePage (simple controller)
> > -- homepageHTML
> > -- image1.png
> > -- image2.png
> > -- someJavaScript.js
> > -- anotherImageFile.png
> > -- etc
> > - getPageTwo
> > -- pageTwoHTML
> > -- image1.png
> > -- image2.png
> > -- someJavaScript.js
> > -- anotherImageFile.png
> > -- etc.
> >
> > When I run the test and I look at the aggregate results I see an entry
> > for each individual piece of content on the page. Is there any way to
> > view the results in total i.e. rather than seeing individual response
> > times for all elements I see an overall response time for that entire
> > page, the sum of all the elements?
> >
> > The simple controller is only that and it doesn't allow me to get a
> > timing result for it. I can't add the image/css/etc. get requests as
> > child nodes of the original homepage get request. I'm a little stumped
> > as to how to do this.
> >
> >
> > On Wed, Feb 3, 2010 at 5:38 PM, Deepak Shetty <[email protected]> wrote:
> >
> > > >Note that if I set "Retrieve all embedded resources" the image and
> > > >.js requests aren't recorded.
> > > Which is ok, JMeter will fetch all embedded resources if this is
> > > checked
> > on
> > > the recorded http samples
> > >
> > > >The client needs to see how long it takes to get the entire
> > > >contents of
> > a
> > > >given page.
> > > > i.e. so I see all the timings summed for the elements?
> > > a browser doesnt download all resources serially in a single thread.
> > > Caching
> > > also influences a lot of stuff, so this number is actually quite
> > > higher than the actual value.
> > >
> > >
> > > On Tue, Feb 2, 2010 at 9:10 PM, James Hill <[email protected]>
> > > wrote:
> > >
> > > > Hi all.
> > > >
> > > > I've set up JMeter to record via the proxy. The following options
> > > > are
> > > > ticked:
> > > > - redirect automatically
> > > > - follow redirects
> > > > - use keepalive
> > > >
> > > > For grouping, I've selected "Add seperators between groups"
> > > >
> > > > When I record via the browser JMeter grabs everything. I needed to
> > > > do
> > > this
> > > > because otherwise it doesn't grab the javascript on the page or
> > > > the
> > > images.
> > > > The client needs to see how long it takes to get the entire
> > > > contents of
> > a
> > > > given page.
> > > >
> > > > Problem comes when I run the script. There's an entry in the
> > > > results
> > file
> > > > for every single element on a given page: js, html, png, gif. Is
> > > > it possible to summarise this data so that I can view a total for
> > > > a page? i.e. so I
> > > see
> > > > all the timings summed for the elements?
> > > >
> > > > Note that if I set "Retrieve all embedded resources" the image and
> > > > .js requests aren't recorded.
> > > >
> > > > Regards,
> > > > James.
> > > >
> > >
> >
>
>
>
> *********************************
> This message and any attachments (the "message") are confidential and
> intended solely for the addressees.
> Any unauthorised use or dissemination is prohibited.
> Messages are susceptible to alteration.
> France Telecom Group shall not be liable for the message if altered,
> changed or falsified.
> If you are not the intended addressee of this message, please cancel it
> immediately and inform the sender.
> ********************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to