Test duration : 9.137s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.132s |
2020-10-19 22:53:01 |
2020-10-19 22:53:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:01 | ------------------------------------ 2020-10-19 22:53:01 | [Mutex] waiting for: [configured:node:node-d469e719-a482-4e8d-9e4a-6764e4dab013:node-97c4ca15-2282-4f9d-b7ee-6684bd73d230] 2020-10-19 22:53:01 | [Mutex] received everything. 2020-10-19 22:53:01 | [Mutex] isItemNotified: configured:node:node-d469e719-a482-4e8d-9e4a-6764e4dab013:node-97c4ca15-2282-4f9d-b7ee-6684bd73d230 :: true 2020-10-19 22:53:02 | [Mutex] waiting for: [received:nodes:11b1f62d-722a-45c6-a289-123407184fd9:localhost] 2020-10-19 22:53:02 | [Mutex] received everything. 2020-10-19 22:53:02 | [Mutex] isItemNotified: received:node:11b1f62d-722a-45c6-a289-123407184fd9:localhost:node-d469e719-a482-4e8d-9e4a-6764e4dab013:Node d469e719-a482-4e8d-9e4a-6764e4dab013 :: true 2020-10-19 22:53:02 | [Mutex] waiting for: [received:nodes:3f68d4c9-5c7f-4dad-9942-b5c86de42a59:localhost] 2020-10-19 22:53:02 | [Mutex] waiting for: [received:nodes:3f68d4c9-5c7f-4dad-9942-b5c86de42a59:localhost] 2020-10-19 22:53:02 | [Mutex] received everything. 2020-10-19 22:53:02 | [Mutex] isItemNotified: received:node:3f68d4c9-5c7f-4dad-9942-b5c86de42a59:localhost:node-d469e719-a482-4e8d-9e4a-6764e4dab013:Node d469e719-a482-4e8d-9e4a-6764e4dab013 :: false |
createNodes | 1.685s |
2020-10-19 22:52:58 |
2020-10-19 22:52:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:52:58 | ------------------------------------ 2020-10-19 22:52:59 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013", "pubsub#title": "Node d469e719-a482-4e8d-9e4a-6764e4dab013" } 2020-10-19 22:52:59 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-10-19 22:53:00 | [Mutex] waiting for: [received:nodes:037beab1-71b9-47b9-a482-9071099f0491:localhost] 2020-10-19 22:53:00 | [Mutex] received everything. 2020-10-19 22:53:00 | [Mutex] isItemNotified: received:node:037beab1-71b9-47b9-a482-9071099f0491:localhost:node-d469e719-a482-4e8d-9e4a-6764e4dab013:Node d469e719-a482-4e8d-9e4a-6764e4dab013 :: true |
createSubnodes | 1.027s |
2020-10-19 22:53:00 |
2020-10-19 22:53:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:00 | ------------------------------------ 2020-10-19 22:53:00 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-97c4ca15-2282-4f9d-b7ee-6684bd73d230", "pubsub#title": "Node 97c4ca15-2282-4f9d-b7ee-6684bd73d230" } 2020-10-19 22:53:00 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-10-19 22:53:01 | [Mutex] waiting for: [received:nodes:800d2adc-8a18-4a5e-8c40-651732fe0233:localhost] 2020-10-19 22:53:01 | [Mutex] received everything. 2020-10-19 22:53:01 | [Mutex] isItemNotified: received:node:800d2adc-8a18-4a5e-8c40-651732fe0233:localhost:node-97c4ca15-2282-4f9d-b7ee-6684bd73d230:Node 97c4ca15-2282-4f9d-b7ee-6684bd73d230 :: true |
deleteNodes | 1.022s |
2020-10-19 22:53:05 |
2020-10-19 22:53:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:05 | ------------------------------------ 2020-10-19 22:53:05 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-97c4ca15-2282-4f9d-b7ee-6684bd73d230" } 2020-10-19 22:53:05 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-10-19 22:53:06 | [Mutex] waiting for: [received:nodes:e9b2c13b-03e4-40e8-9542-642e43783022:localhost] 2020-10-19 22:53:06 | [Mutex] received everything. 2020-10-19 22:53:06 | [Mutex] isItemNotified: received:node:e9b2c13b-03e4-40e8-9542-642e43783022:localhost:node-97c4ca15-2282-4f9d-b7ee-6684bd73d230:Node 97c4ca15-2282-4f9d-b7ee-6684bd73d230 :: false |
deleteSubnodes | 1.028s |
2020-10-19 22:53:04 |
2020-10-19 22:53:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:04 | ------------------------------------ 2020-10-19 22:53:04 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013" } 2020-10-19 22:53:04 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-10-19 22:53:05 | [Mutex] waiting for: [received:nodes:98a77e0c-d7e0-4f86-82b9-324bffde18f3:localhost] 2020-10-19 22:53:05 | [Mutex] waiting for: [received:nodes:98a77e0c-d7e0-4f86-82b9-324bffde18f3:localhost] 2020-10-19 22:53:05 | [Mutex] received everything. 2020-10-19 22:53:05 | [Mutex] isItemNotified: received:node:98a77e0c-d7e0-4f86-82b9-324bffde18f3:localhost:node-d469e719-a482-4e8d-9e4a-6764e4dab013:Node d469e719-a482-4e8d-9e4a-6764e4dab013 :: false 2020-10-19 22:53:05 | [Mutex] waiting for: [received:nodes:8015ba22-c575-4662-b48b-99234e9baaa5:localhost] 2020-10-19 22:53:05 | [Mutex] received everything. 2020-10-19 22:53:05 | [Mutex] isItemNotified: received:node:8015ba22-c575-4662-b48b-99234e9baaa5:localhost:node-d469e719-a482-4e8d-9e4a-6764e4dab013:Node d469e719-a482-4e8d-9e4a-6764e4dab013 :: false |
publishItemsToNodes | 0.067s |
2020-10-19 22:53:03 |
2020-10-19 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:03 | ------------------------------------ 2020-10-19 22:53:03 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013", "entry": "<test>item-e618b52d-3bfa-4ada-bb9f-74d313631f17</test>", "item-id": "item-e618b52d-3bfa-4ada-bb9f-74d313631f17" } 2020-10-19 22:53:03 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e618b52d-3bfa-4ada-bb9f-74d313631f17" } 2020-10-19 22:53:03 | [Mutex] waiting for: [published:item:notifieditem-e618b52d-3bfa-4ada-bb9f-74d313631f17:admin@test-domain.com] 2020-10-19 22:53:03 | [Mutex] received everything. 2020-10-19 22:53:03 | [Mutex] isItemNotified: published:item:notifieditem-e618b52d-3bfa-4ada-bb9f-74d313631f17:admin@test-domain.com :: true |
retractItemsFromNodes | 0.075s |
2020-10-19 22:53:03 |
2020-10-19 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:03 | ------------------------------------ 2020-10-19 22:53:03 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013", "item-id": "item-e618b52d-3bfa-4ada-bb9f-74d313631f17" } 2020-10-19 22:53:03 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-e618b52d-3bfa-4ada-bb9f-74d313631f17" } 2020-10-19 22:53:03 | [Mutex] received everything. 2020-10-19 22:53:03 | [Mutex] isItemNotified: retracted:item:notifieditem-e618b52d-3bfa-4ada-bb9f-74d313631f17:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.064s |
2020-10-19 22:53:03 |
2020-10-19 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:03 | ------------------------------------ 2020-10-19 22:53:03 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013", "item-id": "item-e618b52d-3bfa-4ada-bb9f-74d313631f17" } 2020-10-19 22:53:03 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013", "item-id": "item-e618b52d-3bfa-4ada-bb9f-74d313631f17", "item": [ "<item id=\"item-e618b52d-3bfa-4ada-bb9f-74d313631f17\"><test>item-e618b52d-3bfa-4ada-bb9f-74d313631f17</test></item>" ] } 2020-10-19 22:53:03 | [Mutex] notify: [retrieved:item:item-e618b52d-3bfa-4ada-bb9f-74d313631f17:payload-matches:true:localhost] 2020-10-19 22:53:03 | [Mutex] received everything. 2020-10-19 22:53:03 | [Mutex] isItemNotified: retrieved:item:item-e618b52d-3bfa-4ada-bb9f-74d313631f17:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2020-10-19 22:53:03 |
2020-10-19 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:03 | ------------------------------------ 2020-10-19 22:53:03 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-10-19 22:53:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-97c4ca15-2282-4f9d-b7ee-6684bd73d230", "test", "node-d469e719-a482-4e8d-9e4a-6764e4dab013" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-10-19 22:53:03 |
2020-10-19 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:03 | ------------------------------------ 2020-10-19 22:53:03 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-d469e719-a482-4e8d-9e4a-6764e4dab013)" } 2020-10-19 22:53:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2020-10-19 22:53:02 |
2020-10-19 22:53:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:02 | ------------------------------------ 2020-10-19 22:53:02 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013", "jids": [ "admin@test-domain.com" ] } 2020-10-19 22:53:02 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.119s |
2020-10-19 22:53:03 |
2020-10-19 22:53:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-10-19 22:53:03 | ------------------------------------ 2020-10-19 22:53:03 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-d469e719-a482-4e8d-9e4a-6764e4dab013", "jids": [ "admin@test-domain.com" ] } 2020-10-19 22:53:03 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |