GithubHelp home page GithubHelp logo

har generated from chrome produces: "[WARN] Post data conflict (1): Both params and text are provided but the values do not match." about har-to-k6 HOT 3 OPEN

grafana avatar grafana commented on June 10, 2024
har generated from chrome produces: "[WARN] Post data conflict (1): Both params and text are provided but the values do not match."

from har-to-k6.

Comments (3)

legander avatar legander commented on June 10, 2024

Typically Chrome generated HAR includes both params and text fields in postData with the same set of data. The compiler will prefer params over text in those cases and log a warning message if both datafields are not equal.
The check that determines if the payloads are equal could perhaps be a little smarter.

from har-to-k6.

w1kman avatar w1kman commented on June 10, 2024

Correction #65 does not resolve this issue.

from har-to-k6.

tom-miseur avatar tom-miseur commented on June 10, 2024

For me, this warning appeared until I implemented #69, at which point params and text would match as expected (params was not decoded as part of parsing, and would therefore appear twice-encoded when passed through seralizeURLSearchParams, leading to an inconsistency). There may however be other situations where the two differ.

from har-to-k6.

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.