Test duration : 9.110s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.164s |
2021-09-19 22:29:27 |
2021-09-19 22:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:27 | ------------------------------------ 2021-09-19 22:29:27 | [Mutex] waiting for: [configured:node:node-7b6f7b47-5610-4905-afc8-807c0f53b311:node-ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08] 2021-09-19 22:29:28 | [Mutex] received everything. 2021-09-19 22:29:28 | [Mutex] isItemNotified: configured:node:node-7b6f7b47-5610-4905-afc8-807c0f53b311:node-ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08 :: true 2021-09-19 22:29:29 | [Mutex] waiting for: [received:nodes:f54a5f7f-165b-481a-8ae4-70877cfb5a81:localhost] 2021-09-19 22:29:29 | [Mutex] received everything. 2021-09-19 22:29:29 | [Mutex] isItemNotified: received:node:f54a5f7f-165b-481a-8ae4-70877cfb5a81:localhost:node-7b6f7b47-5610-4905-afc8-807c0f53b311:Node 7b6f7b47-5610-4905-afc8-807c0f53b311 :: true 2021-09-19 22:29:29 | [Mutex] waiting for: [received:nodes:25644af7-6b3e-44a5-9272-33a7363a4f38:localhost] 2021-09-19 22:29:29 | [Mutex] received everything. 2021-09-19 22:29:29 | [Mutex] isItemNotified: received:node:25644af7-6b3e-44a5-9272-33a7363a4f38:localhost:node-7b6f7b47-5610-4905-afc8-807c0f53b311:Node 7b6f7b47-5610-4905-afc8-807c0f53b311 :: false |
createNodes | 1.676s |
2021-09-19 22:29:25 |
2021-09-19 22:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:25 | ------------------------------------ 2021-09-19 22:29:25 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "pubsub#title": "Node 7b6f7b47-5610-4905-afc8-807c0f53b311" } 2021-09-19 22:29:25 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-09-19 22:29:26 | [Mutex] waiting for: [received:nodes:155d7a29-9340-4a54-a76c-47d56c335036:localhost] 2021-09-19 22:29:26 | [Mutex] received everything. 2021-09-19 22:29:26 | [Mutex] isItemNotified: received:node:155d7a29-9340-4a54-a76c-47d56c335036:localhost:node-7b6f7b47-5610-4905-afc8-807c0f53b311:Node 7b6f7b47-5610-4905-afc8-807c0f53b311 :: true |
createSubnodes | 1.026s |
2021-09-19 22:29:26 |
2021-09-19 22:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:26 | ------------------------------------ 2021-09-19 22:29:26 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08", "pubsub#title": "Node ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08" } 2021-09-19 22:29:26 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-09-19 22:29:27 | [Mutex] waiting for: [received:nodes:7c9f05af-e97b-4bfb-8026-df1fed9644c4:localhost] 2021-09-19 22:29:27 | [Mutex] received everything. 2021-09-19 22:29:27 | [Mutex] isItemNotified: received:node:7c9f05af-e97b-4bfb-8026-df1fed9644c4:localhost:node-ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08:Node ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08 :: true |
deleteNodes | 1.024s |
2021-09-19 22:29:32 |
2021-09-19 22:29:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:32 | ------------------------------------ 2021-09-19 22:29:32 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08" } 2021-09-19 22:29:32 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-09-19 22:29:33 | [Mutex] waiting for: [received:nodes:479fbfe2-5269-424a-993e-5d9f8f40fd19:localhost] 2021-09-19 22:29:33 | [Mutex] received everything. 2021-09-19 22:29:33 | [Mutex] isItemNotified: received:node:479fbfe2-5269-424a-993e-5d9f8f40fd19:localhost:node-ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08:Node ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08 :: false |
deleteSubnodes | 1.033s |
2021-09-19 22:29:31 |
2021-09-19 22:29:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:31 | ------------------------------------ 2021-09-19 22:29:31 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311" } 2021-09-19 22:29:31 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-09-19 22:29:32 | [Mutex] waiting for: [received:nodes:fc8bdfbb-c0cd-49a1-b6f4-6db64be03302:localhost] 2021-09-19 22:29:32 | [Mutex] received everything. 2021-09-19 22:29:32 | [Mutex] isItemNotified: received:node:fc8bdfbb-c0cd-49a1-b6f4-6db64be03302:localhost:node-7b6f7b47-5610-4905-afc8-807c0f53b311:Node 7b6f7b47-5610-4905-afc8-807c0f53b311 :: false 2021-09-19 22:29:32 | [Mutex] waiting for: [received:nodes:488c0491-0731-43da-9104-e5ecf1e8ade2:localhost] 2021-09-19 22:29:32 | [Mutex] received everything. 2021-09-19 22:29:32 | [Mutex] isItemNotified: received:node:488c0491-0731-43da-9104-e5ecf1e8ade2:localhost:node-7b6f7b47-5610-4905-afc8-807c0f53b311:Node 7b6f7b47-5610-4905-afc8-807c0f53b311 :: false |
publishItemsToNodes | 0.034s |
2021-09-19 22:29:30 |
2021-09-19 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:30 | ------------------------------------ 2021-09-19 22:29:30 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "entry": "<test>item-e6894c79-d608-4294-bb5f-ba6aca59a7a7</test>", "item-id": "item-e6894c79-d608-4294-bb5f-ba6aca59a7a7" } 2021-09-19 22:29:30 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e6894c79-d608-4294-bb5f-ba6aca59a7a7" } 2021-09-19 22:29:30 | [Mutex] waiting for: [published:item:notifieditem-e6894c79-d608-4294-bb5f-ba6aca59a7a7:admin@test-domain.com] 2021-09-19 22:29:30 | [Mutex] received everything. 2021-09-19 22:29:30 | [Mutex] isItemNotified: published:item:notifieditem-e6894c79-d608-4294-bb5f-ba6aca59a7a7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.068s |
2021-09-19 22:29:30 |
2021-09-19 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:30 | ------------------------------------ 2021-09-19 22:29:30 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "item-id": "item-e6894c79-d608-4294-bb5f-ba6aca59a7a7" } 2021-09-19 22:29:30 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e6894c79-d608-4294-bb5f-ba6aca59a7a7" } 2021-09-19 22:29:30 | [Mutex] received everything. 2021-09-19 22:29:30 | [Mutex] isItemNotified: retracted:item:notifieditem-e6894c79-d608-4294-bb5f-ba6aca59a7a7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.082s |
2021-09-19 22:29:30 |
2021-09-19 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:30 | ------------------------------------ 2021-09-19 22:29:30 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "item-id": "item-e6894c79-d608-4294-bb5f-ba6aca59a7a7" } 2021-09-19 22:29:30 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "item-id": "item-e6894c79-d608-4294-bb5f-ba6aca59a7a7", "item": [ "<item id=\"item-e6894c79-d608-4294-bb5f-ba6aca59a7a7\"><test>item-e6894c79-d608-4294-bb5f-ba6aca59a7a7</test></item>" ] } 2021-09-19 22:29:30 | [Mutex] notify: [retrieved:item:item-e6894c79-d608-4294-bb5f-ba6aca59a7a7:payload-matches:true:localhost] 2021-09-19 22:29:30 | [Mutex] received everything. 2021-09-19 22:29:30 | [Mutex] isItemNotified: retrieved:item:item-e6894c79-d608-4294-bb5f-ba6aca59a7a7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2021-09-19 22:29:30 |
2021-09-19 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:30 | ------------------------------------ 2021-09-19 22:29:30 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-09-19 22:29:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "test", "node-ec7d9726-f2d0-4a0f-94f6-a1b48bfccd08" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2021-09-19 22:29:30 |
2021-09-19 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:30 | ------------------------------------ 2021-09-19 22:29:30 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-7b6f7b47-5610-4905-afc8-807c0f53b311)" } 2021-09-19 22:29:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2021-09-19 22:29:29 |
2021-09-19 22:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:29 | ------------------------------------ 2021-09-19 22:29:29 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "jids": [ "admin@test-domain.com" ] } 2021-09-19 22:29:29 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.064s |
2021-09-19 22:29:30 |
2021-09-19 22:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-09-19 22:29:30 | ------------------------------------ 2021-09-19 22:29:30 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-7b6f7b47-5610-4905-afc8-807c0f53b311", "jids": [ "admin@test-domain.com" ] } 2021-09-19 22:29:30 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |