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
Hi. I've a script that uses the KMSClient to generate a data key from AWS:
import { AWSConfig, KMSClient } from 'https://jslib.k6.io/aws/0.8.0/kms.js';
export function setup() {
return {
dataKey: kms.generateDataKey(keyAlias, 32)
};
All script works fine and I am able to send and generate correctly everything.
If I add the import:
import { crypto } from "k6/experimental/webcrypto";
The code fails with: ERRO[0003] TypeError: Object has no member 'json' at value (webpack://k6-jslib-aws/./src/internal/kms.ts:118:39(93)) at setup (file:///Users/escuderx/Projects/nst_performance_testing/script.js:73:70(15)) hint="script exception"
Can you give me some advice? I don't see why this library is impacting the code, and not the others.
The text was updated successfully, but these errors were encountered:
Hi. I've a script that uses the KMSClient to generate a data key from AWS:
All script works fine and I am able to send and generate correctly everything.
If I add the import:
import { crypto } from "k6/experimental/webcrypto";
The code fails with:
ERRO[0003] TypeError: Object has no member 'json' at value (webpack://k6-jslib-aws/./src/internal/kms.ts:118:39(93)) at setup (file:///Users/escuderx/Projects/nst_performance_testing/script.js:73:70(15)) hint="script exception"
Can you give me some advice? I don't see why this library is impacting the code, and not the others.
The text was updated successfully, but these errors were encountered: