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

Testing SSE not working #202

Open
digitalml opened this issue Dec 13, 2021 · 2 comments
Open

Testing SSE not working #202

digitalml opened this issue Dec 13, 2021 · 2 comments

Comments

@digitalml
Copy link

Trying to test a node js express service that I've implement server-sent events in but I am not getting any results and I'm not sure why.

During the test I can see siege connect 10 connections to the sse service and the node js log shows that the node service is sending data through the open sse connections. When the siege ends I see the node sse service close the connections.

If I connect with curl or browser then everything works as expected and data from the node sse service is received.

siege does not seem to output any verbose data. i would assume that means it isn't receiving anything?

i've tried changing connection = keep-alive in the siege.config file thinking that might do something but it did not.

This is the siege command I am using:
siege --verbose -b -t30s -c10 http://192.168.1.20:3000/sse

The results are:
Lifting the server siege...
Transactions: 0 hits
Availability: 0.00 %
Elapsed time: 29.80 secs
Data transferred: 0.00 MB
Response time: 0.00 secs
Transaction rate: 0.00 trans/sec
Throughput: 0.00 MB/sec
Concurrency: 0.00
Successful transactions: 0
Failed transactions: 0
Longest transaction: 0.00
Shortest transaction: 0.00

The log shows:
Date & Time, Trans, Elap Time, Data Trans, Resp Time, Trans Rate, Throughput, Concurrent, OKAY, Failed
2021-12-12 21:43:30, 0, 29.83, 0, nan, 0.00, 0.00, 0.00, 0, 0

Any help would be greatly appreciated. Thank you.

@jg33
Copy link

jg33 commented Jul 3, 2023

any updates on this front?

@JoeDog
Copy link
Owner

JoeDog commented Jul 5, 2023 via email

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

No branches or pull requests

3 participants