Sometimes you cant make use of proxy’s on your network because of computer policy restrictions, not being admin on your machine and some other cases where SSL might give you trouble because of a incorrect certificate.
When faced with this problem you can still create a ZebraTester recording by making use of HTTP Archive sessions - HAR file - generated from Firefox; other tools can do this as well but I will focus on Firefox for now.
To do this in the best way and to ensure you get all necessary objects in your recording some preparations are necessary.
- Open Firefox
- Press F12 to open developer tools
- Enter Toolbox Options (Cog icon)
- Enable persistent logs under Common Options
- Disable Cache under Advanced Settings
Once this has been configured click on the "Network" tab. You can clear the session if anything is present under by clicking the Clear button that is going to reside on the absolute bottom right in your Firefox window. You can now start browsing around by clicking or interacting with elements on your website.
When you have your recording, right click anywhere in the Network window and choose Save All As HAR and save it to your MyTests folder; this is usually
Now all you need to do is fire up ZebraTester, open the Project Navigator and locate your HAR file, when found just click the button for importing the HAR file located on the right:
The screen you are presented with should look like the screenshot below:
Choose yes to convert it to a prxdat file. Then, load your new session file and go back to your main window. Here you will see everything that a proxy recording would give you, this opens up a lot of doors such as automating the whole process but also that anyone can create the load test for you without having ZebraTester experience as long as their browser can save HAR files.
Most modern browsers support the HAR format, IE/Firefox/Chrome/Safari for example, not listed in any order.
Please sign in to leave a comment.