Search code examples
jmeterhar

How to put .HAR file exported from Chrome to import into JMeter?


I export all the network calls from chrome to an hAR file format which I again want to import into JMeter to use the network call for load testing.

How can I do it? I have heard about floor.io, it isn't working anymore.


Solution

  • Use online Blazemeter converter, just upload file and convert (limited to 50M)

    Acceptable files: .json, .har, .xml, .pcap

    For large files use HAR to Apache JMeter Convertor

    har2JMeter -har [*.har] -jmx [*.jmx]
    

    Download zip currently unavailable, so you need to download github project and run

    gradlew distZip
    

    Then open zip file in build/distributions/har2JMeter-master-0.4.0.SNAPSHOT

    You will have execution file in bin folder