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

Add tests for repeater command #438

Closed
lsndr opened this issue Aug 21, 2023 · 0 comments · Fixed by #439
Closed

Add tests for repeater command #438

lsndr opened this issue Aug 21, 2023 · 0 comments · Fixed by #439
Assignees
Labels
Type: tests The issue implements some sort of tests

Comments

@lsndr
Copy link
Contributor

lsndr commented Aug 21, 2023

Create a Github Workflow and tests for the repeater.

Test Cases

The Test Cases should be run against all specified Distributions, Environments and Node.js Versions.

Run Scan Through Repeater Against Local Target

  1. Create a repeater
  2. Connect the repeater
  3. Deploy TODO app Locally
  4. Run a scan
  5. Wait until the scan is finished
  6. Verify the scan is in “done” status
  7. Verify the scan has the local target host in the list of discovered hosts
  8. Verify the scan found > 0 entrypoints
  9. Verify the scan did > 0 requests

Run Scan Against Local Target When Repeater Is Not Connected

  1. Create a repeater
  2. Run a scan
  3. Verify the scan creation failed with “The repeater used for the scan is not connected. Connect the repeater and restart the scan.” error.

Distributions

  1. Docker
  2. NPM
  3. Executables (linux, macos, windows)

Environments

  1. Ubuntu
  2. MacOS
  3. Fedora
  4. Windows

Node.js Versions

  1. 14
  2. 16
  3. 18
@lsndr lsndr self-assigned this Aug 21, 2023
lsndr added a commit that referenced this issue Aug 30, 2023
@derevnjuk derevnjuk added the Type: tests The issue implements some sort of tests label Aug 30, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk added a commit that referenced this issue Aug 31, 2023
derevnjuk pushed a commit that referenced this issue Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: tests The issue implements some sort of tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants