Fitblip / wsstat

Websocket stress testing made beautiful
MIT License
173 stars 24 forks source link

Support init message #19

Open derom opened 4 years ago

derom commented 4 years ago

Hey! First of all, thanks for this repo. It would be nice to have the ability to send a message to websocket server. For example, subscribe to a specific channel of messages before starting a test.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.01%) to 75.915% when pulling 83dd683ba42a1bc62606fda875514a716443f544 on derom:support-init-message into f7c91eb8765a801ad5e0504ca22ee2ec832cf682 on Fitblip:master.

codecov-io commented 4 years ago

Codecov Report

Merging #19 into master will decrease coverage by 0.01%. The diff coverage is 75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   75.92%   75.91%   -0.02%     
==========================================
  Files           5        5              
  Lines         324      328       +4     
==========================================
+ Hits          246      249       +3     
- Misses         78       79       +1
Impacted Files Coverage Δ
wsstat/main.py 91.66% <100%> (+0.36%) :arrow_up:
wsstat/clients.py 70.58% <66.66%> (-0.07%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f7c91eb...83dd683. Read the comment docs.

derom commented 4 years ago

There is no "WebSocket connection is closed" anymore https://github.com/aaugustin/websockets/commit/8d907e029996a5563ceb5b65e02406c442674733#diff-edaffe2a8ed181f48999c520ad93d60cL17 so I changed the expected message

codecov-commenter commented 4 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (master@f7c91eb). Learn more about missing BASE report.

Files Patch % Lines
wsstat/clients.py 66.66% 1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #19 +/- ## ========================================= Coverage ? 75.91% ========================================= Files ? 5 Lines ? 328 Branches ? 0 ========================================= Hits ? 249 Misses ? 79 Partials ? 0 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.