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

Error: Unrecognized element: CacheManager #18

Closed
redochka opened this issue Jul 3, 2019 · 9 comments · Fixed by #26
Closed

Error: Unrecognized element: CacheManager #18

redochka opened this issue Jul 3, 2019 · 9 comments · Fixed by #26

Comments

@redochka
Copy link

redochka commented Jul 3, 2019

Running in docker , i get this error:

/home/node/jmeter-to-k6/src/element.js:50
  if (!route[name]) throw new Error('Unrecognized element: ' + name)
                    ^

Error: Unrecognized element: CacheManager
    at element (/home/node/jmeter-to-k6/src/element.js:50:27)
    at module.exports.args (/home/node/jmeter-to-k6/src/element.js:1:40)
    at elements (/home/node/jmeter-to-k6/src/elements.js:17:43)
    at module.exports.args (/home/node/jmeter-to-k6/src/elements.js:1:40)
    at Object.hashTree (/home/node/jmeter-to-k6/src/element/hashTree.js:4:10)
    at element (/home/node/jmeter-to-k6/src/element.js:53:36)
    at module.exports.args (/home/node/jmeter-to-k6/src/element.js:1:40)
    at elements (/home/node/jmeter-to-k6/src/elements.js:17:43)
    at module.exports.args (/home/node/jmeter-to-k6/src/elements.js:1:40)
    at Object.TestPlan (/home/node/jmeter-to-k6/src/element/TestPlan.js:14:17)

@bookmoons
Copy link
Contributor

The CacheManager is currently not supported.

@redochka
Copy link
Author

redochka commented Jul 5, 2019

But this is your docker image; I don't use CacheManager myself

@simskij
Copy link
Contributor

simskij commented Feb 3, 2020

Hello @redochka! 👋🏼

Thank you for your report!
Is this still an issue for you or have you been able to solve/work around it?

@malfus
Copy link

malfus commented Apr 20, 2020

@simskij - is there a work around? I see the same error. In order to use k6 I need to port a large number of jmx files.

@simskij
Copy link
Contributor

simskij commented Apr 23, 2020

@malfus Would you be able to provide a small repro jmx where this happens? It would be of enormous help. Thanks!

@simskij
Copy link
Contributor

simskij commented Apr 24, 2020

@redochka

But this is your docker image; I don't use CacheManager myself

CacheManager is a JMeter feature. If you check your jmx, you'll likely see a mention of it somewhere. In the GUI it's named HTTP Cache Manager (and maybe variations of this, depending on context):

image

@malfus
Copy link

malfus commented May 7, 2020

@simskij - I don't know if you saw this, but I sent 4 jmx scripts to support@k6.io - your pull request, I assume, would address the CacheManager issue. There are a few other issues.

@simskij
Copy link
Contributor

simskij commented May 7, 2020

@simskij - I don't know if you saw this, but I sent 4 jmx scripts to support@k6.io - your pull request, I assume, would address the CacheManager issue. There are a few other issues.

Yeah, thanks for that. Im working on those as well. The throughput controller for instance seems to be working on my machine.

I’ll get back to you once it’s working reliably. 👍🏻

@simskij
Copy link
Contributor

simskij commented May 22, 2020

@malfus, would you mind trying again with your jmx's now? I just released anew version (1.0.0) that should solve all issues you've provided me with so far.

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

Successfully merging a pull request may close this issue.

4 participants