We no longer actively support uploading Browser HAR files.
Akita can ingest traces in the form of HAR files and convert them into API specs. This offers a lightweight approach to understand APIs that power mobile or web applications. HTTP Archive format (HAR) is a common way for browsers to record network interactions with a site. Mobile developer proxies like Charles also generate HAR files.
All you need is a single command to convert a HAR file into an API spec:
akita apispec --traces path/to/trace.har \ --out akita://myProject:spec:mySpec
Learn more about the
apispec command here.
In this example, we're going to generate a HAR file for a website by using Google Chrome developer tools.
Navigate to the website you want to test and right click -> inspect to bring up the developer console.
Network tab and you should see that it's currently recording.
As you click around and type on the website, Chrome collects all the network requests in the background.
Once you're satisfied with the set of data collected, click on the download button to download the HAR file.
No Download Button?
If you don't see download button shown in the previous screenshot, it might be because you have the Chrome Developer Tools window to the right (or left) of your screen, rather than on the bottom. That sometimes causes the download button to be hidden.
Either try expanding the width of the Chrome Developer Tools window, or click the "Settings" icon (the gray widget in the top right of the window) and change the orientation.
Updated about 1 month ago