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 UsersFeederWebAdminFromCSVFactory #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quantranhong1999
Copy link
Member

The idea is to create users from users.csv via Webadmin API.

Tested Switch PlatformValidationSimulation to using this new feeder:

  • The users created successfully (list users webadmin)
  • Simulation succeeds:
---- Requests ------------------------------------------------------------------
> Global                                                   (OK=947    KO=7     )
> initialConnection / Connect                              (OK=50     KO=0     )
> initialConnection / capability                           (OK=100    KO=0     )
> initialConnection / login                                (OK=50     KO=0     )
> initialConnection / enableUTF8                           (OK=50     KO=0     )
> initialConnection / namespace                            (OK=50     KO=0     )
> initialConnection / list                                 (OK=50     KO=0     )
> initialConnection / lsub                                 (OK=50     KO=0     )
> initialConnection / myrights                             (OK=50     KO=0     )
> initialConnection / select                               (OK=50     KO=0     )
> initialConnection / flagResync                           (OK=50     KO=0     )
> coreActions / status                                     (OK=106    KO=0     )
> coreActions / append                                     (OK=25     KO=0     )
> coreActions / noop                                       (OK=30     KO=0     )
> coreActions / getQuotaRoot                               (OK=30     KO=0     )
> coreActions / fetchHeaders                               (OK=44     KO=0     )
> coreActions / idle                                       (OK=37     KO=0     )
> coreActions / fetchBody                                  (OK=26     KO=0     )
> coreActions / store                                      (OK=1      KO=7     )
> coreActions / select                                     (OK=7      KO=0     )
> coreActions / searchUnseen                               (OK=11     KO=0     )
> coreActions / unselect                                   (OK=2      KO=0     )
> coreActions / check                                      (OK=1      KO=0     )
> coreActions / expunge                                    (OK=4      KO=0     )
> coreActions / searchDeleted                              (OK=2      KO=0     )
> closeConnection / close                                  (OK=35     KO=0     )
> closeConnection / logout                                 (OK=35     KO=0     )
> coreActions / list                                       (OK=1      KO=0     )
---- Errors --------------------------------------------------------------------
> Imap check failed                                                   7 (100.0%)

Except for some failures IMAP Store (could be because of memory TMail image) not related to the feeder.

Maybe adding an optional JWT token for calling webadmin would be an enhancement.

The idea is creating users from users.csv via Webadmin API
Copy link
Member

@chibenwa chibenwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our goal is to have a common procedure to provision something like preprod with thousand of mailboxes and millions of messages.

Even usefull, this feeder can likely not be used to reach that goal.

We likely need to completly uncorelate the provisionning phase from the testing phase.

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.

2 participants