You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2022. It is now read-only.
(node:55861) UnhandledPromiseRejectionWarning: Error: Undefined variable: host
at variable (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/string/interpolate.js:40:38)
at evaluate (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/string/interpolate.js:27:15)
at replace (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/string/interpolate.js:20:10)
at /Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/string/interpolate.js:10:38
at Array.map (<anonymous>)
at interpolate (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/string/interpolate.js:10:25)
at string (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/string/convert.js:7:41)
at value (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/value.js:5:10)
at extractValue (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/common/property.js:20:19)
at property (/Users/glushko/.nvm/versions/node/v12.14.1/lib/node_modules/jmeter-to-k6/src/common/property.js:11:25)
(node:55861) 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:55861) [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.
console.log(context.vars) returns Map {} in the variable() method:
@simskij happen to review this one as well?
I want to convert performance tests from Magento2 which is one of the top eCommerce platforms out there. That might be useful for LoadImpact as well if Magento2 merchants and agencies are able to use k6 instead of a bit outdated jMeter 😌
The tool seems to strugle to find variables defines this way:
I have got this error:
console.log(context.vars) returns
Map {}
in the variable() method:Here is a link to the full JMX file - https://raw.githubusercontent.com/magento/magento2/2.4-develop/setup/performance-toolkit/benchmark.jmx
The text was updated successfully, but these errors were encountered: