Test duration : 9.392s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.115s |
2020-09-23 22:29:04 |
2020-09-23 22:29:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:04 | ------------------------------------ 2020-09-23 22:29:04 | [Mutex] waiting for: [configured:node:node-df4dba15-b584-4273-87a1-852f096c0f58:node-b628e776-3320-41fb-bc17-30df626861c2] 2020-09-23 22:29:04 | [Mutex] received everything. 2020-09-23 22:29:04 | [Mutex] isItemNotified: configured:node:node-df4dba15-b584-4273-87a1-852f096c0f58:node-b628e776-3320-41fb-bc17-30df626861c2 :: true 2020-09-23 22:29:05 | [Mutex] waiting for: [received:nodes:ade7a1c3-fe2d-46ac-b988-d2cdb9265248:localhost] 2020-09-23 22:29:05 | [Mutex] received everything. 2020-09-23 22:29:05 | [Mutex] isItemNotified: received:node:ade7a1c3-fe2d-46ac-b988-d2cdb9265248:localhost:node-df4dba15-b584-4273-87a1-852f096c0f58:Node df4dba15-b584-4273-87a1-852f096c0f58 :: true 2020-09-23 22:29:05 | [Mutex] waiting for: [received:nodes:eee91d1a-a626-4b1d-9c77-b28e00076f6a:localhost] 2020-09-23 22:29:05 | [Mutex] received everything. 2020-09-23 22:29:05 | [Mutex] isItemNotified: received:node:eee91d1a-a626-4b1d-9c77-b28e00076f6a:localhost:node-df4dba15-b584-4273-87a1-852f096c0f58:Node df4dba15-b584-4273-87a1-852f096c0f58 :: false |
createNodes | 1.872s |
2020-09-23 22:29:01 |
2020-09-23 22:29:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:01 | ------------------------------------ 2020-09-23 22:29:02 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-df4dba15-b584-4273-87a1-852f096c0f58", "pubsub#title": "Node df4dba15-b584-4273-87a1-852f096c0f58" } 2020-09-23 22:29:02 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-23 22:29:03 | [Mutex] waiting for: [received:nodes:a648f27d-0335-413b-9e5f-9ec5598ea44f:localhost] 2020-09-23 22:29:03 | [Mutex] received everything. 2020-09-23 22:29:03 | [Mutex] isItemNotified: received:node:a648f27d-0335-413b-9e5f-9ec5598ea44f:localhost:node-df4dba15-b584-4273-87a1-852f096c0f58:Node df4dba15-b584-4273-87a1-852f096c0f58 :: true |
createSubnodes | 1.025s |
2020-09-23 22:29:03 |
2020-09-23 22:29:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:03 | ------------------------------------ 2020-09-23 22:29:03 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-b628e776-3320-41fb-bc17-30df626861c2", "pubsub#title": "Node b628e776-3320-41fb-bc17-30df626861c2" } 2020-09-23 22:29:03 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-23 22:29:04 | [Mutex] waiting for: [received:nodes:55a91e9a-61c4-489a-9546-3421e321e49b:localhost] 2020-09-23 22:29:04 | [Mutex] received everything. 2020-09-23 22:29:04 | [Mutex] isItemNotified: received:node:55a91e9a-61c4-489a-9546-3421e321e49b:localhost:node-b628e776-3320-41fb-bc17-30df626861c2:Node b628e776-3320-41fb-bc17-30df626861c2 :: true |
deleteNodes | 1.023s |
2020-09-23 22:29:09 |
2020-09-23 22:29:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:09 | ------------------------------------ 2020-09-23 22:29:09 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-b628e776-3320-41fb-bc17-30df626861c2" } 2020-09-23 22:29:09 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-23 22:29:10 | [Mutex] waiting for: [received:nodes:d557e41b-3511-4fd6-9e80-0d24fc523127:localhost] 2020-09-23 22:29:10 | [Mutex] received everything. 2020-09-23 22:29:10 | [Mutex] isItemNotified: received:node:d557e41b-3511-4fd6-9e80-0d24fc523127:localhost:node-b628e776-3320-41fb-bc17-30df626861c2:Node b628e776-3320-41fb-bc17-30df626861c2 :: false |
deleteSubnodes | 1.028s |
2020-09-23 22:29:08 |
2020-09-23 22:29:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:08 | ------------------------------------ 2020-09-23 22:29:08 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-df4dba15-b584-4273-87a1-852f096c0f58" } 2020-09-23 22:29:08 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2020-09-23 22:29:09 | [Mutex] waiting for: [received:nodes:d57d50c5-5b30-46b5-b200-27f21ee5b5ad:localhost] 2020-09-23 22:29:09 | [Mutex] waiting for: [received:nodes:d57d50c5-5b30-46b5-b200-27f21ee5b5ad:localhost] 2020-09-23 22:29:09 | [Mutex] received everything. 2020-09-23 22:29:09 | [Mutex] isItemNotified: received:node:d57d50c5-5b30-46b5-b200-27f21ee5b5ad:localhost:node-df4dba15-b584-4273-87a1-852f096c0f58:Node df4dba15-b584-4273-87a1-852f096c0f58 :: false 2020-09-23 22:29:09 | [Mutex] waiting for: [received:nodes:db8b7d04-91c4-4e27-8d73-f2c58a441a89:localhost] 2020-09-23 22:29:09 | [Mutex] received everything. 2020-09-23 22:29:09 | [Mutex] isItemNotified: received:node:db8b7d04-91c4-4e27-8d73-f2c58a441a89:localhost:node-df4dba15-b584-4273-87a1-852f096c0f58:Node df4dba15-b584-4273-87a1-852f096c0f58 :: false |
publishItemsToNodes | 0.107s |
2020-09-23 22:29:06 |
2020-09-23 22:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:06 | ------------------------------------ 2020-09-23 22:29:06 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-df4dba15-b584-4273-87a1-852f096c0f58", "entry": "<test>item-904d704d-54c0-45cc-9923-5d3713c0d2dd</test>", "item-id": "item-904d704d-54c0-45cc-9923-5d3713c0d2dd" } 2020-09-23 22:29:06 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-904d704d-54c0-45cc-9923-5d3713c0d2dd" } 2020-09-23 22:29:06 | [Mutex] waiting for: [published:item:notifieditem-904d704d-54c0-45cc-9923-5d3713c0d2dd:admin@test-domain.com] 2020-09-23 22:29:06 | [Mutex] received everything. 2020-09-23 22:29:06 | [Mutex] isItemNotified: published:item:notifieditem-904d704d-54c0-45cc-9923-5d3713c0d2dd:admin@test-domain.com :: true |
retractItemsFromNodes | 0.075s |
2020-09-23 22:29:07 |
2020-09-23 22:29:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:07 | ------------------------------------ 2020-09-23 22:29:07 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-df4dba15-b584-4273-87a1-852f096c0f58", "item-id": "item-904d704d-54c0-45cc-9923-5d3713c0d2dd" } 2020-09-23 22:29:07 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-904d704d-54c0-45cc-9923-5d3713c0d2dd" } 2020-09-23 22:29:07 | [Mutex] received everything. 2020-09-23 22:29:07 | [Mutex] isItemNotified: retracted:item:notifieditem-904d704d-54c0-45cc-9923-5d3713c0d2dd:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.018s |
2020-09-23 22:29:06 |
2020-09-23 22:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:06 | ------------------------------------ 2020-09-23 22:29:06 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-df4dba15-b584-4273-87a1-852f096c0f58", "item-id": "item-904d704d-54c0-45cc-9923-5d3713c0d2dd" } 2020-09-23 22:29:06 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-df4dba15-b584-4273-87a1-852f096c0f58", "item-id": "item-904d704d-54c0-45cc-9923-5d3713c0d2dd", "item": [ "<item id=\"item-904d704d-54c0-45cc-9923-5d3713c0d2dd\"><test>item-904d704d-54c0-45cc-9923-5d3713c0d2dd</test></item>" ] } 2020-09-23 22:29:06 | [Mutex] notify: [retrieved:item:item-904d704d-54c0-45cc-9923-5d3713c0d2dd:payload-matches:true:localhost] 2020-09-23 22:29:06 | [Mutex] received everything. 2020-09-23 22:29:06 | [Mutex] isItemNotified: retrieved:item:item-904d704d-54c0-45cc-9923-5d3713c0d2dd:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.063s |
2020-09-23 22:29:06 |
2020-09-23 22:29:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:06 | ------------------------------------ 2020-09-23 22:29:06 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2020-09-23 22:29:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-b628e776-3320-41fb-bc17-30df626861c2", "node-df4dba15-b584-4273-87a1-852f096c0f58" ] } |
retrieveUserSubscriptionsWithRegex | 0.051s |
2020-09-23 22:29:07 |
2020-09-23 22:29:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:07 | ------------------------------------ 2020-09-23 22:29:07 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-df4dba15-b584-4273-87a1-852f096c0f58)" } 2020-09-23 22:29:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.019s |
2020-09-23 22:29:05 |
2020-09-23 22:29:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:05 | ------------------------------------ 2020-09-23 22:29:05 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-df4dba15-b584-4273-87a1-852f096c0f58", "jids": [ "admin@test-domain.com" ] } 2020-09-23 22:29:05 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2020-09-23 22:29:07 |
2020-09-23 22:29:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2020-09-23 22:29:07 | ------------------------------------ 2020-09-23 22:29:07 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-df4dba15-b584-4273-87a1-852f096c0f58", "jids": [ "admin@test-domain.com" ] } 2020-09-23 22:29:07 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |