Import jslib aws for k6 tests

Hi, when I try to use sqs by that import as described in the docs:

import {
  AWSConfig,
  SQSClient,
} from 'https://jslib.k6.io/aws/0.12.3/sqs.js';

I get an error that there is no https folder, how can I import jslib for aws and use it properly?

Please send us the full script after deleting sensitive details from it. Also, the full error message. Your import statement looks correct. Thanks!

After running the tests it works, it’s just an IDEA error

1 Like