Test duration : 8.670s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.105s |
2022-07-09 22:32:14 |
2022-07-09 22:32:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:14 | ------------------------------------ 2022-07-09 22:32:14 | [Mutex] waiting for: [configured:node:node-5b8a5222-d67a-46c9-9809-36b68257ee75:node-4705519f-ea24-4427-abd2-759f6c712eb7] 2022-07-09 22:32:14 | [Mutex] received everything. 2022-07-09 22:32:14 | [Mutex] isItemNotified: configured:node:node-5b8a5222-d67a-46c9-9809-36b68257ee75:node-4705519f-ea24-4427-abd2-759f6c712eb7 :: true 2022-07-09 22:32:15 | [Mutex] waiting for: [received:nodes:b0027665-b4b4-457e-938c-9f6f4cdd3694:localhost] 2022-07-09 22:32:15 | [Mutex] received everything. 2022-07-09 22:32:15 | [Mutex] isItemNotified: received:node:b0027665-b4b4-457e-938c-9f6f4cdd3694:localhost:node-5b8a5222-d67a-46c9-9809-36b68257ee75:Node 5b8a5222-d67a-46c9-9809-36b68257ee75 :: true 2022-07-09 22:32:15 | [Mutex] waiting for: [received:nodes:e0cd1ae5-10c9-4646-b9aa-64b2b007adf0:localhost] 2022-07-09 22:32:15 | [Mutex] waiting for: [received:nodes:e0cd1ae5-10c9-4646-b9aa-64b2b007adf0:localhost] 2022-07-09 22:32:15 | [Mutex] waiting for: [received:nodes:e0cd1ae5-10c9-4646-b9aa-64b2b007adf0:localhost] 2022-07-09 22:32:15 | [Mutex] received everything. 2022-07-09 22:32:15 | [Mutex] isItemNotified: received:node:e0cd1ae5-10c9-4646-b9aa-64b2b007adf0:localhost:node-5b8a5222-d67a-46c9-9809-36b68257ee75:Node 5b8a5222-d67a-46c9-9809-36b68257ee75 :: false |
createNodes | 1.595s |
2022-07-09 22:32:12 |
2022-07-09 22:32:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:12 | ------------------------------------ 2022-07-09 22:32:12 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "pubsub#title": "Node 5b8a5222-d67a-46c9-9809-36b68257ee75" } 2022-07-09 22:32:12 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-09 22:32:13 | [Mutex] waiting for: [received:nodes:0a2510d7-8bfb-4344-bd56-4dcddc399ef1:localhost] 2022-07-09 22:32:13 | [Mutex] received everything. 2022-07-09 22:32:13 | [Mutex] isItemNotified: received:node:0a2510d7-8bfb-4344-bd56-4dcddc399ef1:localhost:node-5b8a5222-d67a-46c9-9809-36b68257ee75:Node 5b8a5222-d67a-46c9-9809-36b68257ee75 :: true |
createSubnodes | 1.027s |
2022-07-09 22:32:13 |
2022-07-09 22:32:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:13 | ------------------------------------ 2022-07-09 22:32:13 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-4705519f-ea24-4427-abd2-759f6c712eb7", "pubsub#title": "Node 4705519f-ea24-4427-abd2-759f6c712eb7" } 2022-07-09 22:32:13 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-09 22:32:14 | [Mutex] waiting for: [received:nodes:a20bf0d2-a3ae-423c-8d18-86aefe676c38:localhost] 2022-07-09 22:32:14 | [Mutex] waiting for: [received:nodes:a20bf0d2-a3ae-423c-8d18-86aefe676c38:localhost] 2022-07-09 22:32:14 | [Mutex] received everything. 2022-07-09 22:32:14 | [Mutex] isItemNotified: received:node:a20bf0d2-a3ae-423c-8d18-86aefe676c38:localhost:node-4705519f-ea24-4427-abd2-759f6c712eb7:Node 4705519f-ea24-4427-abd2-759f6c712eb7 :: true |
deleteNodes | 1.057s |
2022-07-09 22:32:19 |
2022-07-09 22:32:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:19 | ------------------------------------ 2022-07-09 22:32:19 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-4705519f-ea24-4427-abd2-759f6c712eb7" } 2022-07-09 22:32:19 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-09 22:32:20 | [Mutex] waiting for: [received:nodes:1af12db5-236b-42bc-b0fa-a1713d259384:localhost] 2022-07-09 22:32:20 | [Mutex] waiting for: [received:nodes:1af12db5-236b-42bc-b0fa-a1713d259384:localhost] 2022-07-09 22:32:20 | [Mutex] waiting for: [received:nodes:1af12db5-236b-42bc-b0fa-a1713d259384:localhost] 2022-07-09 22:32:20 | [Mutex] received everything. 2022-07-09 22:32:20 | [Mutex] isItemNotified: received:node:1af12db5-236b-42bc-b0fa-a1713d259384:localhost:node-4705519f-ea24-4427-abd2-759f6c712eb7:Node 4705519f-ea24-4427-abd2-759f6c712eb7 :: false |
deleteSubnodes | 1.025s |
2022-07-09 22:32:18 |
2022-07-09 22:32:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:18 | ------------------------------------ 2022-07-09 22:32:18 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75" } 2022-07-09 22:32:18 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-07-09 22:32:19 | [Mutex] waiting for: [received:nodes:290b2a0d-db10-4a1f-b10a-db6a2c528579:localhost] 2022-07-09 22:32:19 | [Mutex] received everything. 2022-07-09 22:32:19 | [Mutex] isItemNotified: received:node:290b2a0d-db10-4a1f-b10a-db6a2c528579:localhost:node-5b8a5222-d67a-46c9-9809-36b68257ee75:Node 5b8a5222-d67a-46c9-9809-36b68257ee75 :: false 2022-07-09 22:32:19 | [Mutex] waiting for: [received:nodes:511b057f-dc06-468e-87a5-8a92c76b9b14:localhost] 2022-07-09 22:32:19 | [Mutex] received everything. 2022-07-09 22:32:19 | [Mutex] isItemNotified: received:node:511b057f-dc06-468e-87a5-8a92c76b9b14:localhost:node-5b8a5222-d67a-46c9-9809-36b68257ee75:Node 5b8a5222-d67a-46c9-9809-36b68257ee75 :: false |
publishItemsToNodes | 0.045s |
2022-07-09 22:32:16 |
2022-07-09 22:32:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:16 | ------------------------------------ 2022-07-09 22:32:16 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "entry": "<test>item-b08d5efa-1063-46f0-bb57-7851d5fad6e1</test>", "item-id": "item-b08d5efa-1063-46f0-bb57-7851d5fad6e1" } 2022-07-09 22:32:16 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b08d5efa-1063-46f0-bb57-7851d5fad6e1" } 2022-07-09 22:32:16 | [Mutex] waiting for: [published:item:notifieditem-b08d5efa-1063-46f0-bb57-7851d5fad6e1:admin@test-domain.com] 2022-07-09 22:32:17 | [Mutex] received everything. 2022-07-09 22:32:17 | [Mutex] isItemNotified: published:item:notifieditem-b08d5efa-1063-46f0-bb57-7851d5fad6e1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.052s |
2022-07-09 22:32:17 |
2022-07-09 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:17 | ------------------------------------ 2022-07-09 22:32:17 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "item-id": "item-b08d5efa-1063-46f0-bb57-7851d5fad6e1" } 2022-07-09 22:32:17 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-b08d5efa-1063-46f0-bb57-7851d5fad6e1" } 2022-07-09 22:32:17 | [Mutex] waiting for: [retracted:item:notifieditem-b08d5efa-1063-46f0-bb57-7851d5fad6e1:admin@test-domain.com] 2022-07-09 22:32:17 | [Mutex] received everything. 2022-07-09 22:32:17 | [Mutex] isItemNotified: retracted:item:notifieditem-b08d5efa-1063-46f0-bb57-7851d5fad6e1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.066s |
2022-07-09 22:32:17 |
2022-07-09 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:17 | ------------------------------------ 2022-07-09 22:32:17 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "item-id": "item-b08d5efa-1063-46f0-bb57-7851d5fad6e1" } 2022-07-09 22:32:17 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "item-id": "item-b08d5efa-1063-46f0-bb57-7851d5fad6e1", "item": [ "<item id=\"item-b08d5efa-1063-46f0-bb57-7851d5fad6e1\"><test>item-b08d5efa-1063-46f0-bb57-7851d5fad6e1</test></item>" ] } 2022-07-09 22:32:17 | [Mutex] notify: [retrieved:item:item-b08d5efa-1063-46f0-bb57-7851d5fad6e1:payload-matches:true:localhost] 2022-07-09 22:32:17 | [Mutex] received everything. 2022-07-09 22:32:17 | [Mutex] isItemNotified: retrieved:item:item-b08d5efa-1063-46f0-bb57-7851d5fad6e1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.051s |
2022-07-09 22:32:17 |
2022-07-09 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:17 | ------------------------------------ 2022-07-09 22:32:17 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-07-09 22:32:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "test", "node-4705519f-ea24-4427-abd2-759f6c712eb7" ] } |
retrieveUserSubscriptionsWithRegex | 0.047s |
2022-07-09 22:32:17 |
2022-07-09 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:17 | ------------------------------------ 2022-07-09 22:32:17 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-5b8a5222-d67a-46c9-9809-36b68257ee75)" } 2022-07-09 22:32:17 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.014s |
2022-07-09 22:32:15 |
2022-07-09 22:32:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:15 | ------------------------------------ 2022-07-09 22:32:15 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "jids": [ "admin@test-domain.com" ] } 2022-07-09 22:32:15 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.075s |
2022-07-09 22:32:17 |
2022-07-09 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-07-09 22:32:17 | ------------------------------------ 2022-07-09 22:32:17 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-5b8a5222-d67a-46c9-9809-36b68257ee75", "jids": [ "admin@test-domain.com" ] } 2022-07-09 22:32:17 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |