Test duration : 9.288s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.116s |
2021-04-28 22:30:42 |
2021-04-28 22:30:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:42 | ------------------------------------ 2021-04-28 22:30:42 | [Mutex] waiting for: [configured:node:node-24a64089-24f0-40cf-93cd-4030acce69f7:node-729a07bb-b56d-42fd-8d83-07a4ae7cedb4] 2021-04-28 22:30:42 | [Mutex] received everything. 2021-04-28 22:30:42 | [Mutex] isItemNotified: configured:node:node-24a64089-24f0-40cf-93cd-4030acce69f7:node-729a07bb-b56d-42fd-8d83-07a4ae7cedb4 :: true 2021-04-28 22:30:43 | [Mutex] waiting for: [received:nodes:621e2ab9-1967-4898-9688-49b99f17a20f:localhost] 2021-04-28 22:30:43 | [Mutex] received everything. 2021-04-28 22:30:43 | [Mutex] isItemNotified: received:node:621e2ab9-1967-4898-9688-49b99f17a20f:localhost:node-24a64089-24f0-40cf-93cd-4030acce69f7:Node 24a64089-24f0-40cf-93cd-4030acce69f7 :: true 2021-04-28 22:30:43 | [Mutex] waiting for: [received:nodes:f3014a08-e293-4885-a2cb-6719dbd5698f:localhost] 2021-04-28 22:30:43 | [Mutex] received everything. 2021-04-28 22:30:43 | [Mutex] isItemNotified: received:node:f3014a08-e293-4885-a2cb-6719dbd5698f:localhost:node-24a64089-24f0-40cf-93cd-4030acce69f7:Node 24a64089-24f0-40cf-93cd-4030acce69f7 :: false |
createNodes | 1.877s |
2021-04-28 22:30:39 |
2021-04-28 22:30:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:39 | ------------------------------------ 2021-04-28 22:30:40 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7", "pubsub#title": "Node 24a64089-24f0-40cf-93cd-4030acce69f7" } 2021-04-28 22:30:40 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-28 22:30:41 | [Mutex] waiting for: [received:nodes:c6d34fa2-c60c-42aa-9506-b6d43a31c6ee:localhost] 2021-04-28 22:30:41 | [Mutex] received everything. 2021-04-28 22:30:41 | [Mutex] isItemNotified: received:node:c6d34fa2-c60c-42aa-9506-b6d43a31c6ee:localhost:node-24a64089-24f0-40cf-93cd-4030acce69f7:Node 24a64089-24f0-40cf-93cd-4030acce69f7 :: true |
createSubnodes | 1.033s |
2021-04-28 22:30:41 |
2021-04-28 22:30:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:41 | ------------------------------------ 2021-04-28 22:30:41 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-729a07bb-b56d-42fd-8d83-07a4ae7cedb4", "pubsub#title": "Node 729a07bb-b56d-42fd-8d83-07a4ae7cedb4" } 2021-04-28 22:30:41 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-28 22:30:42 | [Mutex] waiting for: [received:nodes:7e4b06f0-3a5d-433c-9d76-7b8307afb60b:localhost] 2021-04-28 22:30:42 | [Mutex] waiting for: [received:nodes:7e4b06f0-3a5d-433c-9d76-7b8307afb60b:localhost] 2021-04-28 22:30:42 | [Mutex] received everything. 2021-04-28 22:30:42 | [Mutex] isItemNotified: received:node:7e4b06f0-3a5d-433c-9d76-7b8307afb60b:localhost:node-729a07bb-b56d-42fd-8d83-07a4ae7cedb4:Node 729a07bb-b56d-42fd-8d83-07a4ae7cedb4 :: true |
deleteNodes | 1.021s |
2021-04-28 22:30:46 |
2021-04-28 22:30:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:46 | ------------------------------------ 2021-04-28 22:30:46 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-729a07bb-b56d-42fd-8d83-07a4ae7cedb4" } 2021-04-28 22:30:46 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-28 22:30:47 | [Mutex] waiting for: [received:nodes:450dc4be-76e9-4b3f-8cb4-d904dc540bb2:localhost] 2021-04-28 22:30:47 | [Mutex] received everything. 2021-04-28 22:30:47 | [Mutex] isItemNotified: received:node:450dc4be-76e9-4b3f-8cb4-d904dc540bb2:localhost:node-729a07bb-b56d-42fd-8d83-07a4ae7cedb4:Node 729a07bb-b56d-42fd-8d83-07a4ae7cedb4 :: false |
deleteSubnodes | 1.025s |
2021-04-28 22:30:45 |
2021-04-28 22:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:45 | ------------------------------------ 2021-04-28 22:30:45 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7" } 2021-04-28 22:30:45 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-28 22:30:46 | [Mutex] waiting for: [received:nodes:d154e3eb-7ce6-4df3-8cb3-72314006ab6a:localhost] 2021-04-28 22:30:46 | [Mutex] received everything. 2021-04-28 22:30:46 | [Mutex] isItemNotified: received:node:d154e3eb-7ce6-4df3-8cb3-72314006ab6a:localhost:node-24a64089-24f0-40cf-93cd-4030acce69f7:Node 24a64089-24f0-40cf-93cd-4030acce69f7 :: false 2021-04-28 22:30:46 | [Mutex] waiting for: [received:nodes:8fb65be2-a30a-4cc4-8437-3129760f5c8f:localhost] 2021-04-28 22:30:46 | [Mutex] received everything. 2021-04-28 22:30:46 | [Mutex] isItemNotified: received:node:8fb65be2-a30a-4cc4-8437-3129760f5c8f:localhost:node-24a64089-24f0-40cf-93cd-4030acce69f7:Node 24a64089-24f0-40cf-93cd-4030acce69f7 :: false |
publishItemsToNodes | 0.044s |
2021-04-28 22:30:44 |
2021-04-28 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:44 | ------------------------------------ 2021-04-28 22:30:44 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7", "entry": "<test>item-16b00230-d4f9-4d29-819f-3887204ede8b</test>", "item-id": "item-16b00230-d4f9-4d29-819f-3887204ede8b" } 2021-04-28 22:30:44 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-16b00230-d4f9-4d29-819f-3887204ede8b" } 2021-04-28 22:30:44 | [Mutex] waiting for: [published:item:notifieditem-16b00230-d4f9-4d29-819f-3887204ede8b:admin@test-domain.com] 2021-04-28 22:30:44 | [Mutex] received everything. 2021-04-28 22:30:44 | [Mutex] isItemNotified: published:item:notifieditem-16b00230-d4f9-4d29-819f-3887204ede8b:admin@test-domain.com :: true |
retractItemsFromNodes | 0.055s |
2021-04-28 22:30:44 |
2021-04-28 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:44 | ------------------------------------ 2021-04-28 22:30:44 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7", "item-id": "item-16b00230-d4f9-4d29-819f-3887204ede8b" } 2021-04-28 22:30:44 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-16b00230-d4f9-4d29-819f-3887204ede8b" } 2021-04-28 22:30:44 | [Mutex] received everything. 2021-04-28 22:30:44 | [Mutex] isItemNotified: retracted:item:notifieditem-16b00230-d4f9-4d29-819f-3887204ede8b:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.095s |
2021-04-28 22:30:44 |
2021-04-28 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:44 | ------------------------------------ 2021-04-28 22:30:44 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7", "item-id": "item-16b00230-d4f9-4d29-819f-3887204ede8b" } 2021-04-28 22:30:44 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7", "item-id": "item-16b00230-d4f9-4d29-819f-3887204ede8b", "item": [ "<item id=\"item-16b00230-d4f9-4d29-819f-3887204ede8b\"><test>item-16b00230-d4f9-4d29-819f-3887204ede8b</test></item>" ] } 2021-04-28 22:30:44 | [Mutex] notify: [retrieved:item:item-16b00230-d4f9-4d29-819f-3887204ede8b:payload-matches:true:localhost] 2021-04-28 22:30:44 | [Mutex] received everything. 2021-04-28 22:30:44 | [Mutex] isItemNotified: retrieved:item:item-16b00230-d4f9-4d29-819f-3887204ede8b:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2021-04-28 22:30:44 |
2021-04-28 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:44 | ------------------------------------ 2021-04-28 22:30:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-28 22:30:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-24a64089-24f0-40cf-93cd-4030acce69f7", "test", "node-729a07bb-b56d-42fd-8d83-07a4ae7cedb4" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-04-28 22:30:44 |
2021-04-28 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:44 | ------------------------------------ 2021-04-28 22:30:44 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-24a64089-24f0-40cf-93cd-4030acce69f7)" } 2021-04-28 22:30:44 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.022s |
2021-04-28 22:30:43 |
2021-04-28 22:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:43 | ------------------------------------ 2021-04-28 22:30:43 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7", "jids": [ "admin@test-domain.com" ] } 2021-04-28 22:30:43 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.071s |
2021-04-28 22:30:44 |
2021-04-28 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-28 22:30:44 | ------------------------------------ 2021-04-28 22:30:44 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-24a64089-24f0-40cf-93cd-4030acce69f7", "jids": [ "admin@test-domain.com" ] } 2021-04-28 22:30:44 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |