Test duration : 8.930s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.090s |
2021-04-05 22:29:53 |
2021-04-05 22:29:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:53 | ------------------------------------ 2021-04-05 22:29:53 | [Mutex] waiting for: [configured:node:node-8a861034-9cff-4275-b42a-5af133e5fff8:node-c06a24ea-c498-45e2-8e92-634db79d7e20] 2021-04-05 22:29:53 | [Mutex] received everything. 2021-04-05 22:29:53 | [Mutex] isItemNotified: configured:node:node-8a861034-9cff-4275-b42a-5af133e5fff8:node-c06a24ea-c498-45e2-8e92-634db79d7e20 :: true 2021-04-05 22:29:54 | [Mutex] waiting for: [received:nodes:f5246a45-6aa7-4781-9477-47048e6a8312:localhost] 2021-04-05 22:29:54 | [Mutex] waiting for: [received:nodes:f5246a45-6aa7-4781-9477-47048e6a8312:localhost] 2021-04-05 22:29:54 | [Mutex] received everything. 2021-04-05 22:29:54 | [Mutex] isItemNotified: received:node:f5246a45-6aa7-4781-9477-47048e6a8312:localhost:node-8a861034-9cff-4275-b42a-5af133e5fff8:Node 8a861034-9cff-4275-b42a-5af133e5fff8 :: true 2021-04-05 22:29:54 | [Mutex] waiting for: [received:nodes:9c9e3b77-b7ad-45f7-a5cb-a6b537919ed6:localhost] 2021-04-05 22:29:54 | [Mutex] waiting for: [received:nodes:9c9e3b77-b7ad-45f7-a5cb-a6b537919ed6:localhost] 2021-04-05 22:29:54 | [Mutex] received everything. 2021-04-05 22:29:54 | [Mutex] isItemNotified: received:node:9c9e3b77-b7ad-45f7-a5cb-a6b537919ed6:localhost:node-8a861034-9cff-4275-b42a-5af133e5fff8:Node 8a861034-9cff-4275-b42a-5af133e5fff8 :: false |
createNodes | 1.677s |
2021-04-05 22:29:50 |
2021-04-05 22:29:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:50 | ------------------------------------ 2021-04-05 22:29:51 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8", "pubsub#title": "Node 8a861034-9cff-4275-b42a-5af133e5fff8" } 2021-04-05 22:29:51 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:29:52 | [Mutex] waiting for: [received:nodes:58601298-ac60-42a9-8c21-4fa1b69db6de:localhost] 2021-04-05 22:29:52 | [Mutex] received everything. 2021-04-05 22:29:52 | [Mutex] isItemNotified: received:node:58601298-ac60-42a9-8c21-4fa1b69db6de:localhost:node-8a861034-9cff-4275-b42a-5af133e5fff8:Node 8a861034-9cff-4275-b42a-5af133e5fff8 :: true |
createSubnodes | 1.021s |
2021-04-05 22:29:52 |
2021-04-05 22:29:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:52 | ------------------------------------ 2021-04-05 22:29:52 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-c06a24ea-c498-45e2-8e92-634db79d7e20", "pubsub#title": "Node c06a24ea-c498-45e2-8e92-634db79d7e20" } 2021-04-05 22:29:52 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:29:53 | [Mutex] waiting for: [received:nodes:4ae5eb11-3767-4e2c-acb0-1d0269ea3590:localhost] 2021-04-05 22:29:53 | [Mutex] received everything. 2021-04-05 22:29:53 | [Mutex] isItemNotified: received:node:4ae5eb11-3767-4e2c-acb0-1d0269ea3590:localhost:node-c06a24ea-c498-45e2-8e92-634db79d7e20:Node c06a24ea-c498-45e2-8e92-634db79d7e20 :: true |
deleteNodes | 1.021s |
2021-04-05 22:29:57 |
2021-04-05 22:29:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:57 | ------------------------------------ 2021-04-05 22:29:57 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-c06a24ea-c498-45e2-8e92-634db79d7e20" } 2021-04-05 22:29:57 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:29:58 | [Mutex] waiting for: [received:nodes:1623c966-addd-45dc-bb6f-0a3a2aaf47ed:localhost] 2021-04-05 22:29:58 | [Mutex] received everything. 2021-04-05 22:29:58 | [Mutex] isItemNotified: received:node:1623c966-addd-45dc-bb6f-0a3a2aaf47ed:localhost:node-c06a24ea-c498-45e2-8e92-634db79d7e20:Node c06a24ea-c498-45e2-8e92-634db79d7e20 :: false |
deleteSubnodes | 1.029s |
2021-04-05 22:29:56 |
2021-04-05 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:56 | ------------------------------------ 2021-04-05 22:29:56 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8" } 2021-04-05 22:29:56 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2021-04-05 22:29:57 | [Mutex] waiting for: [received:nodes:8cd46137-e0b1-427b-ba56-6fc5fc596a66:localhost] 2021-04-05 22:29:57 | [Mutex] received everything. 2021-04-05 22:29:57 | [Mutex] isItemNotified: received:node:8cd46137-e0b1-427b-ba56-6fc5fc596a66:localhost:node-8a861034-9cff-4275-b42a-5af133e5fff8:Node 8a861034-9cff-4275-b42a-5af133e5fff8 :: false 2021-04-05 22:29:57 | [Mutex] waiting for: [received:nodes:1fdf3d47-0a6d-49db-be26-e43ef6e6544d:localhost] 2021-04-05 22:29:57 | [Mutex] received everything. 2021-04-05 22:29:57 | [Mutex] isItemNotified: received:node:1fdf3d47-0a6d-49db-be26-e43ef6e6544d:localhost:node-8a861034-9cff-4275-b42a-5af133e5fff8:Node 8a861034-9cff-4275-b42a-5af133e5fff8 :: false |
publishItemsToNodes | 0.066s |
2021-04-05 22:29:55 |
2021-04-05 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:55 | ------------------------------------ 2021-04-05 22:29:55 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8", "entry": "<test>item-934e87cb-340c-4270-816c-f07e322e09e6</test>", "item-id": "item-934e87cb-340c-4270-816c-f07e322e09e6" } 2021-04-05 22:29:55 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-934e87cb-340c-4270-816c-f07e322e09e6" } 2021-04-05 22:29:55 | [Mutex] waiting for: [published:item:notifieditem-934e87cb-340c-4270-816c-f07e322e09e6:admin@test-domain.com] 2021-04-05 22:29:55 | [Mutex] received everything. 2021-04-05 22:29:55 | [Mutex] isItemNotified: published:item:notifieditem-934e87cb-340c-4270-816c-f07e322e09e6:admin@test-domain.com :: true |
retractItemsFromNodes | 0.064s |
2021-04-05 22:29:55 |
2021-04-05 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:55 | ------------------------------------ 2021-04-05 22:29:55 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8", "item-id": "item-934e87cb-340c-4270-816c-f07e322e09e6" } 2021-04-05 22:29:55 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-934e87cb-340c-4270-816c-f07e322e09e6" } 2021-04-05 22:29:55 | [Mutex] received everything. 2021-04-05 22:29:55 | [Mutex] isItemNotified: retracted:item:notifieditem-934e87cb-340c-4270-816c-f07e322e09e6:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.025s |
2021-04-05 22:29:55 |
2021-04-05 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:55 | ------------------------------------ 2021-04-05 22:29:55 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8", "item-id": "item-934e87cb-340c-4270-816c-f07e322e09e6" } 2021-04-05 22:29:55 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8", "item-id": "item-934e87cb-340c-4270-816c-f07e322e09e6", "item": [ "<item id=\"item-934e87cb-340c-4270-816c-f07e322e09e6\"><test>item-934e87cb-340c-4270-816c-f07e322e09e6</test></item>" ] } 2021-04-05 22:29:55 | [Mutex] notify: [retrieved:item:item-934e87cb-340c-4270-816c-f07e322e09e6:payload-matches:true:localhost] 2021-04-05 22:29:55 | [Mutex] received everything. 2021-04-05 22:29:55 | [Mutex] isItemNotified: retrieved:item:item-934e87cb-340c-4270-816c-f07e322e09e6:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.072s |
2021-04-05 22:29:55 |
2021-04-05 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:55 | ------------------------------------ 2021-04-05 22:29:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2021-04-05 22:29:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "node-c06a24ea-c498-45e2-8e92-634db79d7e20", "test", "node-8a861034-9cff-4275-b42a-5af133e5fff8" ] } |
retrieveUserSubscriptionsWithRegex | 0.052s |
2021-04-05 22:29:55 |
2021-04-05 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:55 | ------------------------------------ 2021-04-05 22:29:55 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-8a861034-9cff-4275-b42a-5af133e5fff8)" } 2021-04-05 22:29:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.012s |
2021-04-05 22:29:54 |
2021-04-05 22:29:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:54 | ------------------------------------ 2021-04-05 22:29:54 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8", "jids": [ "admin@test-domain.com" ] } 2021-04-05 22:29:54 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.055s |
2021-04-05 22:29:55 |
2021-04-05 22:29:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2021-04-05 22:29:55 | ------------------------------------ 2021-04-05 22:29:55 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-8a861034-9cff-4275-b42a-5af133e5fff8", "jids": [ "admin@test-domain.com" ] } 2021-04-05 22:29:55 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |