ListMemberships

3

tests

0

failures

0

ignored

3.781s

duration

100%

successful

Tests

Test Duration Result
globalAdmin_canViewAllMemberships_ifNoCriteriaGiven() 1.263s passed
globalAdmin_canViewMembershipsByPartnerNumber() 1.229s passed
globalAdmin_canViewMembershipsByPartnerUuid() 1.289s 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 16:39:15 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "77063bdf-3f8a-4a48-9e39-5975fd574d6a",
        "partner": {
            "uuid": "6f4db4f4-bb38-4e9e-8350-38cdd83f2f60",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "63c7c2e5-f2f4-411e-824d-14e5b206442c",
                "anchor": {
                    "uuid": "44e140ca-f710-4650-a391-7dfebef0ac09",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "2941408c-00e0-4949-9d51-2a18fa5a742c",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "a97abf81-8e91-4a3d-8de2-9575d73b5178",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "c9ab0e68-946e-4b8e-bb30-3e1d9a7659ee",
                "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 16:39:16 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "01711b28-7b26-42f0-a6db-dbd835c9a64b",
        "partner": {
            "uuid": "50b77f09-ad1f-4ddf-94d3-3395abb9970e",
            "partnerNumber": "P-10002",
            "partnerRel": {
                "uuid": "0442bce7-bc62-4302-9ff1-e1df289f24ce",
                "anchor": {
                    "uuid": "44e140ca-f710-4650-a391-7dfebef0ac09",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "cede4dfb-37e3-4cbd-a587-d2937a257170",
                    "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": "5955dcc7-056f-4b45-b87c-92b24715a13f",
                    "caption": "second contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@secondcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "764f776b-d0b4-407b-9b80-be9bd092d80a",
                "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 16:39:17 GMT
Keep-Alive: timeout=60
Connection: keep-alive

[
    {
        "uuid": "77063bdf-3f8a-4a48-9e39-5975fd574d6a",
        "partner": {
            "uuid": "6f4db4f4-bb38-4e9e-8350-38cdd83f2f60",
            "partnerNumber": "P-10001",
            "partnerRel": {
                "uuid": "63c7c2e5-f2f4-411e-824d-14e5b206442c",
                "anchor": {
                    "uuid": "44e140ca-f710-4650-a391-7dfebef0ac09",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "2941408c-00e0-4949-9d51-2a18fa5a742c",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "First GmbH",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "a97abf81-8e91-4a3d-8de2-9575d73b5178",
                    "caption": "first contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@firstcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "c9ab0e68-946e-4b8e-bb30-3e1d9a7659ee",
                "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": "01711b28-7b26-42f0-a6db-dbd835c9a64b",
        "partner": {
            "uuid": "50b77f09-ad1f-4ddf-94d3-3395abb9970e",
            "partnerNumber": "P-10002",
            "partnerRel": {
                "uuid": "0442bce7-bc62-4302-9ff1-e1df289f24ce",
                "anchor": {
                    "uuid": "44e140ca-f710-4650-a391-7dfebef0ac09",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "cede4dfb-37e3-4cbd-a587-d2937a257170",
                    "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": "5955dcc7-056f-4b45-b87c-92b24715a13f",
                    "caption": "second contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@secondcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "764f776b-d0b4-407b-9b80-be9bd092d80a",
                "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": "5f36f6ee-31bc-4ff8-ad4e-f4810d54e62a",
        "partner": {
            "uuid": "ea393e95-ed3b-4005-84f9-3e08f8019837",
            "partnerNumber": "P-10003",
            "partnerRel": {
                "uuid": "e82c3619-71d5-413d-a4cb-5404c7140d33",
                "anchor": {
                    "uuid": "44e140ca-f710-4650-a391-7dfebef0ac09",
                    "personType": "LEGAL_PERSON",
                    "tradeName": "Hostsharing eG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "holder": {
                    "uuid": "65eaa333-cc93-4692-86a9-84c85d992d04",
                    "personType": "INCORPORATED_FIRM",
                    "tradeName": "Third OHG",
                    "salutation": null,
                    "title": null,
                    "givenName": null,
                    "familyName": null
                },
                "type": "PARTNER",
                "mark": null,
                "contact": {
                    "uuid": "3e9a633a-beda-46e3-a634-ce0d96b5d47b",
                    "caption": "third contact",
                    "postalAddress": {
                        "country": "Germany"
                    },
                    "emailAddresses": {
                        "main": "contact-admin@thirdcontact.example.com"
                    },
                    "phoneNumbers": {
                        "phone_office": "+49 123 1234567"
                    }
                }
            },
            "details": {
                "uuid": "2585a043-5f8a-4f72-be46-07b661b942f0",
                "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