Skip to content
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.

(node:6304) UnhandledPromiseRejectionWarning: Error: Invalid header entry #37

Closed
joaofs18 opened this issue Oct 27, 2020 · 1 comment
Closed

Comments

@joaofs18
Copy link

joaofs18 commented Oct 27, 2020

I'm trying to convert the file attached, but I'm getting the error below:

C:\WINDOWS\system32>jmeter-to-k6 c:\login.jmx -o full
(node:6304) UnhandledPromiseRejectionWarning: Error: Invalid header entry
    at header (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element\HeaderManager.js:64:11)
    at headers (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element\HeaderManager.js:54:5)
    at property (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element\HeaderManager.js:44:7)
    at Object.HeaderManager (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element\HeaderManager.js:17:5)
    at extractDefaults (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\common\defaults.js:33:44)
    at element (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element.js:65:22)
    at module.exports (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element.js:3:10)
    at elements (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\elements.js:20:19)
    at module.exports (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\elements.js:2:10)
    at Object.hashTree (C:\Users\JOAO SILVA\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element\hashTree.js:4:10)
(node:6304) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6304) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
@simskij
Copy link
Contributor

simskij commented Jan 8, 2021

Hi,

There is no file attached, unfortunately. Would you mind adding it to the issue?

Best,
Simme

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants