summaryrefslogtreecommitdiff
path: root/service/test
AgeCommit message (Collapse)Author
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
2016-08-23Changed the concurrent login script to start at the user loadtest1Bruno Wagner
2016-08-23Fix misspelled attachment nameDenis Costa
See: #761
2016-08-23Added the script that pre-creates users for testsThais Siqueira
2016-08-23Removed stray line from the concurrent_login scriptThais Siqueira
2016-08-23Adds the script that login users concurrently.Thais Siqueira
2016-08-23accept uploads to up to 5MBChristoph Kluenter
2016-08-22Adds a patch to measure function running in twistedThais Siqueira
The README explains how to apply the patch so you can get information about long running methods (longer than 100ms) on the main thread
2016-08-19Started deferring leap session creation #759Bruno Wagner
Started adapting get_leap_session to deferreds Soledad and keymanager setup calls will now happen in deferreds and leap session creation itself is a deferred with callbacks This is a start in breaking the big blocking calls we were doing on the main thread, this was done without changing code inside the leap libraries yet so things can be further optimized This breaks the ~4 seconds get_leap_session piece into smaller 1 seconds one, that can be further optimized and deferred to even smaller calls There are requests calls happening on the main thread that should get this number even further down Also moved some pieces from bitmask libraries to our bootstrap, because they are not bitmask libraries anymore and that was causing confusion
2016-08-19Normalizing single and multi user bootstrap #759Bruno Wagner
Consolidated authentication to always be done is a defer to thread and changed the authenticate_user method name to conform with what it actually does
2016-07-04Issue #738: Bypass cookie validation for sandboxFelix Hammerl
2016-06-27Explicitly use POST to test csrfCaio Carrara
2016-06-24 added dummy user attribute to SRPsession as the constructor changed -- ↵NavaL
fixing build -- Issue #694
2016-06-24Issue #694 add an admin restricted resource for user statsNavaL
2016-06-23refactoring: renaming services factory methods to relate them to user ↵NavaL
services sessions
2016-06-23refactoring: moved Service factories to the service config fileNavaL
2016-06-17Issue #608: Fix lowercase attachment test to check the filenameTulio Casagrande
2016-06-17Issue #608: Add unit test for case-specific lookupFelix Hammerl
2016-06-16Fix UNNAMED attachment bugTulio Casagrande
Previously some attachments were being showed as UNNAMED. This change fix it and creates propers tests for attachments. See: #608
2016-06-16Stops filtering application/pgp-keys attachmentsTulio Casagrande
See: #608
2016-06-14pep8 ^^NavaL
2016-06-14starting the server when the reactor is running and adding proper error ↵NavaL
handling during multi-user boostrap - reactor.stop will not work if the reactor is not running. This will make sure it will be stopped on bootstrap errors now. - added a wrapper that returns a defer.fail for exceptions thrown during the multi-user boostrap - Issue #535
2016-06-07Update keymanager calls due api updateCaio Carrara
Some keymanager api was updated, so we needed to update some calls.
2016-06-02RootResource should return 503 during startup (#699)Blake Williams
Return 503 code while RootResource is in MODE_STARTUP
2016-05-31Remove unused session_idTulio Casagrande
2016-05-31Merge pull request #701 from shabbyrobe/fix-issue-695Christoph
Issue 695: Show all recipients in mail sent folder
2016-05-27Issue #695: Show all recipients in mail sent foldershabbyrobe
2016-05-26Updated calls to addRawHeader to use setRawHeadersshabbyrobe
2016-05-22accomodates the case where the email address is the data sent with the eventNavaL
- now username and user_id are mapped when the user logs in - Issue #686
2016-05-20adding event as first argument on invalid soledad register callback. ↵NavaL
register sends it too. Issue #686