Generated by TestNG with ReportNG at 07:25 CLST on viernes 16 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 : 8,096s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingJSON
configureNodes 1,130s
2022-12-16 07:42:04 |

2022-12-16 07:42:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:04 | ------------------------------------

2022-12-16 07:42:04 | [Mutex] waiting for: [configured:node:node-932cc1af-6696-44e4-8e3e-0fb08b843469:node-b93c735d-9148-49bd-ac17-685ed6520895]

2022-12-16 07:42:04 | [Mutex] received everything.

2022-12-16 07:42:04 | [Mutex] isItemNotified: configured:node:node-932cc1af-6696-44e4-8e3e-0fb08b843469:node-b93c735d-9148-49bd-ac17-685ed6520895 :: true

2022-12-16 07:42:05 | [Mutex] waiting for: [received:nodes:01a09a67-0f29-453b-a0ed-3931b532535c:localhost]

2022-12-16 07:42:05 | [Mutex] received everything.

2022-12-16 07:42:05 | [Mutex] isItemNotified: received:node:01a09a67-0f29-453b-a0ed-3931b532535c:localhost:node-932cc1af-6696-44e4-8e3e-0fb08b843469:Node 932cc1af-6696-44e4-8e3e-0fb08b843469 :: true

2022-12-16 07:42:05 | [Mutex] waiting for: [received:nodes:600126c4-2ca2-45a3-a78e-792a9e9df956:localhost]

2022-12-16 07:42:05 | [Mutex] received everything.

2022-12-16 07:42:05 | [Mutex] isItemNotified: received:node:600126c4-2ca2-45a3-a78e-792a9e9df956:localhost:node-932cc1af-6696-44e4-8e3e-0fb08b843469:Node 932cc1af-6696-44e4-8e3e-0fb08b843469 :: false

createNodes 1,271s
2022-12-16 07:42:02 |

2022-12-16 07:42:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:02 | ------------------------------------

2022-12-16 07:42:02 | on localhost executing action create-node with content type application/json and payload:
{
    "owner": "admin@test-domain.com",
    "pubsub#node_type": "leaf",
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
    "pubsub#title": "Node 932cc1af-6696-44e4-8e3e-0fb08b843469"
}

2022-12-16 07:42:02 | from localhost for action create-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-16 07:42:03 | [Mutex] waiting for: [received:nodes:423a587d-f461-4c4d-a38f-7e70bbdcdf6a:localhost]

2022-12-16 07:42:03 | [Mutex] waiting for: [received:nodes:423a587d-f461-4c4d-a38f-7e70bbdcdf6a:localhost]

2022-12-16 07:42:03 | [Mutex] waiting for: [received:nodes:423a587d-f461-4c4d-a38f-7e70bbdcdf6a:localhost]

2022-12-16 07:42:03 | [Mutex] received everything.

2022-12-16 07:42:03 | [Mutex] isItemNotified: received:node:423a587d-f461-4c4d-a38f-7e70bbdcdf6a:localhost:node-932cc1af-6696-44e4-8e3e-0fb08b843469:Node 932cc1af-6696-44e4-8e3e-0fb08b843469 :: true

createSubnodes 1,074s
2022-12-16 07:42:03 |

2022-12-16 07:42:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:03 | ------------------------------------

2022-12-16 07:42:03 | on localhost executing action create-node with content type application/json and payload:
{
    "owner": "admin@test-domain.com",
    "pubsub#node_type": "collection",
    "node": "node-b93c735d-9148-49bd-ac17-685ed6520895",
    "pubsub#title": "Node b93c735d-9148-49bd-ac17-685ed6520895"
}

2022-12-16 07:42:03 | from localhost for action create-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-16 07:42:04 | [Mutex] waiting for: [received:nodes:1ac23d6e-7815-4c59-b7fe-010df03b8fa5:localhost]

2022-12-16 07:42:04 | [Mutex] waiting for: [received:nodes:1ac23d6e-7815-4c59-b7fe-010df03b8fa5:localhost]

2022-12-16 07:42:04 | [Mutex] waiting for: [received:nodes:1ac23d6e-7815-4c59-b7fe-010df03b8fa5:localhost]

2022-12-16 07:42:04 | [Mutex] received everything.

2022-12-16 07:42:04 | [Mutex] isItemNotified: received:node:1ac23d6e-7815-4c59-b7fe-010df03b8fa5:localhost:node-b93c735d-9148-49bd-ac17-685ed6520895:Node b93c735d-9148-49bd-ac17-685ed6520895 :: true

deleteNodes 1,082s
2022-12-16 07:42:09 |

2022-12-16 07:42:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:09 | ------------------------------------

2022-12-16 07:42:09 | on localhost executing action delete-node with content type application/json and payload:
{
    "node": "node-b93c735d-9148-49bd-ac17-685ed6520895"
}

2022-12-16 07:42:09 | from localhost for action delete-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-16 07:42:10 | [Mutex] waiting for: [received:nodes:ec326bc2-0bbd-4766-bfbf-fbefbbe5e8ed:localhost]

2022-12-16 07:42:10 | [Mutex] waiting for: [received:nodes:ec326bc2-0bbd-4766-bfbf-fbefbbe5e8ed:localhost]

2022-12-16 07:42:10 | [Mutex] received everything.

2022-12-16 07:42:10 | [Mutex] isItemNotified: received:node:ec326bc2-0bbd-4766-bfbf-fbefbbe5e8ed:localhost:node-b93c735d-9148-49bd-ac17-685ed6520895:Node b93c735d-9148-49bd-ac17-685ed6520895 :: false

deleteSubnodes 1,082s
2022-12-16 07:42:08 |

2022-12-16 07:42:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:08 | ------------------------------------

2022-12-16 07:42:08 | on localhost executing action delete-node with content type application/json and payload:
{
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469"
}

2022-12-16 07:42:08 | from localhost for action delete-node got result code 200 and payload
{
    "Note": "Operation successful"
}

2022-12-16 07:42:09 | [Mutex] waiting for: [received:nodes:68ac1544-9778-4666-8aae-5dec46bd7393:localhost]

2022-12-16 07:42:09 | [Mutex] waiting for: [received:nodes:68ac1544-9778-4666-8aae-5dec46bd7393:localhost]

2022-12-16 07:42:09 | [Mutex] waiting for: [received:nodes:68ac1544-9778-4666-8aae-5dec46bd7393:localhost]

2022-12-16 07:42:09 | [Mutex] received everything.

2022-12-16 07:42:09 | [Mutex] isItemNotified: received:node:68ac1544-9778-4666-8aae-5dec46bd7393:localhost:node-932cc1af-6696-44e4-8e3e-0fb08b843469:Node 932cc1af-6696-44e4-8e3e-0fb08b843469 :: false

2022-12-16 07:42:09 | [Mutex] waiting for: [received:nodes:f44c15a4-e1a7-4728-8f92-6521d684a5e2:localhost]

2022-12-16 07:42:09 | [Mutex] received everything.

2022-12-16 07:42:09 | [Mutex] isItemNotified: received:node:f44c15a4-e1a7-4728-8f92-6521d684a5e2:localhost:node-932cc1af-6696-44e4-8e3e-0fb08b843469:Node 932cc1af-6696-44e4-8e3e-0fb08b843469 :: false

publishItemsToNodes 0,060s
2022-12-16 07:42:06 |

2022-12-16 07:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:06 | ------------------------------------

2022-12-16 07:42:06 | on localhost executing action publish-item with content type application/json and payload:
{
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
    "entry": "<test>item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b</test>",
    "item-id": "item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b"
}

2022-12-16 07:42:06 | from localhost for action publish-item got result code 200 and payload
{
    "Note": "Operation successful",
    "item-id": "item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b"
}

2022-12-16 07:42:06 | [Mutex] waiting for: [published:item:notifieditem-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b:admin@test-domain.com]

2022-12-16 07:42:06 | [Mutex] received everything.

2022-12-16 07:42:06 | [Mutex] isItemNotified: published:item:notifieditem-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b:admin@test-domain.com :: true

retractItemsFromNodes 0,037s
2022-12-16 07:42:07 |

2022-12-16 07:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:07 | ------------------------------------

2022-12-16 07:42:07 | on localhost executing action delete-item with content type application/json and payload:
{
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
    "item-id": "item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b"
}

2022-12-16 07:42:07 | from localhost for action delete-item got result code 200 and payload
{
    "Note": "Operation successful",
    "item-id": "item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b"
}

2022-12-16 07:42:07 | [Mutex] waiting for: [retracted:item:notifieditem-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b:admin@test-domain.com]

2022-12-16 07:42:07 | [Mutex] received everything.

2022-12-16 07:42:07 | [Mutex] isItemNotified: retracted:item:notifieditem-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b:admin@test-domain.com :: true

retrieveItemsFromNodes 0,020s
2022-12-16 07:42:06 |

2022-12-16 07:42:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:06 | ------------------------------------

2022-12-16 07:42:06 | on localhost executing action retrieve-item with content type application/json and payload:
{
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
    "item-id": "item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b"
}

2022-12-16 07:42:07 | from localhost for action retrieve-item got result code 200 and payload
{
    "title": "Retrive PubSub node item",
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
    "item-id": "item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b",
    "item": [
        "<item id=\"item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b\"><test>item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b</test></item>"
    ]
}

2022-12-16 07:42:07 | [Mutex] notify: [retrieved:item:item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b:payload-matches:true:localhost]

2022-12-16 07:42:07 | [Mutex] received everything.

2022-12-16 07:42:07 | [Mutex] isItemNotified: retrieved:item:item-5375f4fd-30f1-4a02-8ec5-a71dabc07c5b:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0,006s
2022-12-16 07:42:07 |

2022-12-16 07:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:07 | ------------------------------------

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

2022-12-16 07:42:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
{
    "nodes": [
        "test",
        "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
        "node-b93c735d-9148-49bd-ac17-685ed6520895"
    ]
}

retrieveUserSubscriptionsWithRegex 0,007s
2022-12-16 07:42:07 |

2022-12-16 07:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:07 | ------------------------------------

2022-12-16 07:42:07 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload:
{
    "jid": "admin@test-domain.com",
    "node-pattern": "(?!node-932cc1af-6696-44e4-8e3e-0fb08b843469)"
}

2022-12-16 07:42:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
{
    "nodes": [
       
    ]
}

subscribeNodes 1,025s
2022-12-16 07:42:05 |

2022-12-16 07:42:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:05 | ------------------------------------

2022-12-16 07:42:05 | on localhost executing action subscribe-node with content type application/json and payload:
{
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
    "jids": [
        "admin@test-domain.com"
    ]
}

2022-12-16 07:42:05 | from localhost for action subscribe-node got result code 200 and payload
{
    "Note": "Operation successful"
}

unsubscribeNodes 1,028s
2022-12-16 07:42:07 |

2022-12-16 07:42:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON]

2022-12-16 07:42:07 | ------------------------------------

2022-12-16 07:42:07 | on localhost executing action unsubscribe-node with content type application/json and payload:
{
    "node": "node-932cc1af-6696-44e4-8e3e-0fb08b843469",
    "jids": [
        "admin@test-domain.com"
    ]
}

2022-12-16 07:42:07 | from localhost for action unsubscribe-node got result code 200 and payload
{
    "Note": "Operation successful"
}