Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add websocket functionallity #141

Conversation

trinatafoya
Copy link

@trinatafoya trinatafoya commented Dec 18, 2023

Description

This pull request is a feature that allows the har-to-k6 converter to handle web-socket functionality. It uses the k6 library import ws from 'k6/ws'. These requests were formerly ignored in the original itteration of har-to-k6.

Type of change

This version handles the websocket send(...) messages and adds a setTimeout in place of sleep for websockets, this is because k6 websocket callbacks are not made to work with the sleep(...) function.

  • New feature (non-breaking change which adds functionality)

@trinatafoya trinatafoya requested a review from a team as a code owner December 18, 2023 21:00
@trinatafoya trinatafoya requested review from 2Steaks and ckbedwell and removed request for a team December 18, 2023 21:00
@CLAassistant
Copy link

CLAassistant commented Dec 18, 2023

CLA assistant check
All committers have signed the CLA.

@trinatafoya trinatafoya force-pushed the feature/add_websocket_functionallity branch 2 times, most recently from 3547ed0 to acfb789 Compare December 18, 2023 21:15
@trinatafoya trinatafoya force-pushed the feature/add_websocket_functionallity branch from acfb789 to 2e53cce Compare December 18, 2023 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants