JMeter recording

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JMeter recording

Shrikanth Madishetty
Hello All,

I'm JMeter beginner level user, have few questions please help:

1. Recorded sessions capturing lot of samplers though I had excluded
suggested excludes, how would I determine what samples I could delete to
determine correct response time.

2. How to debug reg. expression extractor variable value in responses
(apart from regexp tester in tree view)

3.My web-based app produce lot of run time values, I tried to correlate few
however those not done n has response assertion are passing too in tree
view..is it right results?

4.Max n min response time shown in summary report is same as webpage
loading time on browser? ( I know JavaScript isn't included in response
time)...

Thanking you all.

Regards
Srikanth


On Fri 30 Mar, 2018, 5:30 PM Nirdesh Pachoriya, <[hidden email]> wrote:

> I believe, here when image is downloaded into browser cache, we can look
> forward to other tools which offers better insight into page analysis.
>
> Few tool that can be looked into could be like Developer tool bar or
> WebpageTest .
>
> Regards,
> Nirdesh M Pachoriya
>
> -----Original Message-----
> From: Felix Schumacher [mailto:[hidden email]]
> Sent: Thursday, March 22, 2018 3:12 PM
> To: [hidden email]
> Subject: Re: JMeter Load Test for Capturing response time of Image
>
> Am 22.03.2018 um 07:18 schrieb Nayak, Soumya R.:
> > Hi All,
> >
> > I have scenario for a web application.
> > The scenario is whenever an event is triggered two images are retrieved
> from the server and stays in the browser cache.
> > Now when a user logs in he sees the first image only ,and once he does
> some operations on the first image and submits immediately the second image
> shows up.
> > So my requirement is to calculate the response time of the second image
> which comes in a fraction of seconds from the cache.
> >
> > How can I achieve it through JMeter?
> This seems to be a client action (probably JavaScript or CSS triggered).
> JMeter is probably not the right tool for such a task. It is used to
> simulate the requests/respones to the server. The client side will depend
> too much on the specific browser, which JMeter doesn't emulate nor tries to.
>
> Selenium and friends are probably a better choice for client side action
> tests.
>
> Regards,
>   Felix
>
> >
> >
> > Regards,
> > Soumya
> >
> > **********************************************************************
> > ******************** This message may contain confidential or
> > proprietary information intended only for the use of the
> > addressee(s) named above or may contain information that is legally
> > privileged. If you are not the intended addressee, or the person
> > responsible for delivering it to the intended addressee, you are
> > hereby notified that reading, disseminating, distributing or copying
> > this message is strictly prohibited. If you have received this message
> by mistake, please immediately notify us by replying to the message and
> delete the original message and any copies immediately thereafter.
> >
> > If you received this email as a commercial message and would like to
> > opt out of future commercial messages, please let us know and we will
> remove you from our distribution list.
> >
> > Thank you.~
> > **********************************************************************
> > ********************
> > FAFLD
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
> "Legal Disclaimer: This electronic message and all contents contain
> information from Cybage Software Private Limited which may be privileged,
> confidential, or otherwise protected from disclosure. The information is
> intended to be for the addressee(s) only. If you are not an addressee, any
> disclosure, copy, distribution, or use of the contents of this message is
> strictly prohibited. If you have received this electronic message in error
> please notify the sender by reply e-mail to and destroy the original
> message and all copies. Cybage has taken every reasonable precaution to
> minimize the risk of malicious content in the mail, but is not liable for
> any damage you may sustain as a result of any malicious content in this
> e-mail. You should carry out your own malicious content checks before
> opening the e-mail or attachment." www.cybage.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: JMeter recording

glinius@live.com
 1. You don't need to record any calls to images, scripts, styles, fonts,
etc. you should configure JMeter to retrieve all embedded resources from the
page and use concurrent thread pool of 4-6 threads for fetching them as this
is something what real browsers do in the  HTTP Request Defaults
<http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Request_Defaults>
.  You should also exclude requests which belong to external domains so your
test would focus only application under test and not include any stuff from
i.e. Google, Youtube, whatever. See  Web Testing with JMeter: How To
Properly Handle Embedded Resources in HTML Responses
<https://www.blazemeter.com/blog/web-testing-jmeter-how-properly-handle-embedded-resources-html-responses>  
for more details.

 2. You can use  Debug Sampler
<http://jmeter.apache.org/usermanual/component_reference.html#Debug_Sampler>  
or  Debug PostProcessor
<http://jmeter.apache.org/usermanual/component_reference.html#Debug_PostProcessor>
. You can also print variables values to /jmeter.log/ file using  __logn()
function <https://jmeter.apache.org/usermanual/functions.html#__logn>  

 3. The question is not clear.
 4. Well-behaved JMeter test (assumes you handle embedded resources like
described in point 1, use  HTTP Cache Manager
<http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Cache_Manager>  
to represent browser cache, use  Parallel Controller
<https://github.com/Blazemeter/jmeter-bzm-plugins/blob/master/parallel/Parallel.md#parallel-controller>  
to represent JavaScript calls, etc) should produce the same response time as
real browser does.



--
Sent from: http://www.jmeter-archive.org/JMeter-User-f512775.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]