Test duration : 8.567s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.107s |
2023-11-05 00:56:47 |
2023-11-05 00:56:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:47 | ------------------------------------ 2023-11-05 00:56:47 | [Mutex] waiting for: [configured:node:node-c7dfebca-eed0-4dc0-923e-37037320e73b:node-ea884a6d-e067-4f3c-bfe4-9dec3142d8e1] 2023-11-05 00:56:47 | [Mutex] received everything. 2023-11-05 00:56:47 | [Mutex] isItemNotified: configured:node:node-c7dfebca-eed0-4dc0-923e-37037320e73b:node-ea884a6d-e067-4f3c-bfe4-9dec3142d8e1 :: true 2023-11-05 00:56:48 | [Mutex] waiting for: [received:nodes:59285e9f-1a55-4856-b6b6-44a4e73ccfb3:localhost] 2023-11-05 00:56:48 | [Mutex] received everything. 2023-11-05 00:56:48 | [Mutex] isItemNotified: received:node:59285e9f-1a55-4856-b6b6-44a4e73ccfb3:localhost:node-c7dfebca-eed0-4dc0-923e-37037320e73b:Node c7dfebca-eed0-4dc0-923e-37037320e73b :: true 2023-11-05 00:56:48 | [Mutex] waiting for: [received:nodes:c6dda3be-ac14-4a8c-9e5d-137f8efac4e4:localhost] 2023-11-05 00:56:48 | [Mutex] waiting for: [received:nodes:c6dda3be-ac14-4a8c-9e5d-137f8efac4e4:localhost] 2023-11-05 00:56:48 | [Mutex] waiting for: [received:nodes:c6dda3be-ac14-4a8c-9e5d-137f8efac4e4:localhost] 2023-11-05 00:56:48 | [Mutex] waiting for: [received:nodes:c6dda3be-ac14-4a8c-9e5d-137f8efac4e4:localhost] 2023-11-05 00:56:48 | [Mutex] received everything. 2023-11-05 00:56:48 | [Mutex] isItemNotified: received:node:c6dda3be-ac14-4a8c-9e5d-137f8efac4e4:localhost:node-c7dfebca-eed0-4dc0-923e-37037320e73b:Node c7dfebca-eed0-4dc0-923e-37037320e73b :: false |
createNodes | 1.633s |
2023-11-05 00:56:45 |
2023-11-05 00:56:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:45 | ------------------------------------ 2023-11-05 00:56:45 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b", "pubsub#title": "Node c7dfebca-eed0-4dc0-923e-37037320e73b" } 2023-11-05 00:56:45 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 00:56:46 | [Mutex] waiting for: [received:nodes:b7e4558f-cb2f-414d-9ecd-fdb91b3df1b8:localhost] 2023-11-05 00:56:46 | [Mutex] waiting for: [received:nodes:b7e4558f-cb2f-414d-9ecd-fdb91b3df1b8:localhost] 2023-11-05 00:56:46 | [Mutex] waiting for: [received:nodes:b7e4558f-cb2f-414d-9ecd-fdb91b3df1b8:localhost] 2023-11-05 00:56:46 | [Mutex] received everything. 2023-11-05 00:56:46 | [Mutex] isItemNotified: received:node:b7e4558f-cb2f-414d-9ecd-fdb91b3df1b8:localhost:node-c7dfebca-eed0-4dc0-923e-37037320e73b:Node c7dfebca-eed0-4dc0-923e-37037320e73b :: true |
createSubnodes | 1.019s |
2023-11-05 00:56:46 |
2023-11-05 00:56:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:46 | ------------------------------------ 2023-11-05 00:56:46 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-ea884a6d-e067-4f3c-bfe4-9dec3142d8e1", "pubsub#title": "Node ea884a6d-e067-4f3c-bfe4-9dec3142d8e1" } 2023-11-05 00:56:46 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 00:56:47 | [Mutex] waiting for: [received:nodes:595f073f-0ae8-482e-b61e-3ddcc2211205:localhost] 2023-11-05 00:56:47 | [Mutex] waiting for: [received:nodes:595f073f-0ae8-482e-b61e-3ddcc2211205:localhost] 2023-11-05 00:56:47 | [Mutex] waiting for: [received:nodes:595f073f-0ae8-482e-b61e-3ddcc2211205:localhost] 2023-11-05 00:56:47 | [Mutex] waiting for: [received:nodes:595f073f-0ae8-482e-b61e-3ddcc2211205:localhost] 2023-11-05 00:56:47 | [Mutex] waiting for: [received:nodes:595f073f-0ae8-482e-b61e-3ddcc2211205:localhost] 2023-11-05 00:56:47 | [Mutex] received everything. 2023-11-05 00:56:47 | [Mutex] isItemNotified: received:node:595f073f-0ae8-482e-b61e-3ddcc2211205:localhost:node-ea884a6d-e067-4f3c-bfe4-9dec3142d8e1:Node ea884a6d-e067-4f3c-bfe4-9dec3142d8e1 :: true |
deleteNodes | 1.020s |
2023-11-05 00:56:52 |
2023-11-05 00:56:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:52 | ------------------------------------ 2023-11-05 00:56:52 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ea884a6d-e067-4f3c-bfe4-9dec3142d8e1" } 2023-11-05 00:56:52 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 00:56:53 | [Mutex] waiting for: [received:nodes:4f42445a-304e-4355-8267-74b7c259a33c:localhost] 2023-11-05 00:56:53 | [Mutex] waiting for: [received:nodes:4f42445a-304e-4355-8267-74b7c259a33c:localhost] 2023-11-05 00:56:53 | [Mutex] waiting for: [received:nodes:4f42445a-304e-4355-8267-74b7c259a33c:localhost] 2023-11-05 00:56:53 | [Mutex] received everything. 2023-11-05 00:56:53 | [Mutex] isItemNotified: received:node:4f42445a-304e-4355-8267-74b7c259a33c:localhost:node-ea884a6d-e067-4f3c-bfe4-9dec3142d8e1:Node ea884a6d-e067-4f3c-bfe4-9dec3142d8e1 :: false |
deleteSubnodes | 1.023s |
2023-11-05 00:56:51 |
2023-11-05 00:56:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:51 | ------------------------------------ 2023-11-05 00:56:51 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b" } 2023-11-05 00:56:51 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-11-05 00:56:52 | [Mutex] waiting for: [received:nodes:143cc184-bc34-4a4f-b274-826e10ae9e9c:localhost] 2023-11-05 00:56:52 | [Mutex] received everything. 2023-11-05 00:56:52 | [Mutex] isItemNotified: received:node:143cc184-bc34-4a4f-b274-826e10ae9e9c:localhost:node-c7dfebca-eed0-4dc0-923e-37037320e73b:Node c7dfebca-eed0-4dc0-923e-37037320e73b :: false 2023-11-05 00:56:52 | [Mutex] waiting for: [received:nodes:6506dd6f-b0c9-4556-a81d-3968177c4870:localhost] 2023-11-05 00:56:52 | [Mutex] received everything. 2023-11-05 00:56:52 | [Mutex] isItemNotified: received:node:6506dd6f-b0c9-4556-a81d-3968177c4870:localhost:node-c7dfebca-eed0-4dc0-923e-37037320e73b:Node c7dfebca-eed0-4dc0-923e-37037320e73b :: false |
publishItemsToNodes | 0.066s |
2023-11-05 00:56:49 |
2023-11-05 00:56:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:49 | ------------------------------------ 2023-11-05 00:56:49 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b", "entry": "<test>item-133b9a4c-6006-46e3-abe6-b12df46862db</test>", "item-id": "item-133b9a4c-6006-46e3-abe6-b12df46862db" } 2023-11-05 00:56:49 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-133b9a4c-6006-46e3-abe6-b12df46862db" } 2023-11-05 00:56:49 | [Mutex] waiting for: [published:item:notifieditem-133b9a4c-6006-46e3-abe6-b12df46862db:admin@test-domain.com] 2023-11-05 00:56:49 | [Mutex] received everything. 2023-11-05 00:56:49 | [Mutex] isItemNotified: published:item:notifieditem-133b9a4c-6006-46e3-abe6-b12df46862db:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2023-11-05 00:56:49 |
2023-11-05 00:56:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:49 | ------------------------------------ 2023-11-05 00:56:49 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b", "item-id": "item-133b9a4c-6006-46e3-abe6-b12df46862db" } 2023-11-05 00:56:50 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-133b9a4c-6006-46e3-abe6-b12df46862db" } 2023-11-05 00:56:50 | [Mutex] received everything. 2023-11-05 00:56:50 | [Mutex] isItemNotified: retracted:item:notifieditem-133b9a4c-6006-46e3-abe6-b12df46862db:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.013s |
2023-11-05 00:56:49 |
2023-11-05 00:56:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:49 | ------------------------------------ 2023-11-05 00:56:49 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b", "item-id": "item-133b9a4c-6006-46e3-abe6-b12df46862db" } 2023-11-05 00:56:49 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b", "item-id": "item-133b9a4c-6006-46e3-abe6-b12df46862db", "item": [ "<item id=\"item-133b9a4c-6006-46e3-abe6-b12df46862db\"><test>item-133b9a4c-6006-46e3-abe6-b12df46862db</test></item>" ] } 2023-11-05 00:56:49 | [Mutex] notify: [retrieved:item:item-133b9a4c-6006-46e3-abe6-b12df46862db:payload-matches:true:localhost] 2023-11-05 00:56:49 | [Mutex] received everything. 2023-11-05 00:56:49 | [Mutex] isItemNotified: retrieved:item:item-133b9a4c-6006-46e3-abe6-b12df46862db:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-11-05 00:56:49 |
2023-11-05 00:56:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:49 | ------------------------------------ 2023-11-05 00:56:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-11-05 00:56:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-ea884a6d-e067-4f3c-bfe4-9dec3142d8e1", "node-c7dfebca-eed0-4dc0-923e-37037320e73b" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2023-11-05 00:56:49 |
2023-11-05 00:56:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:49 | ------------------------------------ 2023-11-05 00:56:49 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-c7dfebca-eed0-4dc0-923e-37037320e73b)" } 2023-11-05 00:56:49 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.016s |
2023-11-05 00:56:48 |
2023-11-05 00:56:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:48 | ------------------------------------ 2023-11-05 00:56:48 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b", "jids": [ "admin@test-domain.com" ] } 2023-11-05 00:56:48 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2023-11-05 00:56:50 |
2023-11-05 00:56:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-11-05 00:56:50 | ------------------------------------ 2023-11-05 00:56:50 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-c7dfebca-eed0-4dc0-923e-37037320e73b", "jids": [ "admin@test-domain.com" ] } 2023-11-05 00:56:50 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |