Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step

Action

Expected system response

Comment

1

                           Log in as administrator.                                                                                                                                              Administrator has been successfully logged in.                                                                        

I create user with extraData.

URL:http://10.222.17.187/referencedata/api/users?access_token=ebfc4ff1-1129-4f5e-98ab-ca49f6a1807b

Method: PUT

Example Body

{

"username": "Test",

"firstName": "Andrzej",

"lastName": "Szyszka",

"email": "test@wp.pl",

"verified": false,

"active": false,

"loginRestricted": false,

"extraData": {

"color": "orange",

"belongsTo": "VR"

}

}

                                                                                                            Image Removed Image Added

                                                 

2

 The main UI should be displayed.

 The main UI is displayed.

Image Removed

3

 Disable the internet connection.

Connection with Internet is disabled.

Image Removed

4

 Load again the main UI.

The main UI is reloaded without internet connectivity. 

Image Removed

5I search existing User by existing extraData.

URL: http://10.222.17.187/referencedata/api/users/search?access_token=ebfc4ff1-1129-4f5e-98ab-ca49f6a1807b

Method: POST

Example Body:

{

"extraData": {

"color": "orange",

"belongsTo": "VR"

}

}

Image Added


3

 

I search existing User by not complete existing extraData.

URL: http://10.222.17.187/referencedata/api/users/search?access_token=ebfc4ff1-1129-4f5e-98ab-ca49f6a1807b

Method: POST

Body:

{

"extraData": {

"color": "orange"

}

}


Image Added


4

I search existing User by non-existing extraData.

URL: http://10.222.17.187/referencedata/api/users/search?access_token=ebfc4ff1-1129-4f5e-98ab-ca49f6a1807b

Method: POST

Body:

{

"extraData": {

"color": "blue"

}

}






Post – conditions: