How to import otp module into k6? I’d like to send otp parameter and call api to get authorization information.
You can only do this by writing a k6 extension with xk6. You can find information about this in this blog article and this WIP docs PR, and various other extensions as examples on this page in the docs.