# Testrapport [TOC] ## Postman Resultat | ID | Test Name | Test URL | time(ms) | Pass/Fail | | ------- |:------------------------------------------:| ----------------------- | ------------ |:---------:| | PTC1.3 | Register missing email | /api/users | 18 | Pass | | PTC1.4 | Register missing password | /api/users | 5 | Pass | | PTC1.5 | Register invalid email | /api/users | 18 | Pass | | PTC1.6 | Register too short password | /api/users | 8 | Pass | | PTC1.1 | Register user success | /api/users | 59 | Pass | | PTC1.2 | Register already existing email | /api/users | 6 | Pass | | PTC3.1 | Login user success | /api/auth/login | 64 | Pass | | PTC3.2 | Login user wrong password | /api/auth/login | 50 | Pass | | PTC3.3 | Login user wrong email | /api/auth/login | 5 | Pass | | PTC3.4 | Login user missing email | /api/auth/login | 4 | Pass | | PTC3.5 | Login user missing password | /api/auth/login | 3 | Pass | | PTC3.6 | Login user missing email and password | /api/auth/login | 3 | Pass | | PTC3.7 | Logged in user should be authenticated | /api/auth/authenticate | 5 | Pass | | PTC5.1 | Add web page success | /api/pages | 23055 | Pass | | PTC5.2 | Add already existing web page | /api/pages | 250 | Pass | | PTC5.5 | Add web page missing address | /api/pages | 4 | Pass | | PTC5.6 | Add web page missing testInterval | /api/pages | 4 | Pass | | PTC5.3 | Add web page invalid address | /api/pages | 7 | Pass | | PTC5.4 | Add web page invalid test interval | /api/pages | 5 | Pass | | PTC8.2 | Find all user web pages | /api/pages | 10 | Pass | | PTC8.1 | Get user single domain paths | /api/pages?domain={url} | 9 | Pass | | PTC6.1 | Update registered web page success | /api/pages/:id | 33123 | Pass | | PTC6.4 | Update registered web page invalid address | /api/pages/:id | 6 | Pass | | PTC6.2 | Update registered web page missing address | /api/pages/:id | 4 | Pass | | PTC6.3 | Update registered web page bad id | /api/pages/bad-id | 4 | Pass | | PTC7.1 | Delete web page | /api/pages/:id | 10 | Pass | | PTC7.2 | Delete web page invalid id | /api/pages/:bad-id | 6 | Pass | | PTC11.1 | Get measurement success | /api/gpsi/measure | 23698 | Pass | | PTC11.2 | Get measurement not in array | /api/gpsi/measure | 5 | Pass | | PTC11.3 | Get measurement empty body | /api/gpsi/measure | 4 | Pass | | | | | Total Passed | 30 | ## Kända buggar | Test Case | Bug ID | Info | Fixad | | --------- | ------ | ------------------------------------------------------------------------------------------------------------------ | ----- | | PTC1.1 | B1.1 | Användare kan ibland registreras flera gånger med samma email | Ja | | PTC6.1 | B6.1 | Hashat lösenord hashas igen när en sida registreras/uppdateras, dvs "dubbel hashning" | Ja | | PTC11.4 | B11.1 | Antalet GPSI tester som google specificerade att man kunde göra dagligen verkar inte stämma in med det vi kan göra | Ja | | N/A | N/A | GET /graphs not getting graph despite getting a correct url | Ja | | PTC6.1 | B6.2 | Användare kan uppdatera sida till en som den redan har | Ja | ###### tags: `Testning`