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

Test service #27

Closed
14 tasks
thorbjoernl opened this issue Mar 10, 2023 · 2 comments · Fixed by #49
Closed
14 tasks

Test service #27

thorbjoernl opened this issue Mar 10, 2023 · 2 comments · Fixed by #49

Comments

@thorbjoernl
Copy link
Collaborator

thorbjoernl commented Mar 10, 2023

Test service

Summary

Configurable test service for sending a lot of random data according to some configuration (eg. lots of small packets/a few big packets / reliable/unreliable / burst/regular interval. For received data, send back a hash of the data to source to allow for verification. Collect statistics about the provided service, and report it.

Should allow for systematic testing of many network patterns, and realistic sending patterns.

Tasks

  • Controller
    • Load test configuration from config file and configure worker(s).
      • Simple port discovery when connecting to workers.
      • Configuration should support setting a distribution of packet size to send, what type of connection to use (reliable/unreliable) and whether traffic should be spaced evenly or in bursts.
    • Run tests and collect statistics.
    • Reporting of test results
      • RTT, packet lost, retransmission overhead, amount of data received/sent on either end, etc.
      • Console
      • HTML report (??)
  • Worker
    • Receive and set configuration from Controller
    • Echo data as well as measured statistics to Controller.

Tests

  • Verify that the correct data is being sent and received
  • Verify correct statistics

Notes

Anything else?

@thorbjoernl thorbjoernl added testing triage For issues which have yet to be prioritized and assigned to a sprint. labels Mar 10, 2023
@thorbjoernl thorbjoernl self-assigned this Mar 10, 2023
@MollersThrane
Copy link
Collaborator

MollersThrane commented Mar 16, 2023

Whomst didst thee, @thorbjoernl, imagine wouldst be sending and receiving the packets? Did you think the workers would send packets between themselves and report the statistics to the controller, or would they all send to the controller, or the controller would send to the workers?

@thorbjoernl
Copy link
Collaborator Author

thorbjoernl commented Mar 16, 2023

:D

In such a way I did imagine,
The controller gathereth all data,
The workers, they must acknowledge the sent,
And mayhap send stats to the controller.

Mine own approach mayhaps over-complicates,
And at this point, 'tis more important to
Have something that doth work, than toil away
On needless intricacies of naught.

Yet deeply, I have not thought it through,
So prithee, feel free to use thy own approach.

@thorbjoernl thorbjoernl added this to the Sprint 11 milestone Mar 17, 2023
MollersThrane added a commit that referenced this issue Mar 21, 2023
Co-authored-by: Ola Vanni Flaata <olavfla@users.noreply.github.com>
@thorbjoernl thorbjoernl assigned olavfla and unassigned thorbjoernl Mar 29, 2023
@Kurumiiw Kurumiiw mentioned this issue Apr 12, 2023
@Kurumiiw Kurumiiw modified the milestones: Sprint 11, Release 2 Apr 12, 2023
@Kurumiiw Kurumiiw added high priority and removed triage For issues which have yet to be prioritized and assigned to a sprint. labels Apr 12, 2023
Kurumiiw added a commit that referenced this issue Apr 24, 2023
Co-authored-by: Ola Vanni Flaata <ola.flaata@gmail.com>
Kurumiiw added a commit that referenced this issue Apr 24, 2023
Co-Authored-By: Ola Vanni Flaata <ola.flaata@gmail.com>
Kurumiiw added a commit that referenced this issue Apr 24, 2023
Co-Authored-By: Ola Vanni Flaata <ola.flaata@gmail.com>
Kurumiiw added a commit that referenced this issue Apr 24, 2023
@Kurumiiw Kurumiiw linked a pull request Apr 24, 2023 that will close this issue
Kurumiiw added a commit that referenced this issue Apr 24, 2023
Kurumiiw added a commit that referenced this issue Apr 24, 2023
* #27 Began some work on test_service and an config

Co-authored-by: Ola Vanni Flaata <olavfla@users.noreply.github.com>

* Made configurable workers that send data to controller in different threads

* Fixed path for config file

* #27 Test service that imitates traffic from Emil's service

* #27: test_service seperated into worker and controller.

Co-authored-by: Ola Vanni Flaata <ola.flaata@gmail.com>

* #27: test_service debug information

Co-Authored-By: Ola Vanni Flaata <ola.flaata@gmail.com>

* #27: TCP tuning

Co-Authored-By: Ola Vanni Flaata <ola.flaata@gmail.com>

* #27: NATO narrowband config

* #27: B L A C K

---------

Co-authored-by: Tobias Thrane <Tobias@thrane.name>
Co-authored-by: Ola Vanni Flaata <olavfla@users.noreply.github.com>
Co-authored-by: Ola Vanni Flaata <ola.flaata@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants