Generated by TestNG with ReportNG at 22:08 CLST on jueves 15 diciembre 2022
wojtek@atlantiscity.local / Java 17.0.5 (Eclipse Adoptium) / Mac OS X 13.0.1 (aarch64)

REST: Node and item manipulation using REST API - JSON - #4728

Suites · Log Output

Test duration : 7,796s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingJSON
configureNodes 1,100s
2022-12-15 22:21:51 |

2022-12-15 22:21:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:51 | ------------------------------------

2022-12-15 22:21:51 | [Mutex] waiting for: [configured:node:node-61f81229-8e17-44fa-85e1-9c94cb1fdfba:node-c9ab812e-d11c-4c4e-b466-9dc510bf0d89]

2022-12-15 22:21:51 | [Mutex] received everything.

2022-12-15 22:21:51 | [Mutex] isItemNotified: configured:node:node-61f81229-8e17-44fa-85e1-9c94cb1fdfba:node-c9ab812e-d11c-4c4e-b466-9dc510bf0d89 :: true

2022-12-15 22:21:52 | [Mutex] waiting for: [received:nodes:8afbec6c-506d-41c5-b599-894ffef4b5e2:localhost]

2022-12-15 22:21:52 | [Mutex] received everything.

2022-12-15 22:21:52 | [Mutex] isItemNotified: received:node:8afbec6c-506d-41c5-b599-894ffef4b5e2:localhost:node-61f81229-8e17-44fa-85e1-9c94cb1fdfba:Node 61f81229-8e17-44fa-85e1-9c94cb1fdfba :: true

2022-12-15 22:21:52 | [Mutex] waiting for: [received:nodes:600700c4-3868-4621-98d0-836a753a9761:localhost]

2022-12-15 22:21:52 | [Mutex] waiting for: [received:nodes:600700c4-3868-4621-98d0-836a753a9761:localhost]

2022-12-15 22:21:52 | [Mutex] waiting for: [received:nodes:600700c4-3868-4621-98d0-836a753a9761:localhost]

2022-12-15 22:21:52 | [Mutex] received everything.

2022-12-15 22:21:52 | [Mutex] isItemNotified: received:node:600700c4-3868-4621-98d0-836a753a9761:localhost:node-61f81229-8e17-44fa-85e1-9c94cb1fdfba:Node 61f81229-8e17-44fa-85e1-9c94cb1fdfba :: false

createNodes 1,221s
2022-12-15 22:21:48 |

2022-12-15 22:21:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:48 | ------------------------------------

2022-12-15 22:21:48 | on localhost executing action create-node with content type application/json and payload:
{
    "owner": "admin@test-domain.com",
    "pubsub#node_type": "leaf",
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba",
    "pubsub#title": "Node 61f81229-8e17-44fa-85e1-9c94cb1fdfba"
}

2022-12-15 22:21:49 | from localhost for action create-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-15 22:21:50 | [Mutex] waiting for: [received:nodes:df9e1d30-a90e-495b-b1f2-c12e9c46f041:localhost]

2022-12-15 22:21:50 | [Mutex] waiting for: [received:nodes:df9e1d30-a90e-495b-b1f2-c12e9c46f041:localhost]

2022-12-15 22:21:50 | [Mutex] received everything.

2022-12-15 22:21:50 | [Mutex] isItemNotified: received:node:df9e1d30-a90e-495b-b1f2-c12e9c46f041:localhost:node-61f81229-8e17-44fa-85e1-9c94cb1fdfba:Node 61f81229-8e17-44fa-85e1-9c94cb1fdfba :: true

createSubnodes 1,029s
2022-12-15 22:21:50 |

2022-12-15 22:21:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:50 | ------------------------------------

2022-12-15 22:21:50 | on localhost executing action create-node with content type application/json and payload:
{
    "owner": "admin@test-domain.com",
    "pubsub#node_type": "collection",
    "node": "node-c9ab812e-d11c-4c4e-b466-9dc510bf0d89",
    "pubsub#title": "Node c9ab812e-d11c-4c4e-b466-9dc510bf0d89"
}

2022-12-15 22:21:50 | from localhost for action create-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-15 22:21:51 | [Mutex] waiting for: [received:nodes:b5648817-368b-4543-8809-4c7cdab8e6dd:localhost]

2022-12-15 22:21:51 | [Mutex] waiting for: [received:nodes:b5648817-368b-4543-8809-4c7cdab8e6dd:localhost]

2022-12-15 22:21:51 | [Mutex] waiting for: [received:nodes:b5648817-368b-4543-8809-4c7cdab8e6dd:localhost]

2022-12-15 22:21:51 | [Mutex] received everything.

2022-12-15 22:21:51 | [Mutex] isItemNotified: received:node:b5648817-368b-4543-8809-4c7cdab8e6dd:localhost:node-c9ab812e-d11c-4c4e-b466-9dc510bf0d89:Node c9ab812e-d11c-4c4e-b466-9dc510bf0d89 :: true

deleteNodes 1,026s
2022-12-15 22:21:55 |

2022-12-15 22:21:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:55 | ------------------------------------

2022-12-15 22:21:55 | on localhost executing action delete-node with content type application/json and payload:
{
    "node": "node-c9ab812e-d11c-4c4e-b466-9dc510bf0d89"
}

2022-12-15 22:21:55 | from localhost for action delete-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-15 22:21:56 | [Mutex] waiting for: [received:nodes:d4755762-8223-4af5-9e94-d78d820c45da:localhost]

2022-12-15 22:21:56 | [Mutex] waiting for: [received:nodes:d4755762-8223-4af5-9e94-d78d820c45da:localhost]

2022-12-15 22:21:56 | [Mutex] received everything.

2022-12-15 22:21:56 | [Mutex] isItemNotified: received:node:d4755762-8223-4af5-9e94-d78d820c45da:localhost:node-c9ab812e-d11c-4c4e-b466-9dc510bf0d89:Node c9ab812e-d11c-4c4e-b466-9dc510bf0d89 :: false

deleteSubnodes 1,043s
2022-12-15 22:21:54 |

2022-12-15 22:21:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:54 | ------------------------------------

2022-12-15 22:21:54 | on localhost executing action delete-node with content type application/json and payload:
{
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba"
}

2022-12-15 22:21:54 | from localhost for action delete-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-15 22:21:55 | [Mutex] waiting for: [received:nodes:1a7ea218-0d46-4bfd-b433-8ce5fc2c8c97:localhost]

2022-12-15 22:21:55 | [Mutex] waiting for: [received:nodes:1a7ea218-0d46-4bfd-b433-8ce5fc2c8c97:localhost]

2022-12-15 22:21:55 | [Mutex] waiting for: [received:nodes:1a7ea218-0d46-4bfd-b433-8ce5fc2c8c97:localhost]

2022-12-15 22:21:55 | [Mutex] received everything.

2022-12-15 22:21:55 | [Mutex] isItemNotified: received:node:1a7ea218-0d46-4bfd-b433-8ce5fc2c8c97:localhost:node-61f81229-8e17-44fa-85e1-9c94cb1fdfba:Node 61f81229-8e17-44fa-85e1-9c94cb1fdfba :: false

2022-12-15 22:21:55 | [Mutex] waiting for: [received:nodes:69eb8631-9414-49ec-9469-d0a03c13428f:localhost]

2022-12-15 22:21:55 | [Mutex] received everything.

2022-12-15 22:21:55 | [Mutex] isItemNotified: received:node:69eb8631-9414-49ec-9469-d0a03c13428f:localhost:node-61f81229-8e17-44fa-85e1-9c94cb1fdfba:Node 61f81229-8e17-44fa-85e1-9c94cb1fdfba :: false

publishItemsToNodes 0,065s
2022-12-15 22:21:53 |

2022-12-15 22:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:53 | ------------------------------------

2022-12-15 22:21:53 | on localhost executing action publish-item with content type application/json and payload:
{
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba",
    "entry": "<test>item-1759f808-ac7a-4dad-a6b7-fe59758e275a</test>",
    "item-id": "item-1759f808-ac7a-4dad-a6b7-fe59758e275a"
}

2022-12-15 22:21:53 | from localhost for action publish-item got result code 200 and payload
{
    "Note": "Operation successful",
    "item-id": "item-1759f808-ac7a-4dad-a6b7-fe59758e275a"
}

2022-12-15 22:21:53 | [Mutex] waiting for: [published:item:notifieditem-1759f808-ac7a-4dad-a6b7-fe59758e275a:admin@test-domain.com]

2022-12-15 22:21:53 | [Mutex] received everything.

2022-12-15 22:21:53 | [Mutex] isItemNotified: published:item:notifieditem-1759f808-ac7a-4dad-a6b7-fe59758e275a:admin@test-domain.com :: true

retractItemsFromNodes 0,039s
2022-12-15 22:21:53 |

2022-12-15 22:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:53 | ------------------------------------

2022-12-15 22:21:53 | on localhost executing action delete-item with content type application/json and payload:
{
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba",
    "item-id": "item-1759f808-ac7a-4dad-a6b7-fe59758e275a"
}

2022-12-15 22:21:53 | from localhost for action delete-item got result code 200 and payload
{
    "Note": "Operation successful",
    "item-id": "item-1759f808-ac7a-4dad-a6b7-fe59758e275a"
}

2022-12-15 22:21:53 | [Mutex] waiting for: [retracted:item:notifieditem-1759f808-ac7a-4dad-a6b7-fe59758e275a:admin@test-domain.com]

2022-12-15 22:21:53 | [Mutex] received everything.

2022-12-15 22:21:53 | [Mutex] isItemNotified: retracted:item:notifieditem-1759f808-ac7a-4dad-a6b7-fe59758e275a:admin@test-domain.com :: true

retrieveItemsFromNodes 0,024s
2022-12-15 22:21:53 |

2022-12-15 22:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:53 | ------------------------------------

2022-12-15 22:21:53 | on localhost executing action retrieve-item with content type application/json and payload:
{
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba",
    "item-id": "item-1759f808-ac7a-4dad-a6b7-fe59758e275a"
}

2022-12-15 22:21:53 | from localhost for action retrieve-item got result code 200 and payload
{
    "title": "Retrive PubSub node item",
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba",
    "item-id": "item-1759f808-ac7a-4dad-a6b7-fe59758e275a",
    "item": [
        "<item id=\"item-1759f808-ac7a-4dad-a6b7-fe59758e275a\"><test>item-1759f808-ac7a-4dad-a6b7-fe59758e275a</test></item>"
    ]
}

2022-12-15 22:21:53 | [Mutex] notify: [retrieved:item:item-1759f808-ac7a-4dad-a6b7-fe59758e275a:payload-matches:true:localhost]

2022-12-15 22:21:53 | [Mutex] received everything.

2022-12-15 22:21:53 | [Mutex] isItemNotified: retrieved:item:item-1759f808-ac7a-4dad-a6b7-fe59758e275a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,002s
2022-12-15 22:21:53 |

2022-12-15 22:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:53 | ------------------------------------

2022-12-15 22:21:53 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload:
{
    "jid": "admin@test-domain.com"
}

2022-12-15 22:21:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
{
    "nodes": [
        "node-c9ab812e-d11c-4c4e-b466-9dc510bf0d89",
        "test",
        "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba"
    ]
}

retrieveUserSubscriptionsWithRegex 0,002s
2022-12-15 22:21:53 |

2022-12-15 22:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:53 | ------------------------------------

2022-12-15 22:21:53 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload:
{
    "jid": "admin@test-domain.com",
    "node-pattern": "(?!node-61f81229-8e17-44fa-85e1-9c94cb1fdfba)"
}

2022-12-15 22:21:53 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
{
    "nodes": [
       
    ]
}

subscribeNodes 1,014s
2022-12-15 22:21:52 |

2022-12-15 22:21:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:52 | ------------------------------------

2022-12-15 22:21:52 | on localhost executing action subscribe-node with content type application/json and payload:
{
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba",
    "jids": [
        "admin@test-domain.com"
    ]
}

2022-12-15 22:21:52 | from localhost for action subscribe-node got result code 200 and payload
{
    "Note": "Operation successful"
}

unsubscribeNodes 1,031s
2022-12-15 22:21:53 |

2022-12-15 22:21:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-15 22:21:53 | ------------------------------------

2022-12-15 22:21:53 | on localhost executing action unsubscribe-node with content type application/json and payload:
{
    "node": "node-61f81229-8e17-44fa-85e1-9c94cb1fdfba",
    "jids": [
        "admin@test-domain.com"
    ]
}

2022-12-15 22:21:53 | from localhost for action unsubscribe-node got result code 200 and payload
{
    "Note": "Operation successful"
}