This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { responseCode, responseType } from './constants'; | |
import { checkResponse, getArrayFromRequest, getCallbackId } from './socket.io'; | |
import { uuidv4 as uuid } from 'https://jslib.k6.io/k6-utils/1.4.0/index.js'; | |
import { setTimeout, clearTimeout } from 'k6/experimental/timers'; | |
import { check } from 'k6'; | |
export abstract class K6SocketIoBase { | |
socket: any; | |
callbackCount = 0; |