Skip to content

Sort users - Wrong test result #14

@twenzel

Description

@twenzel

The test "Sort Users" returns Failed, but should be "Success".
The returned user ids are sorted.

Test Case Name :  
Sort Users 

Test Case Errors :  
Response does not contain the sorted list of users 

Test Case Status :  
Failed 

To Server :  
GET http://localhost:5000/scim/v2/Users?sortBy=id&sortOrder=ascending
HTTPAuthorization: Basic dGVzdDp0ZXN0
Accept: application/json 

From Server : 
Headers : Date : Tue, 05 Mar 2019 14:23:04 GMT
Content-Type : application/scim+json; charset=UTF-8
Server : Kestrel
Transfer-Encoding : chunked

Status : 200 OK

{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:ListResponse"
    ],
    "totalResults": 3,
    "Resources": [
        {
            "id": "274598f8a5cc46dba1d698f73455d094",
            "meta": {
                "resourceType": "User",
                "created": "2019-03-05T15:23:04.4857012+01:00",
                "lastModified": "2019-03-05T15:23:04.4857012+01:00"
            },
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "userName": "KKTQwhr43",
            "active": false
        },
        {
            "id": "de1604c41f2f4bfbb9864b0d038b2bd7",
            "meta": {
                "resourceType": "User",
                "created": "2019-03-05T15:23:04.4924396+01:00",
                "lastModified": "2019-03-05T15:23:04.4924396+01:00"
            },
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "userName": "UttEdHt42",
            "active": false
        },
        {
            "id": "e86537587b6a48949585eafee7a78d19",
            "meta": {
                "resourceType": "User",
                "created": "2019-03-05T15:23:04.5015478+01:00",
                "lastModified": "2019-03-05T15:23:04.5015478+01:00"
            },
            "schemas": [
                "urn:ietf:params:scim:schemas:core:2.0:User"
            ],
            "userName": "AbrTkAA41",
            "active": false
        }
    ],
    "startIndex": 1,
    "itemsPerPage": 200
}

Sub Tests Performed :  
Required Attribute Test
Schema List Test
Attribute Mutability Test
Sort Users Test

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions