Skip to content

Conversation

@AllanPazRibeiro
Copy link

This PR introduces a load test file upload feature that allows for stress testing the application's file upload functionality. It automates the process of selecting and uploading files from the assets folder to simulate high concurrent file upload scenarios.

Changes Made:

  • Implemented the load test file upload feature.
  • Integrated the logic to randomly select multiple files from the assets folder.
  • Added error handling and logging to track the progress and success of the file uploads.

@AllanPazRibeiro AllanPazRibeiro self-assigned this Jun 22, 2023

const { filePath } = getRandomFileInFolder(folderPath);

const { authToken, userId } = this.client.currentLogin;

Check failure

Code scanning / CodeQL

Insecure randomness

This uses a cryptographically insecure random number generated at [Math.random()](1) in a security context. This uses a cryptographically insecure random number generated at [Math.random()](1) in a security context.
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

Successfully merging this pull request may close these issues.

3 participants