summaryrefslogtreecommitdiff
path: root/service/test
AgeCommit message (Collapse)Author
2016-10-26Moving authentication out of login_resourceBruno Wagner
This is ongoing work to be able to accept and validate user domain on login (so the user can use <username> or <username@domain.com>) We are extracting the authentication logic from login_resource to be able to test and cover the cases we need
2016-10-26moving pixelated-maintenance register to use bonafide instead of leap.auth #792NavaL
2016-10-21[#797] reinstating use of the provided email body charstet encodingNavaL
2016-10-19Adapted test now that leap.mail has a default charsetBruno Wagner
2016-10-19Adapted logging in the UA to use twisted.loggerBruno Wagner
2016-10-18Adapted imports to reflect new bitmask-dev dependencyBruno Wagner
2016-10-11[#792] Move leap.bonafide to leap.bitmask.bonafideTulio Casagrande
2016-10-07use test client in test case through composition instead of inheritanceRoald de Vries
2016-10-06Removed tornado and dispacher referencesTulio Casagrande
2016-09-28actually 404-ing valid requests but non-existing resourceNavaL
Issue #684
2016-09-27Adds more tests for welcome mail.Denis Costa
2016-09-26[#668] Moved user folder under pixelated subfolderTulio Casagrande
2016-09-26rearranged leap session creation to not sync nor setup account/fetcher, when ↵NavaL
using the cache Issue #773
2016-09-23[#668] Put search index under pixelated subfolderTulio Casagrande
2016-09-23Replace SRPSession usages with bonafideTulio Casagrande
In order to replace leap_auth with bonafide, we created a class to hold the user credentials
2016-09-23Adds translation to welcome mail.Denis Costa
2016-09-21add manhole as an option to config mockRoald de Vries
2016-09-16Moved to the correct placeTulio Casagrande
2016-09-16Add script to send mail to multiple users for testingTulio Casagrande
2016-09-16Add fileutils to requirements and removed pryTulio Casagrande
2016-09-13[#778] Handling case of failed key uploadTulio Casagrande
If we get any problem with the upload of the user's public key, we are deleting the key pair from the local database and denying login. That way, a new login will have a chance to regenerate the key and upload it properly.
2016-09-13[#778] Isolated and fixed keymanager testsTulio Casagrande
We covered a lot of missing cases on the keymanager tests. We also isolated these tests, that caused some other tests to break, so we fixed them.
2016-09-13[#778] Renaming get_key to be consistent with keymanagerTulio Casagrande
2016-09-12[#698] Add default user to the integration test clientTulio Casagrande
The functional tests depend on a pre-existing default user. As it uses the integration test client, we added this default user to the client setup.
2016-09-12multi_user_client now accounts for the login processBruno Wagner
The login resource was being totally mocked out of the integration tests, I adapted the test client to touch the actual login code and fixed the multi_user_client to use the same checker the single user one was using. With that change we now have tests that cover the change of authenticating with bonafide
2016-09-12Added a small sleep before each login checkBruno Wagner
To ensure we don't overload the server with requests, we'll sleep a little bit before each request to check if the inbox is already loaded
2016-09-09Adapted the concurrent_logins.rb to measure the loading pageBruno Wagner
It now requests using the same session that it logs in until the user arrives at the inbox (denoted by the compose-trigger showing up on the html in this case)
2016-09-08concurrent_logins script now measure HTTP request timeBruno Wagner
2016-09-08Fixed test to correctly mock the mail_fetcherBruno Wagner
2016-09-08[#778][Test] Don't send an existing public keyTulio Casagrande
I added a new test to check that an existing public key is not being sent to leap on every login
2016-08-31Improves help function.Denis Costa
2016-08-31Adds request total time to load test script.Denis Costa
2016-08-30Adds total time of request to script. #771Denis Costa
2016-08-30[#765] Move combined certificates to the leap folderTulio Casagrande
Since we are creating the combined certificates at the beginning of the UA and using it for multiple users, it makes more sense to create it in the leap folder instead of on a temporary file This bundle will be updated on every UA start
2016-08-30Finish login load test script. #771Denis Costa
2016-08-30#761 added script to loadtest parallel attachment uploadNavaL
2016-08-29Fixes script to run login several timesDenis Costa
2016-08-29[#765] Move combined_ca_bundle to UA initializationTulio Casagrande
With this change we don't have to create the combined_ca_bundle for every user at every login. To support this change, we started migrating away from the LeapCertificate class that was making the LeapProvider setup more brittle
2016-08-29Adds script to automate load test.Thais Siqueira
2016-08-26Normalized the output of the patchBruno Wagner
We had different outputs for inlineCallbacks and traditional callbacks and the output was kinda confusing. We normalized the output to <time> <type>: function <name> (<file>:<line>) in thread <thread_id> We also changed the earlier type from deferred to callback (because that is what's being measured) so now we have two possible types: callback and inlineCallbacks
2016-08-26Corrected the patch to measure returnValue on inlineCallbacksThais Siqueira
The inlineCallback returnValue has a different logic using exceptions, the way we measured before, we were getting the time of the whole deferred chain (including all the callbacks) instead of exclusively the timing of the last yield up to the returnValue call.
2016-08-26Revert "fixing twisted patch"Thais Siqueira
This reverts commit 480e7d3bd48f2a7c23a76843750daaa03f2b12b3.
2016-08-26Revert "showing the full path of inlineCallback method being called"Thais Siqueira
This reverts commit 8ef8acf8e853fe097c379eed4d65e67f409531d1.
2016-08-26showing the full path of inlineCallback method being calledNavaL
2016-08-26fixing twisted patchNavaL
2016-08-25Adapted the twisted patch to measure inlineCallbacks #768Bruno Wagner
We did two changes to the twisted patch to be able to measure the inlineCallbacks correctly: - Filtered the traditional callbacks timing so that it doesn't print inlineCallback timings - Added a measurement for the g.send() method inside the inlineCallback, to measure the actual execution time of the call on the main thread, between the inlineCallback yields
2016-08-25[Denis/Tulio][#761] Change attachment file size to 5MBDenis Costa
2016-08-25if we use a bigger attachment, we should check for a bigger sizeChristoph Kluenter
2016-08-25test if bigger attachments also workChristoph Kluenter
See #761
2016-08-24Merge branch '5mb_attachment'Christoph Kluenter