Giter VIP home page Giter VIP logo

Comments (5)

NghiaTranUIT avatar NghiaTranUIT commented on September 27, 2024 1

@wabiloo it's a really simple format. You can:

  1. Rename it the zip
  2. Unzip it
  3. It's a folder with a bunch of JSON requests.

You can do an external process by reading each request in the JSON Request to get the Path, Query, ...

from proxyman.

NghiaTranUIT avatar NghiaTranUIT commented on September 27, 2024 1

For example: Here is the HAR file, exported from Google Chrome.

As you can see from the screenshot, the postData is application/json

Screenshot 2024-09-06 at 14 24 09

from proxyman.

smeiring avatar smeiring commented on September 27, 2024

The HAR output from Proxyman is not in JSON format?
When I try the har-to-k6 tool from k6 (https://grafana.com/docs/k6/latest/using-k6/test-authoring/create-tests-from-recordings/using-the-har-converter/) I get the error:
error: Post data MIME type must be one of "multipart/form-data", "application/x-www-form-urlencoded"

How do I configure proxyman to export in the correct json HAR format?

from proxyman.

NghiaTranUIT avatar NghiaTranUIT commented on September 27, 2024

The HAR output from Proxyman is not in JSON format?

It's a JSON. You can rename the extension to JSON and read it with VSCode.

If you look at the HAR 1.2 Spec: http://www.softwareishard.com/blog/har-12-spec/#request

in , it doesn't mention that it should be either "multipart/form-data", "application/x-www-form-urlencoded".

It could be application/json if the body is JSON.

I believe it's a bug from your tool

from proxyman.

smeiring avatar smeiring commented on September 27, 2024

Thanks, our recording has entries with multiple different mimeType.
This put me on the correct path to investigate. thanks

from proxyman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.