IBM Support

How to handle browser caching in RPT

Question & Answer


Question

How does IBM® Rational® Performance Tester (RPT) handle the browser cache during recording and playback?

Answer

During an RPT recording of a browser session, one of the things recorded is whether your browser had cached the page or image you have selected. If your browser did not need to get the page refreshed because it was cached, the RPT playback will EXACTLY mimic the behavior of your browser at recording time. That is why flushing your file cache is recommended as a step in starting your recording session.

The resulting request would look something like this:

GET /FOO HTTP/1.1
Header....
Header…

Response:

HTTP/1.x 304 Not Modified
Header....
Header…

So RPT mimics the file caching behavior of the browser at recording time.

If you subsequently get the same page "again" in the same recording session and it was cacheable, the second time your browser accesses the page, it will have cached behavior during recording and therefore the same behavior at playback time.

[{"Product":{"code":"SSMMM5","label":"IBM Rational Performance Tester"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF016","label":"Linux"}],"Version":"7.0;7.0.0.1;7.0.0.2;7.0.1;7.0.1.1;7.0.1.2;7.0.2;7.0.2.1;7.0.2.2;7.0.2.3;8.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21321681