Comments (3)
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.
Correction #65 does not resolve this issue.
from har-to-k6.
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)
- Duplicated query param when a "+" character is present
- Cannot read properties of undefined (reading 'includes')
- Error with built standalone.js HOT 1
- PostData results with HTTP Status 415 – Unsupported Media Type HOT 1
- Getting error Invalid query item name <0:0> must be string while converting har to k6 script.
- How to retrieve the return of the setup function
- Feature Request: Replace custom parameters using regex while creating the k6 script.
- Docker har-to-k6 not working (ENOENT: no such file or directory) HOT 1
- Support for per-request tags HOT 1
- Handle websockets properly HOT 3
- Post data conflict: params and text must be equal if both are provided HOT 1
- --enable-status-code-checks HOT 1
- POST crashes server with "unknown transfer-encoding" HOT 3
- mangled URL's HOT 4
- ReferenceError: URI is not defined HOT 1
- har generated from chrome produces: "Missing request method (24)" HOT 4
- Improved percent/URL-encoding
- Missing post data MIME type (0) Error when converting fiddle archive HOT 2
- Thrown error does not provide data where the validation error has happened HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from har-to-k6.