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

Facing Error while converting JMX which has SMTP sampler to send emails #33

Closed
sureshnepolian opened this issue Jul 24, 2020 · 1 comment

Comments

@sureshnepolian
Copy link

I have JMX script which is needs to be converted into k6 project, but facing below issue

[root@vpc-centos7-bin]# jmeter-to-k6 smtpPROD.jmx -o k6script
(node:30105) UnhandledPromiseRejectionWarning: Error: Unrecognized element: SmtpSampler
    at element (/usr/lib/node_modules/jmeter-to-k6/src/element.js:61:11)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/element.js:3:10)
    at elements (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:20:19)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:2:10)
    at Object.hashTree (/usr/lib/node_modules/jmeter-to-k6/src/element/hashTree.js:4:10)
    at element (/usr/lib/node_modules/jmeter-to-k6/src/element.js:66:36)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/element.js:3:10)
    at elements (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:20:19)
    at module.exports.args (/usr/lib/node_modules/jmeter-to-k6/src/elements.js:2:10)
    at Object.ThreadGroup (/usr/lib/node_modules/jmeter-to-k6/src/element/ThreadGroup.js:28:19)
(node:30105) 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:30105) [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,

Yes, the SmtpSampler is not supported by the converter, unfortunately.
Please remove it and try again.

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