Test duration : 8.597s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.094s |
2023-02-01 22:04:44 |
2023-02-01 22:04:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:44 | ------------------------------------ 2023-02-01 22:04:44 | [Mutex] waiting for: [configured:node:node-6c39cd91-bc78-4657-bfec-c7068cae7392:node-feff0924-6e02-4c69-98b8-9b37417c7fac] 2023-02-01 22:04:44 | [Mutex] received everything. 2023-02-01 22:04:44 | [Mutex] isItemNotified: configured:node:node-6c39cd91-bc78-4657-bfec-c7068cae7392:node-feff0924-6e02-4c69-98b8-9b37417c7fac :: true 2023-02-01 22:04:45 | [Mutex] waiting for: [received:nodes:407b142f-ca05-4808-80c4-d152395c0a0c:localhost] 2023-02-01 22:04:45 | [Mutex] waiting for: [received:nodes:407b142f-ca05-4808-80c4-d152395c0a0c:localhost] 2023-02-01 22:04:45 | [Mutex] received everything. 2023-02-01 22:04:45 | [Mutex] isItemNotified: received:node:407b142f-ca05-4808-80c4-d152395c0a0c:localhost:node-6c39cd91-bc78-4657-bfec-c7068cae7392:Node 6c39cd91-bc78-4657-bfec-c7068cae7392 :: true 2023-02-01 22:04:45 | [Mutex] waiting for: [received:nodes:c07201c3-f3b2-4c89-a9d3-26aea7abee99:localhost] 2023-02-01 22:04:45 | [Mutex] waiting for: [received:nodes:c07201c3-f3b2-4c89-a9d3-26aea7abee99:localhost] 2023-02-01 22:04:45 | [Mutex] waiting for: [received:nodes:c07201c3-f3b2-4c89-a9d3-26aea7abee99:localhost] 2023-02-01 22:04:45 | [Mutex] waiting for: [received:nodes:c07201c3-f3b2-4c89-a9d3-26aea7abee99:localhost] 2023-02-01 22:04:45 | [Mutex] received everything. 2023-02-01 22:04:45 | [Mutex] isItemNotified: received:node:c07201c3-f3b2-4c89-a9d3-26aea7abee99:localhost:node-6c39cd91-bc78-4657-bfec-c7068cae7392:Node 6c39cd91-bc78-4657-bfec-c7068cae7392 :: false |
createNodes | 1.649s |
2023-02-01 22:04:41 |
2023-02-01 22:04:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:41 | ------------------------------------ 2023-02-01 22:04:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "pubsub#title": "Node 6c39cd91-bc78-4657-bfec-c7068cae7392" } 2023-02-01 22:04:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:04:42 | [Mutex] waiting for: [received:nodes:dd55bf1b-95e6-4bd5-86e0-756bae371b1e:localhost] 2023-02-01 22:04:42 | [Mutex] waiting for: [received:nodes:dd55bf1b-95e6-4bd5-86e0-756bae371b1e:localhost] 2023-02-01 22:04:42 | [Mutex] waiting for: [received:nodes:dd55bf1b-95e6-4bd5-86e0-756bae371b1e:localhost] 2023-02-01 22:04:42 | [Mutex] waiting for: [received:nodes:dd55bf1b-95e6-4bd5-86e0-756bae371b1e:localhost] 2023-02-01 22:04:42 | [Mutex] received everything. 2023-02-01 22:04:42 | [Mutex] isItemNotified: received:node:dd55bf1b-95e6-4bd5-86e0-756bae371b1e:localhost:node-6c39cd91-bc78-4657-bfec-c7068cae7392:Node 6c39cd91-bc78-4657-bfec-c7068cae7392 :: true |
createSubnodes | 1.025s |
2023-02-01 22:04:42 |
2023-02-01 22:04:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:42 | ------------------------------------ 2023-02-01 22:04:42 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-feff0924-6e02-4c69-98b8-9b37417c7fac", "pubsub#title": "Node feff0924-6e02-4c69-98b8-9b37417c7fac" } 2023-02-01 22:04:42 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:04:44 | [Mutex] waiting for: [received:nodes:5acb28ba-9ae8-4543-bfe3-67eb6e116125:localhost] 2023-02-01 22:04:44 | [Mutex] waiting for: [received:nodes:5acb28ba-9ae8-4543-bfe3-67eb6e116125:localhost] 2023-02-01 22:04:44 | [Mutex] waiting for: [received:nodes:5acb28ba-9ae8-4543-bfe3-67eb6e116125:localhost] 2023-02-01 22:04:44 | [Mutex] waiting for: [received:nodes:5acb28ba-9ae8-4543-bfe3-67eb6e116125:localhost] 2023-02-01 22:04:44 | [Mutex] waiting for: [received:nodes:5acb28ba-9ae8-4543-bfe3-67eb6e116125:localhost] 2023-02-01 22:04:44 | [Mutex] received everything. 2023-02-01 22:04:44 | [Mutex] isItemNotified: received:node:5acb28ba-9ae8-4543-bfe3-67eb6e116125:localhost:node-feff0924-6e02-4c69-98b8-9b37417c7fac:Node feff0924-6e02-4c69-98b8-9b37417c7fac :: true |
deleteNodes | 1.021s |
2023-02-01 22:04:48 |
2023-02-01 22:04:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:48 | ------------------------------------ 2023-02-01 22:04:48 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-feff0924-6e02-4c69-98b8-9b37417c7fac" } 2023-02-01 22:04:48 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:04:49 | [Mutex] waiting for: [received:nodes:ad2576e6-6ab8-4afa-a32d-a5fa6c34a94a:localhost] 2023-02-01 22:04:49 | [Mutex] waiting for: [received:nodes:ad2576e6-6ab8-4afa-a32d-a5fa6c34a94a:localhost] 2023-02-01 22:04:49 | [Mutex] waiting for: [received:nodes:ad2576e6-6ab8-4afa-a32d-a5fa6c34a94a:localhost] 2023-02-01 22:04:49 | [Mutex] received everything. 2023-02-01 22:04:49 | [Mutex] isItemNotified: received:node:ad2576e6-6ab8-4afa-a32d-a5fa6c34a94a:localhost:node-feff0924-6e02-4c69-98b8-9b37417c7fac:Node feff0924-6e02-4c69-98b8-9b37417c7fac :: false |
deleteSubnodes | 1.025s |
2023-02-01 22:04:47 |
2023-02-01 22:04:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:47 | ------------------------------------ 2023-02-01 22:04:47 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392" } 2023-02-01 22:04:47 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2023-02-01 22:04:48 | [Mutex] waiting for: [received:nodes:76d388ce-724e-41ee-b0cf-6dcbb30ca259:localhost] 2023-02-01 22:04:48 | [Mutex] waiting for: [received:nodes:76d388ce-724e-41ee-b0cf-6dcbb30ca259:localhost] 2023-02-01 22:04:48 | [Mutex] waiting for: [received:nodes:76d388ce-724e-41ee-b0cf-6dcbb30ca259:localhost] 2023-02-01 22:04:48 | [Mutex] received everything. 2023-02-01 22:04:48 | [Mutex] isItemNotified: received:node:76d388ce-724e-41ee-b0cf-6dcbb30ca259:localhost:node-6c39cd91-bc78-4657-bfec-c7068cae7392:Node 6c39cd91-bc78-4657-bfec-c7068cae7392 :: false 2023-02-01 22:04:48 | [Mutex] waiting for: [received:nodes:82d81c41-4c56-465e-8b89-5ce694e40f34:localhost] 2023-02-01 22:04:48 | [Mutex] received everything. 2023-02-01 22:04:48 | [Mutex] isItemNotified: received:node:82d81c41-4c56-465e-8b89-5ce694e40f34:localhost:node-6c39cd91-bc78-4657-bfec-c7068cae7392:Node 6c39cd91-bc78-4657-bfec-c7068cae7392 :: false |
publishItemsToNodes | 0.048s |
2023-02-01 22:04:46 |
2023-02-01 22:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:46 | ------------------------------------ 2023-02-01 22:04:46 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "entry": "<test>item-8148d6db-3686-48da-accf-37309953ec83</test>", "item-id": "item-8148d6db-3686-48da-accf-37309953ec83" } 2023-02-01 22:04:46 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-8148d6db-3686-48da-accf-37309953ec83" } 2023-02-01 22:04:46 | [Mutex] waiting for: [published:item:notifieditem-8148d6db-3686-48da-accf-37309953ec83:admin@test-domain.com] 2023-02-01 22:04:46 | [Mutex] received everything. 2023-02-01 22:04:46 | [Mutex] isItemNotified: published:item:notifieditem-8148d6db-3686-48da-accf-37309953ec83:admin@test-domain.com :: true |
retractItemsFromNodes | 0.087s |
2023-02-01 22:04:46 |
2023-02-01 22:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:46 | ------------------------------------ 2023-02-01 22:04:46 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "item-id": "item-8148d6db-3686-48da-accf-37309953ec83" } 2023-02-01 22:04:46 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-8148d6db-3686-48da-accf-37309953ec83" } 2023-02-01 22:04:46 | [Mutex] waiting for: [retracted:item:notifieditem-8148d6db-3686-48da-accf-37309953ec83:admin@test-domain.com] 2023-02-01 22:04:46 | [Mutex] received everything. 2023-02-01 22:04:46 | [Mutex] isItemNotified: retracted:item:notifieditem-8148d6db-3686-48da-accf-37309953ec83:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.044s |
2023-02-01 22:04:46 |
2023-02-01 22:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:46 | ------------------------------------ 2023-02-01 22:04:46 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "item-id": "item-8148d6db-3686-48da-accf-37309953ec83" } 2023-02-01 22:04:46 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "item-id": "item-8148d6db-3686-48da-accf-37309953ec83", "item": [ "<item id=\"item-8148d6db-3686-48da-accf-37309953ec83\"><test>item-8148d6db-3686-48da-accf-37309953ec83</test></item>" ] } 2023-02-01 22:04:46 | [Mutex] notify: [retrieved:item:item-8148d6db-3686-48da-accf-37309953ec83:payload-matches:true:localhost] 2023-02-01 22:04:46 | [Mutex] received everything. 2023-02-01 22:04:46 | [Mutex] isItemNotified: retrieved:item:item-8148d6db-3686-48da-accf-37309953ec83:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-02-01 22:04:46 |
2023-02-01 22:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:46 | ------------------------------------ 2023-02-01 22:04:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2023-02-01 22:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "node-feff0924-6e02-4c69-98b8-9b37417c7fac", "test" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2023-02-01 22:04:46 |
2023-02-01 22:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:46 | ------------------------------------ 2023-02-01 22:04:46 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-6c39cd91-bc78-4657-bfec-c7068cae7392)" } 2023-02-01 22:04:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.008s |
2023-02-01 22:04:45 |
2023-02-01 22:04:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:45 | ------------------------------------ 2023-02-01 22:04:45 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "jids": [ "admin@test-domain.com" ] } 2023-02-01 22:04:45 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.060s |
2023-02-01 22:04:46 |
2023-02-01 22:04:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2023-02-01 22:04:46 | ------------------------------------ 2023-02-01 22:04:46 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-6c39cd91-bc78-4657-bfec-c7068cae7392", "jids": [ "admin@test-domain.com" ] } 2023-02-01 22:04:46 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |