Test duration : 9.100s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.114s |
2021-06-04 22:58:08 |
2021-06-04 22:58:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:08 | ------------------------------------ 2021-06-04 22:58:08 | [Mutex] waiting for: [configured:node:node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274:node-14bedff3-ab94-4295-98a7-d881e898002b] 2021-06-04 22:58:09 | [Mutex] received everything. 2021-06-04 22:58:09 | [Mutex] isItemNotified: configured:node:node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274:node-14bedff3-ab94-4295-98a7-d881e898002b :: true 2021-06-04 22:58:10 | [Mutex] waiting for: [received:nodes:d0dbe043-025e-4279-a893-f574558771e5:localhost] 2021-06-04 22:58:10 | [Mutex] received everything. 2021-06-04 22:58:10 | [Mutex] isItemNotified: received:node:d0dbe043-025e-4279-a893-f574558771e5:localhost:node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274:Node 919eea9f-85df-4ad3-a2e7-f4e7f0bb8274 :: true 2021-06-04 22:58:10 | [Mutex] waiting for: [received:nodes:09d382a7-5066-4c87-bb84-23e3d7246cff:localhost] 2021-06-04 22:58:10 | [Mutex] waiting for: [received:nodes:09d382a7-5066-4c87-bb84-23e3d7246cff:localhost] 2021-06-04 22:58:10 | [Mutex] received everything. 2021-06-04 22:58:10 | [Mutex] isItemNotified: received:node:09d382a7-5066-4c87-bb84-23e3d7246cff:localhost:node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274:Node 919eea9f-85df-4ad3-a2e7-f4e7f0bb8274 :: false |
createNodes | 1.706s |
2021-06-04 22:58:06 |
2021-06-04 22:58:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:06 | ------------------------------------ 2021-06-04 22:58:06 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "pubsub#title": "Node 919eea9f-85df-4ad3-a2e7-f4e7f0bb8274" } 2021-06-04 22:58:06 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-04 22:58:07 | [Mutex] waiting for: [received:nodes:61def2c9-974b-4452-9caf-b4ab5f210892:localhost] 2021-06-04 22:58:07 | [Mutex] received everything. 2021-06-04 22:58:07 | [Mutex] isItemNotified: received:node:61def2c9-974b-4452-9caf-b4ab5f210892:localhost:node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274:Node 919eea9f-85df-4ad3-a2e7-f4e7f0bb8274 :: true |
createSubnodes | 1.020s |
2021-06-04 22:58:07 |
2021-06-04 22:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:07 | ------------------------------------ 2021-06-04 22:58:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-14bedff3-ab94-4295-98a7-d881e898002b", "pubsub#title": "Node 14bedff3-ab94-4295-98a7-d881e898002b" } 2021-06-04 22:58:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-04 22:58:08 | [Mutex] waiting for: [received:nodes:b54dfea3-9a7b-499c-bfbc-2c7bdd0578e1:localhost] 2021-06-04 22:58:08 | [Mutex] received everything. 2021-06-04 22:58:08 | [Mutex] isItemNotified: received:node:b54dfea3-9a7b-499c-bfbc-2c7bdd0578e1:localhost:node-14bedff3-ab94-4295-98a7-d881e898002b:Node 14bedff3-ab94-4295-98a7-d881e898002b :: true |
deleteNodes | 1.021s |
2021-06-04 22:58:13 |
2021-06-04 22:58:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:13 | ------------------------------------ 2021-06-04 22:58:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-14bedff3-ab94-4295-98a7-d881e898002b" } 2021-06-04 22:58:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-04 22:58:14 | [Mutex] waiting for: [received:nodes:722ee0c6-b409-470c-983f-fb2ea2666b7d:localhost] 2021-06-04 22:58:14 | [Mutex] received everything. 2021-06-04 22:58:14 | [Mutex] isItemNotified: received:node:722ee0c6-b409-470c-983f-fb2ea2666b7d:localhost:node-14bedff3-ab94-4295-98a7-d881e898002b:Node 14bedff3-ab94-4295-98a7-d881e898002b :: false |
deleteSubnodes | 1.034s |
2021-06-04 22:58:12 |
2021-06-04 22:58:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:12 | ------------------------------------ 2021-06-04 22:58:12 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274" } 2021-06-04 22:58:12 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-06-04 22:58:13 | [Mutex] waiting for: [received:nodes:752f87b0-ac64-4d32-b874-7f30db802f61:localhost] 2021-06-04 22:58:13 | [Mutex] received everything. 2021-06-04 22:58:13 | [Mutex] isItemNotified: received:node:752f87b0-ac64-4d32-b874-7f30db802f61:localhost:node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274:Node 919eea9f-85df-4ad3-a2e7-f4e7f0bb8274 :: false 2021-06-04 22:58:13 | [Mutex] waiting for: [received:nodes:2de4ab73-0354-4fbc-ad34-e46769794e70:localhost] 2021-06-04 22:58:13 | [Mutex] received everything. 2021-06-04 22:58:13 | [Mutex] isItemNotified: received:node:2de4ab73-0354-4fbc-ad34-e46769794e70:localhost:node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274:Node 919eea9f-85df-4ad3-a2e7-f4e7f0bb8274 :: false |
publishItemsToNodes | 0.051s |
2021-06-04 22:58:11 |
2021-06-04 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:11 | ------------------------------------ 2021-06-04 22:58:11 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "entry": "<test>item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda</test>", "item-id": "item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda" } 2021-06-04 22:58:11 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda" } 2021-06-04 22:58:11 | [Mutex] waiting for: [published:item:notifieditem-f6ad24f4-44f6-4e02-be12-6c70f98f1dda:admin@test-domain.com] 2021-06-04 22:58:11 | [Mutex] received everything. 2021-06-04 22:58:11 | [Mutex] isItemNotified: published:item:notifieditem-f6ad24f4-44f6-4e02-be12-6c70f98f1dda:admin@test-domain.com :: true |
retractItemsFromNodes | 0.080s |
2021-06-04 22:58:11 |
2021-06-04 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:11 | ------------------------------------ 2021-06-04 22:58:11 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "item-id": "item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda" } 2021-06-04 22:58:11 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda" } 2021-06-04 22:58:11 | [Mutex] received everything. 2021-06-04 22:58:11 | [Mutex] isItemNotified: retracted:item:notifieditem-f6ad24f4-44f6-4e02-be12-6c70f98f1dda:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.086s |
2021-06-04 22:58:11 |
2021-06-04 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:11 | ------------------------------------ 2021-06-04 22:58:11 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "item-id": "item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda" } 2021-06-04 22:58:11 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "item-id": "item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda", "item": [ "<item id=\"item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda\"><test>item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda</test></item>" ] } 2021-06-04 22:58:11 | [Mutex] notify: [retrieved:item:item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda:payload-matches:true:localhost] 2021-06-04 22:58:11 | [Mutex] received everything. 2021-06-04 22:58:11 | [Mutex] isItemNotified: retrieved:item:item-f6ad24f4-44f6-4e02-be12-6c70f98f1dda:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.047s |
2021-06-04 22:58:11 |
2021-06-04 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:11 | ------------------------------------ 2021-06-04 22:58:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-06-04 22:58:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "node-14bedff3-ab94-4295-98a7-d881e898002b" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2021-06-04 22:58:11 |
2021-06-04 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:11 | ------------------------------------ 2021-06-04 22:58:11 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274)" } 2021-06-04 22:58:11 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2021-06-04 22:58:10 |
2021-06-04 22:58:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:10 | ------------------------------------ 2021-06-04 22:58:10 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "jids": [ "admin@test-domain.com" ] } 2021-06-04 22:58:10 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.159s |
2021-06-04 22:58:11 |
2021-06-04 22:58:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-06-04 22:58:11 | ------------------------------------ 2021-06-04 22:58:11 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-919eea9f-85df-4ad3-a2e7-f4e7f0bb8274", "jids": [ "admin@test-domain.com" ] } 2021-06-04 22:58:11 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |