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

Expose complete data from a csv data source #146

Open
shubhendumadhukar opened this issue Jan 16, 2022 · 0 comments
Open

Expose complete data from a csv data source #146

shubhendumadhukar opened this issue Jan 16, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@shubhendumadhukar
Copy link
Contributor

Hi. thanks for the tool.
I need to mock Websocket. I want camouflage to push data from a file(example csv, pg etc) line by line. In other word, i want to prepare a queue of message:

message 1
message 2
message 3
message 4

And get the message in the same order:

new WebSocket("ws://127.0.0.1:8082/hello/world").onmessage = function(event) {
        console.log("socket data:" + event.data);
    };

Result in console:

socket data: message 1
socket data: message 2
socket data: message 3
socket data: message 4

Is it implemented? I didin't find any information about it.

Thanks.

Originally posted by @YasuroNN in #22 (comment)

@shubhendumadhukar shubhendumadhukar self-assigned this Jan 16, 2022
@shubhendumadhukar shubhendumadhukar added the enhancement New feature or request label Jan 16, 2022
@shubhendumadhukar shubhendumadhukar moved this from To do to In Progress in Camouflage Issue Tracker Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant