Skip to content

Add create&login command to testing app for development with large instances#30572

Closed
tomneedham wants to merge 1 commit into
masterfrom
testing-create-multi-user
Closed

Add create&login command to testing app for development with large instances#30572
tomneedham wants to merge 1 commit into
masterfrom
testing-create-multi-user

Conversation

@tomneedham

Copy link
Copy Markdown
Contributor

occ testing:createusers 1000

Description

Creates, provisions and logs in/out database users.

On my i7 system, I managed 4users/second/process.

Motivation and Context

For creating instances locally with lots of users for testing performance and scale.

How Has This Been Tested?

I made 30k users locally by running 4 processes in parallel for about 20 minutes.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@tomneedham tomneedham added this to the development milestone Feb 21, 2018
@tomneedham tomneedham self-assigned this Feb 21, 2018
@codecov

codecov Bot commented Feb 21, 2018

Copy link
Copy Markdown

Codecov Report

Merging #30572 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master   #30572   +/-   ##
=========================================
  Coverage     61.61%   61.61%           
  Complexity    18507    18507           
=========================================
  Files          1090     1090           
  Lines         61112    61112           
=========================================
  Hits          37653    37653           
  Misses        23459    23459

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 d3a9400...4b52b98. Read the comment docs.

@PVince81

Copy link
Copy Markdown
Contributor

moving to triage. feel free to move back if it's a priority

@individual-it

individual-it commented Apr 25, 2018

Copy link
Copy Markdown
Member

shouldn't that be rather part of the testing app
oh it is in the testing app

@patrickjahns

Copy link
Copy Markdown
Contributor

@individual-it
I see it as part of the testing app in the code - but my request would be, to extract the logic into a
"Service" so the same logic could be used remotely

@PVince81

PVince81 commented Feb 8, 2019

Copy link
Copy Markdown
Contributor

the testing app has moved: please reopen there https://github.com/owncloud/testing if there is still interest

@phil-davis @individual-it please evaluate

@individual-it

Copy link
Copy Markdown
Member

opened an issue here owncloud/testing#84 and assigned myself

@lock lock Bot locked as resolved and limited conversation to collaborators Feb 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants