Generated by TestNG with ReportNG at 19:35 CET on martes 01 marzo 2022
wojtek@atlantiscity.local / Java 11.0.14.1 (Eclipse Adoptium) / Mac OS X 12.2.1 (x86_64)

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

Suites · Log Output

Test duration : 53,824s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingJSON
configureNodes 12,725s
2022-03-01 19:49:59 |

2022-03-01 19:49:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:49:59 | ------------------------------------

2022-03-01 19:49:59 | [Mutex] waiting for: [configured:node:node-0f418494-ac35-4384-ba66-7e5b8824b412:node-f23234dd-0834-479b-9661-2f5c0bc0d6d9]

2022-03-01 19:50:05 | [Mutex] received everything.

2022-03-01 19:50:05 | [Mutex] isItemNotified: configured:node:node-0f418494-ac35-4384-ba66-7e5b8824b412:node-f23234dd-0834-479b-9661-2f5c0bc0d6d9 :: true

2022-03-01 19:50:07 | [Mutex] waiting for: [received:nodes:313fa211-b894-46f6-99ed-bb624a562711:localhost]

2022-03-01 19:50:07 | [Mutex] waiting for: [received:nodes:313fa211-b894-46f6-99ed-bb624a562711:localhost]

2022-03-01 19:50:07 | [Mutex] received everything.

2022-03-01 19:50:07 | [Mutex] isItemNotified: received:node:313fa211-b894-46f6-99ed-bb624a562711:localhost:node-0f418494-ac35-4384-ba66-7e5b8824b412:Node 0f418494-ac35-4384-ba66-7e5b8824b412 :: true

2022-03-01 19:50:07 | [Mutex] waiting for: [received:nodes:d618a022-3f96-493a-8d96-1b694590ac43:localhost]

2022-03-01 19:50:07 | [Mutex] waiting for: [received:nodes:d618a022-3f96-493a-8d96-1b694590ac43:localhost]

2022-03-01 19:50:07 | [Mutex] waiting for: [received:nodes:d618a022-3f96-493a-8d96-1b694590ac43:localhost]

2022-03-01 19:50:07 | [Mutex] received everything.

2022-03-01 19:50:07 | [Mutex] isItemNotified: received:node:d618a022-3f96-493a-8d96-1b694590ac43:localhost:node-0f418494-ac35-4384-ba66-7e5b8824b412:Node 0f418494-ac35-4384-ba66-7e5b8824b412 :: false

createNodes 14,766s
2022-03-01 19:49:42 |

2022-03-01 19:49:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:49:42 | ------------------------------------

2022-03-01 19:49:42 | on localhost executing action create-node with content type application/json and payload:
{
    "owner": "admin@test-domain.com",
    "pubsub#node_type": "leaf",
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412",
    "pubsub#title": "Node 0f418494-ac35-4384-ba66-7e5b8824b412"
}

2022-03-01 19:49:44 | from localhost for action create-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-03-01 19:49:49 | [Mutex] waiting for: [received:nodes:7f754931-edea-4424-ad75-f11e739d70bc:localhost]

2022-03-01 19:49:57 | [Mutex] waiting for: [received:nodes:7f754931-edea-4424-ad75-f11e739d70bc:localhost]

2022-03-01 19:49:57 | [Mutex] waiting for: [received:nodes:7f754931-edea-4424-ad75-f11e739d70bc:localhost]

2022-03-01 19:49:57 | [Mutex] waiting for: [received:nodes:7f754931-edea-4424-ad75-f11e739d70bc:localhost]

2022-03-01 19:49:57 | [Mutex] received everything.

2022-03-01 19:49:57 | [Mutex] isItemNotified: received:node:7f754931-edea-4424-ad75-f11e739d70bc:localhost:node-0f418494-ac35-4384-ba66-7e5b8824b412:Node 0f418494-ac35-4384-ba66-7e5b8824b412 :: true

createSubnodes 1,818s
2022-03-01 19:49:57 |

2022-03-01 19:49:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:49:57 | ------------------------------------

2022-03-01 19:49:57 | on localhost executing action create-node with content type application/json and payload:
{
    "owner": "admin@test-domain.com",
    "pubsub#node_type": "collection",
    "node": "node-f23234dd-0834-479b-9661-2f5c0bc0d6d9",
    "pubsub#title": "Node f23234dd-0834-479b-9661-2f5c0bc0d6d9"
}

2022-03-01 19:49:57 | from localhost for action create-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-03-01 19:49:58 | [Mutex] waiting for: [received:nodes:dddf9591-0453-48cd-8da3-317fbcd9cb90:localhost]

2022-03-01 19:49:59 | [Mutex] received everything.

2022-03-01 19:49:59 | [Mutex] isItemNotified: received:node:dddf9591-0453-48cd-8da3-317fbcd9cb90:localhost:node-f23234dd-0834-479b-9661-2f5c0bc0d6d9:Node f23234dd-0834-479b-9661-2f5c0bc0d6d9 :: true

deleteNodes 1,043s
2022-03-01 19:50:25 |

2022-03-01 19:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:25 | ------------------------------------

2022-03-01 19:50:25 | on localhost executing action delete-node with content type application/json and payload:
{
    "node": "node-f23234dd-0834-479b-9661-2f5c0bc0d6d9"
}

2022-03-01 19:50:25 | from localhost for action delete-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-03-01 19:50:26 | [Mutex] waiting for: [received:nodes:91b077d2-c5ed-4cc0-a419-2b3937d358a7:localhost]

2022-03-01 19:50:26 | [Mutex] waiting for: [received:nodes:91b077d2-c5ed-4cc0-a419-2b3937d358a7:localhost]

2022-03-01 19:50:26 | [Mutex] received everything.

2022-03-01 19:50:26 | [Mutex] isItemNotified: received:node:91b077d2-c5ed-4cc0-a419-2b3937d358a7:localhost:node-f23234dd-0834-479b-9661-2f5c0bc0d6d9:Node f23234dd-0834-479b-9661-2f5c0bc0d6d9 :: false

deleteSubnodes 1,107s
2022-03-01 19:50:24 |

2022-03-01 19:50:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:24 | ------------------------------------

2022-03-01 19:50:24 | on localhost executing action delete-node with content type application/json and payload:
{
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412"
}

2022-03-01 19:50:24 | from localhost for action delete-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-03-01 19:50:25 | [Mutex] waiting for: [received:nodes:340eea25-c624-4346-97e8-ca21ecb4c2c6:localhost]

2022-03-01 19:50:25 | [Mutex] waiting for: [received:nodes:340eea25-c624-4346-97e8-ca21ecb4c2c6:localhost]

2022-03-01 19:50:25 | [Mutex] received everything.

2022-03-01 19:50:25 | [Mutex] isItemNotified: received:node:340eea25-c624-4346-97e8-ca21ecb4c2c6:localhost:node-0f418494-ac35-4384-ba66-7e5b8824b412:Node 0f418494-ac35-4384-ba66-7e5b8824b412 :: false

2022-03-01 19:50:25 | [Mutex] waiting for: [received:nodes:cf36e90e-9ef7-4272-9b58-815cd87b141b:localhost]

2022-03-01 19:50:25 | [Mutex] received everything.

2022-03-01 19:50:25 | [Mutex] isItemNotified: received:node:cf36e90e-9ef7-4272-9b58-815cd87b141b:localhost:node-0f418494-ac35-4384-ba66-7e5b8824b412:Node 0f418494-ac35-4384-ba66-7e5b8824b412 :: false

publishItemsToNodes 4,657s
2022-03-01 19:50:12 |

2022-03-01 19:50:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:12 | ------------------------------------

2022-03-01 19:50:12 | on localhost executing action publish-item with content type application/json and payload:
{
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412",
    "entry": "<test>item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b</test>",
    "item-id": "item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b"
}

2022-03-01 19:50:12 | from localhost for action publish-item got result code 200 and payload
{
    "Note": "Operation successful",
    "item-id": "item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b"
}

2022-03-01 19:50:12 | [Mutex] waiting for: [published:item:notifieditem-f69942d7-4b47-4bee-a1a8-1140cffa0d5b:admin@test-domain.com]

2022-03-01 19:50:16 | [Mutex] received everything.

2022-03-01 19:50:17 | [Mutex] isItemNotified: published:item:notifieditem-f69942d7-4b47-4bee-a1a8-1140cffa0d5b:admin@test-domain.com :: true

retractItemsFromNodes 5,209s
2022-03-01 19:50:17 |

2022-03-01 19:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:17 | ------------------------------------

2022-03-01 19:50:17 | on localhost executing action delete-item with content type application/json and payload:
{
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412",
    "item-id": "item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b"
}

2022-03-01 19:50:17 | from localhost for action delete-item got result code 200 and payload
{
    "Note": "Operation successful",
    "item-id": "item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b"
}

2022-03-01 19:50:17 | [Mutex] waiting for: [retracted:item:notifieditem-f69942d7-4b47-4bee-a1a8-1140cffa0d5b:admin@test-domain.com]

2022-03-01 19:50:20 | [Mutex] received everything.

2022-03-01 19:50:21 | [Mutex] isItemNotified: retracted:item:notifieditem-f69942d7-4b47-4bee-a1a8-1140cffa0d5b:admin@test-domain.com :: true

retrieveItemsFromNodes 0,033s
2022-03-01 19:50:17 |

2022-03-01 19:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:17 | ------------------------------------

2022-03-01 19:50:17 | on localhost executing action retrieve-item with content type application/json and payload:
{
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412",
    "item-id": "item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b"
}

2022-03-01 19:50:17 | from localhost for action retrieve-item got result code 200 and payload
{
    "title": "Retrive PubSub node item",
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412",
    "item-id": "item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b",
    "item": [
        "<item id=\"item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b\"><test>item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b</test></item>"
    ]
}

2022-03-01 19:50:17 | [Mutex] notify: [retrieved:item:item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b:payload-matches:true:localhost]

2022-03-01 19:50:17 | [Mutex] received everything.

2022-03-01 19:50:17 | [Mutex] isItemNotified: retrieved:item:item-f69942d7-4b47-4bee-a1a8-1140cffa0d5b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,071s
2022-03-01 19:50:17 |

2022-03-01 19:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:17 | ------------------------------------

2022-03-01 19:50:17 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload:
{
    "jid": "admin@test-domain.com"
}

2022-03-01 19:50:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
{
    "nodes": [
        "node-f23234dd-0834-479b-9661-2f5c0bc0d6d9",
        "test",
        "node-0f418494-ac35-4384-ba66-7e5b8824b412"
    ]
}

retrieveUserSubscriptionsWithRegex 0,011s
2022-03-01 19:50:17 |

2022-03-01 19:50:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:17 | ------------------------------------

2022-03-01 19:50:17 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload:
{
    "jid": "admin@test-domain.com",
    "node-pattern": "(?!node-0f418494-ac35-4384-ba66-7e5b8824b412)"
}

2022-03-01 19:50:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
{
    "nodes": [
       
    ]
}

subscribeNodes 1,041s
2022-03-01 19:50:11 |

2022-03-01 19:50:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:11 | ------------------------------------

2022-03-01 19:50:11 | on localhost executing action subscribe-node with content type application/json and payload:
{
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412",
    "jids": [
        "admin@test-domain.com"
    ]
}

2022-03-01 19:50:11 | from localhost for action subscribe-node got result code 200 and payload
{
    "Note": "Operation successful"
}

unsubscribeNodes 1,053s
2022-03-01 19:50:23 |

2022-03-01 19:50:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-03-01 19:50:23 | ------------------------------------

2022-03-01 19:50:23 | on localhost executing action unsubscribe-node with content type application/json and payload:
{
    "node": "node-0f418494-ac35-4384-ba66-7e5b8824b412",
    "jids": [
        "admin@test-domain.com"
    ]
}

2022-03-01 19:50:23 | from localhost for action unsubscribe-node got result code 200 and payload
{
    "Note": "Operation successful"
}