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

UnhandledPromiseRejectionWarning: Error: Unrecognized element: kg.apc.jmeter.threads.UltimateThreadGroup #22

Closed
Sand038 opened this issue Oct 10, 2019 · 2 comments

Comments

@Sand038
Copy link

Sand038 commented Oct 10, 2019

I get the following error when I try to convert a jmx file to k6.

(node:23544) UnhandledPromiseRejectionWarning: Error: Unrecognized element: kg.apc.jmeter.threads.UltimateThreadGroup
    at element (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element.js:50:27)
    at module.exports.args (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element.js:1:102)
    at elements (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\elements.js:17:43)
    at module.exports.args (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\elements.js:1:102)
    at Object.hashTree (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element\hashTree.js:4:10)
    at element (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element.js:53:36)
    at module.exports.args (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element.js:1:102)
    at elements (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\elements.js:17:43)
    at module.exports.args (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\elements.js:1:102)
    at Object.TestPlan (C:\Users\SFernando\AppData\Roaming\npm\node_modules\jmeter-to-k6\src\element\TestPlan.js:14:17)
(node:23544) 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(). (rejection id: 1)
(node:23544) [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.

I'm using Jmeter version 5.1.1 and k6 version v0.25.0

@bookmoons
Copy link
Contributor

Thanks for the report @Sand038. That UltimateThreadGroup seems to be an unsupported element. (Maybe a custom element from a plugin?)

You might be able to get it running if you could rebuild without that element.

@simskij
Copy link
Contributor

simskij commented Feb 3, 2020

Closing due to lack of response.

@simskij simskij closed this as completed Feb 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants