Test duration : 9.118s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.133s |
2021-01-26 21:31:40 |
2021-01-26 21:31:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:40 | ------------------------------------ 2021-01-26 21:31:40 | [Mutex] waiting for: [configured:node:node-d3736493-0756-4612-a557-7e53c48c6a66:node-22e9d54e-1225-4410-bfcc-f91305957b8f] 2021-01-26 21:31:40 | [Mutex] received everything. 2021-01-26 21:31:40 | [Mutex] isItemNotified: configured:node:node-d3736493-0756-4612-a557-7e53c48c6a66:node-22e9d54e-1225-4410-bfcc-f91305957b8f :: true 2021-01-26 21:31:41 | [Mutex] waiting for: [received:nodes:491b6607-ae24-43d3-a7c9-82796d451273:localhost] 2021-01-26 21:31:41 | [Mutex] received everything. 2021-01-26 21:31:41 | [Mutex] isItemNotified: received:node:491b6607-ae24-43d3-a7c9-82796d451273:localhost:node-d3736493-0756-4612-a557-7e53c48c6a66:Node d3736493-0756-4612-a557-7e53c48c6a66 :: true 2021-01-26 21:31:41 | [Mutex] waiting for: [received:nodes:09b6f327-be03-4370-993a-c1a8d876f7ae:localhost] 2021-01-26 21:31:41 | [Mutex] received everything. 2021-01-26 21:31:41 | [Mutex] isItemNotified: received:node:09b6f327-be03-4370-993a-c1a8d876f7ae:localhost:node-d3736493-0756-4612-a557-7e53c48c6a66:Node d3736493-0756-4612-a557-7e53c48c6a66 :: false |
createNodes | 1.788s |
2021-01-26 21:31:37 |
2021-01-26 21:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:37 | ------------------------------------ 2021-01-26 21:31:38 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d3736493-0756-4612-a557-7e53c48c6a66", "pubsub#title": "Node d3736493-0756-4612-a557-7e53c48c6a66" } 2021-01-26 21:31:38 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 21:31:39 | [Mutex] waiting for: [received:nodes:2f321503-1162-4194-a5b6-89d3757833ce:localhost] 2021-01-26 21:31:39 | [Mutex] received everything. 2021-01-26 21:31:39 | [Mutex] isItemNotified: received:node:2f321503-1162-4194-a5b6-89d3757833ce:localhost:node-d3736493-0756-4612-a557-7e53c48c6a66:Node d3736493-0756-4612-a557-7e53c48c6a66 :: true |
createSubnodes | 1.026s |
2021-01-26 21:31:39 |
2021-01-26 21:31:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:39 | ------------------------------------ 2021-01-26 21:31:39 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-22e9d54e-1225-4410-bfcc-f91305957b8f", "pubsub#title": "Node 22e9d54e-1225-4410-bfcc-f91305957b8f" } 2021-01-26 21:31:39 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 21:31:40 | [Mutex] waiting for: [received:nodes:63475177-1209-4b32-9bb8-d020fc6cc060:localhost] 2021-01-26 21:31:40 | [Mutex] waiting for: [received:nodes:63475177-1209-4b32-9bb8-d020fc6cc060:localhost] 2021-01-26 21:31:40 | [Mutex] waiting for: [received:nodes:63475177-1209-4b32-9bb8-d020fc6cc060:localhost] 2021-01-26 21:31:40 | [Mutex] received everything. 2021-01-26 21:31:40 | [Mutex] isItemNotified: received:node:63475177-1209-4b32-9bb8-d020fc6cc060:localhost:node-22e9d54e-1225-4410-bfcc-f91305957b8f:Node 22e9d54e-1225-4410-bfcc-f91305957b8f :: true |
deleteNodes | 1.023s |
2021-01-26 21:31:45 |
2021-01-26 21:31:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:45 | ------------------------------------ 2021-01-26 21:31:45 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-22e9d54e-1225-4410-bfcc-f91305957b8f" } 2021-01-26 21:31:45 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 21:31:46 | [Mutex] waiting for: [received:nodes:4ef4adc7-bb13-4dc0-bc6f-f1e26604cf34:localhost] 2021-01-26 21:31:46 | [Mutex] received everything. 2021-01-26 21:31:46 | [Mutex] isItemNotified: received:node:4ef4adc7-bb13-4dc0-bc6f-f1e26604cf34:localhost:node-22e9d54e-1225-4410-bfcc-f91305957b8f:Node 22e9d54e-1225-4410-bfcc-f91305957b8f :: false |
deleteSubnodes | 1.032s |
2021-01-26 21:31:44 |
2021-01-26 21:31:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:44 | ------------------------------------ 2021-01-26 21:31:44 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d3736493-0756-4612-a557-7e53c48c6a66" } 2021-01-26 21:31:44 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-01-26 21:31:45 | [Mutex] waiting for: [received:nodes:91b80834-7f4f-4ff1-a75a-c7970057f46f:localhost] 2021-01-26 21:31:45 | [Mutex] waiting for: [received:nodes:91b80834-7f4f-4ff1-a75a-c7970057f46f:localhost] 2021-01-26 21:31:45 | [Mutex] waiting for: [received:nodes:91b80834-7f4f-4ff1-a75a-c7970057f46f:localhost] 2021-01-26 21:31:45 | [Mutex] received everything. 2021-01-26 21:31:45 | [Mutex] isItemNotified: received:node:91b80834-7f4f-4ff1-a75a-c7970057f46f:localhost:node-d3736493-0756-4612-a557-7e53c48c6a66:Node d3736493-0756-4612-a557-7e53c48c6a66 :: false 2021-01-26 21:31:45 | [Mutex] waiting for: [received:nodes:83f9c5bb-72c3-4d5c-a764-6e06b535a1f5:localhost] 2021-01-26 21:31:45 | [Mutex] received everything. 2021-01-26 21:31:45 | [Mutex] isItemNotified: received:node:83f9c5bb-72c3-4d5c-a764-6e06b535a1f5:localhost:node-d3736493-0756-4612-a557-7e53c48c6a66:Node d3736493-0756-4612-a557-7e53c48c6a66 :: false |
publishItemsToNodes | 0.048s |
2021-01-26 21:31:42 |
2021-01-26 21:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:42 | ------------------------------------ 2021-01-26 21:31:42 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d3736493-0756-4612-a557-7e53c48c6a66", "entry": "<test>item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7</test>", "item-id": "item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7" } 2021-01-26 21:31:42 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7" } 2021-01-26 21:31:42 | [Mutex] received everything. 2021-01-26 21:31:42 | [Mutex] isItemNotified: published:item:notifieditem-df7aafe4-8e69-41c9-a1f1-1894102fe9d7:admin@test-domain.com :: true |
retractItemsFromNodes | 0.059s |
2021-01-26 21:31:43 |
2021-01-26 21:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:43 | ------------------------------------ 2021-01-26 21:31:43 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d3736493-0756-4612-a557-7e53c48c6a66", "item-id": "item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7" } 2021-01-26 21:31:43 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7" } 2021-01-26 21:31:43 | [Mutex] received everything. 2021-01-26 21:31:43 | [Mutex] isItemNotified: retracted:item:notifieditem-df7aafe4-8e69-41c9-a1f1-1894102fe9d7:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.069s |
2021-01-26 21:31:42 |
2021-01-26 21:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:42 | ------------------------------------ 2021-01-26 21:31:42 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d3736493-0756-4612-a557-7e53c48c6a66", "item-id": "item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7" } 2021-01-26 21:31:42 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d3736493-0756-4612-a557-7e53c48c6a66", "item-id": "item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7", "item": [ "<item id=\"item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7\"><test>item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7</test></item>" ] } 2021-01-26 21:31:42 | [Mutex] notify: [retrieved:item:item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7:payload-matches:true:localhost] 2021-01-26 21:31:42 | [Mutex] received everything. 2021-01-26 21:31:42 | [Mutex] isItemNotified: retrieved:item:item-df7aafe4-8e69-41c9-a1f1-1894102fe9d7:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.071s |
2021-01-26 21:31:42 |
2021-01-26 21:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:42 | ------------------------------------ 2021-01-26 21:31:42 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-01-26 21:31:42 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-d3736493-0756-4612-a557-7e53c48c6a66", "test", "node-22e9d54e-1225-4410-bfcc-f91305957b8f" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2021-01-26 21:31:42 |
2021-01-26 21:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:42 | ------------------------------------ 2021-01-26 21:31:42 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d3736493-0756-4612-a557-7e53c48c6a66)" } 2021-01-26 21:31:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2021-01-26 21:31:41 |
2021-01-26 21:31:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:41 | ------------------------------------ 2021-01-26 21:31:41 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d3736493-0756-4612-a557-7e53c48c6a66", "jids": [ "admin@test-domain.com" ] } 2021-01-26 21:31:41 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.059s |
2021-01-26 21:31:43 |
2021-01-26 21:31:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-01-26 21:31:43 | ------------------------------------ 2021-01-26 21:31:43 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d3736493-0756-4612-a557-7e53c48c6a66", "jids": [ "admin@test-domain.com" ] } 2021-01-26 21:31:43 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |