I'm not that familiar with LoadRunner, but with jMeter it records exactly what the browser is doing. I would always recommend to clear the browser's cache before you start recording, as if it has already loaded a lot of resources it will not request them again. And thus won't be recorded. That is, if you DO want to record all resources. This will load those resources for each user's journey again and tests that journey exactly as it's recorded.
If not, you can exclude resources from being recorded in the settings of the Test Script Recorder. But then the resources will never be loaded when testing. > -----Original Message----- > From: 黄吉浩 [mailto:[email protected]] > Sent: 23 September 2014 10:03 > To: JMeter Users List > Subject: Re:RE: How does jmeter use cache? > > Yes. but there is difference. > In LoadRunner, first the virtual user download all pictures, and in following > iterations use cached static resources and don't get them from server again. > in Jmeter, never get these picture resources. > > 在 2014-09-23 16:03:16,"Marijn Wijbenga" > <[email protected]> 写道: > >In the recorder you can exclude requests with certain file extensions if you > want. You could, for example, exclude all PNG, GIF and JPEG files (or anything > that you don't want). > > > > > > > >> -----Original Message----- > >> From: 黄吉浩 [mailto:[email protected]] > >> Sent: 23 September 2014 07:34 > >> To: [email protected] > >> Subject: How does jmeter use cache? > >> > >> I think jmeter does not use cache at all. right? > >> > >> Consider a situation: Web Page is big(many resouces, big pictures. > >> etc) and network throughput is limitid or not enough. > >> How to deal this situation? > >> - in other test tool, such as Loadrunner, don't check ' clear cache > >> in each iteration' option. > >> - in jmeter, we should record the samplers exclude resources. > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [email protected] > >For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
