ListMemberships

3

tests

0

failures

0

ignored

3.798s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canViewAllMemberships_ifNoCriteriaGiven() 1.239s passed
globalAdmin_canViewMembershipsByPartnerNumber() 1.345s passed
globalAdmin_canViewMembershipsByPartnerUuid() 1.214s passed

Standard output

ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canViewMembershipsByPartnerUuid(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 15:05:21 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "fcd597da-fce6-447a-924e-c96831fe8bfe",
        "partner": {
            "uuid": "bfd0eaf3-9c62-4829-b1c6-09bc7bc6a645",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "ad914af4-fd44-453b-a627-bf920c375d01",
                "anchor": {
                    "uuid": "91f5d8e2-b455-4243-b7b0-c87ef91fb6fb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "f737d879-51f9-4f03-b3f5-e5f4a12fab73",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "b5a02c46-485c-4cf7-8ecc-b2ff3a00aa93",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "c0d83794-f767-4be0-9430-39bc4e359bc4",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "mainDebitor": null,
        "memberNumber": "M-1000101",
        "memberNumberSuffix": "01",
        "validFrom": "2022-10-01",
        "validTo": "2024-12-30",
        "status": "CANCELLED",
        "membershipFeeBillable": true
    }
]
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canViewMembershipsByPartnerUuid(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canViewMembershipsByPartnerNumber(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 15:05:23 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "c1ea3993-b7dc-49f0-a020-9e77fb318aca",
        "partner": {
            "uuid": "3736ef18-9317-4c73-8386-9acfdad6f90a",
            "partnerNumber": "P-10002",
            "partnerRel": {
                "uuid": "630b2211-ccd2-4177-8052-cb971f6b5f20",
                "anchor": {
                    "uuid": "91f5d8e2-b455-4243-b7b0-c87ef91fb6fb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "8e772a1a-fa90-4b94-838f-21b1cd6c8870",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                    "salutation": null,
                    "title": null,
                    "givenName": "Peter",
                    "familyName": "Smith"
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "1e1c7f4d-48b7-437f-9566-ab73a08f5b81",
                    "caption": "second contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@secondcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "4393b46b-1d40-41e2-a5a8-62b4b8d9c9b9",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "mainDebitor": null,
        "memberNumber": "M-1000202",
        "memberNumberSuffix": "02",
        "validFrom": "2022-10-01",
        "validTo": "2025-12-31",
        "status": "CANCELLED",
        "membershipFeeBillable": true
    }
]
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canViewMembershipsByPartnerNumber(): TOTAL OBJECT COUNT (after): 210 -> 210
ContextBasedTestWithCleanup.retrieveInitialTestData
globalAdmin_canViewAllMemberships_ifNoCriteriaGiven(): TOTAL OBJECT COUNT (initial): 210 -> 210
HTTP/1.1 200 
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Type: application/json
Transfer-Encoding: chunked
Date: Mon, 10 Aug 2026 15:05:24 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "fcd597da-fce6-447a-924e-c96831fe8bfe",
        "partner": {
            "uuid": "bfd0eaf3-9c62-4829-b1c6-09bc7bc6a645",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "ad914af4-fd44-453b-a627-bf920c375d01",
                "anchor": {
                    "uuid": "91f5d8e2-b455-4243-b7b0-c87ef91fb6fb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "f737d879-51f9-4f03-b3f5-e5f4a12fab73",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "b5a02c46-485c-4cf7-8ecc-b2ff3a00aa93",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "c0d83794-f767-4be0-9430-39bc4e359bc4",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "mainDebitor": null,
        "memberNumber": "M-1000101",
        "memberNumberSuffix": "01",
        "validFrom": "2022-10-01",
        "validTo": "2024-12-30",
        "status": "CANCELLED",
        "membershipFeeBillable": true
    },
    {
        "uuid": "c1ea3993-b7dc-49f0-a020-9e77fb318aca",
        "partner": {
            "uuid": "3736ef18-9317-4c73-8386-9acfdad6f90a",
            "partnerNumber": "P-10002",
            "partnerRel": {
                "uuid": "630b2211-ccd2-4177-8052-cb971f6b5f20",
                "anchor": {
                    "uuid": "91f5d8e2-b455-4243-b7b0-c87ef91fb6fb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "8e772a1a-fa90-4b94-838f-21b1cd6c8870",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Peter Smith - The Second Hand and Thrift Stores-n-Shipping e.K.",
                    "salutation": null,
                    "title": null,
                    "givenName": "Peter",
                    "familyName": "Smith"
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "1e1c7f4d-48b7-437f-9566-ab73a08f5b81",
                    "caption": "second contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@secondcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "4393b46b-1d40-41e2-a5a8-62b4b8d9c9b9",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "mainDebitor": null,
        "memberNumber": "M-1000202",
        "memberNumberSuffix": "02",
        "validFrom": "2022-10-01",
        "validTo": "2025-12-31",
        "status": "CANCELLED",
        "membershipFeeBillable": true
    },
    {
        "uuid": "16e8abf2-0c42-457d-b30a-30c42417e53b",
        "partner": {
            "uuid": "81f4bfc8-f51b-4186-a0ef-fa6fb0e55c05",
            "partnerNumber": "P-10003",
            "partnerRel": {
                "uuid": "0ec197e1-c9db-410f-8b98-7314bd24b9e5",
                "anchor": {
                    "uuid": "91f5d8e2-b455-4243-b7b0-c87ef91fb6fb",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "c5118020-823a-4aa7-9489-e30e02b7e56f",
                    "personType": "INCORPORATED_FIRM",
                    "tradeName": "Third OHG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "98369d61-c76c-456b-ad8b-fad0c0b00d4e",
                    "caption": "third contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@thirdcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "7ef1cdb1-cd5d-40ae-841d-d4d685165bcd",
                "registrationOffice": "Hamburg",
                "registrationNumber": "RegNo123456789",
                "birthName": null,
                "birthPlace": null,
                "birthday": null,
                "dateOfDeath": null
            }
        },
        "mainDebitor": null,
        "memberNumber": "M-1000303",
        "memberNumberSuffix": "03",
        "validFrom": "2022-10-01",
        "validTo": null,
        "status": "ACTIVE",
        "membershipFeeBillable": true
    }
]
ContextBasedTestWithCleanup.cleanupAndCheckCleanup
globalAdmin_canViewAllMemberships_ifNoCriteriaGiven(): TOTAL OBJECT COUNT (after): 210 -> 210