Test duration : 8.686s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingJSON | ||
configureNodes | 1.105s |
2022-08-01 23:07:09 |
2022-08-01 23:07:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:09 | ------------------------------------ 2022-08-01 23:07:09 | [Mutex] waiting for: [configured:node:node-8107791b-e2e8-423e-a002-2e7f24bcd738:node-339c483e-bf56-42cd-90f8-aa8502d9517e] 2022-08-01 23:07:10 | [Mutex] received everything. 2022-08-01 23:07:10 | [Mutex] isItemNotified: configured:node:node-8107791b-e2e8-423e-a002-2e7f24bcd738:node-339c483e-bf56-42cd-90f8-aa8502d9517e :: true 2022-08-01 23:07:11 | [Mutex] waiting for: [received:nodes:bb8b9dbb-c4d7-4425-8693-3945361ff7d3:localhost] 2022-08-01 23:07:11 | [Mutex] received everything. 2022-08-01 23:07:11 | [Mutex] isItemNotified: received:node:bb8b9dbb-c4d7-4425-8693-3945361ff7d3:localhost:node-8107791b-e2e8-423e-a002-2e7f24bcd738:Node 8107791b-e2e8-423e-a002-2e7f24bcd738 :: true 2022-08-01 23:07:11 | [Mutex] waiting for: [received:nodes:f252ecce-662a-418d-bd6f-2a7bb1ddeccb:localhost] 2022-08-01 23:07:11 | [Mutex] received everything. 2022-08-01 23:07:11 | [Mutex] isItemNotified: received:node:f252ecce-662a-418d-bd6f-2a7bb1ddeccb:localhost:node-8107791b-e2e8-423e-a002-2e7f24bcd738:Node 8107791b-e2e8-423e-a002-2e7f24bcd738 :: false |
createNodes | 1.602s |
2022-08-01 23:07:07 |
2022-08-01 23:07:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:07 | ------------------------------------ 2022-08-01 23:07:07 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "leaf", "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "pubsub#title": "Node 8107791b-e2e8-423e-a002-2e7f24bcd738" } 2022-08-01 23:07:07 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 23:07:08 | [Mutex] waiting for: [received:nodes:64cc96d9-a081-4657-9b3b-11718254eeec:localhost] 2022-08-01 23:07:08 | [Mutex] waiting for: [received:nodes:64cc96d9-a081-4657-9b3b-11718254eeec:localhost] 2022-08-01 23:07:08 | [Mutex] received everything. 2022-08-01 23:07:08 | [Mutex] isItemNotified: received:node:64cc96d9-a081-4657-9b3b-11718254eeec:localhost:node-8107791b-e2e8-423e-a002-2e7f24bcd738:Node 8107791b-e2e8-423e-a002-2e7f24bcd738 :: true |
createSubnodes | 1.025s |
2022-08-01 23:07:08 |
2022-08-01 23:07:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:08 | ------------------------------------ 2022-08-01 23:07:08 | on localhost executing action create-node with content type application/json and payload: { "owner": "admin@test-domain.com", "pubsub#node_type": "collection", "node": "node-339c483e-bf56-42cd-90f8-aa8502d9517e", "pubsub#title": "Node 339c483e-bf56-42cd-90f8-aa8502d9517e" } 2022-08-01 23:07:08 | from localhost for action create-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 23:07:09 | [Mutex] waiting for: [received:nodes:141c8c61-dcb3-4905-84da-8437ee2a0bc1:localhost] 2022-08-01 23:07:09 | [Mutex] received everything. 2022-08-01 23:07:09 | [Mutex] isItemNotified: received:node:141c8c61-dcb3-4905-84da-8437ee2a0bc1:localhost:node-339c483e-bf56-42cd-90f8-aa8502d9517e:Node 339c483e-bf56-42cd-90f8-aa8502d9517e :: true |
deleteNodes | 1.021s |
2022-08-01 23:07:14 |
2022-08-01 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:14 | ------------------------------------ 2022-08-01 23:07:14 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-339c483e-bf56-42cd-90f8-aa8502d9517e" } 2022-08-01 23:07:14 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 23:07:15 | [Mutex] waiting for: [received:nodes:f40ab816-211a-48fa-bf38-dcd392629397:localhost] 2022-08-01 23:07:15 | [Mutex] received everything. 2022-08-01 23:07:15 | [Mutex] isItemNotified: received:node:f40ab816-211a-48fa-bf38-dcd392629397:localhost:node-339c483e-bf56-42cd-90f8-aa8502d9517e:Node 339c483e-bf56-42cd-90f8-aa8502d9517e :: false |
deleteSubnodes | 1.024s |
2022-08-01 23:07:13 |
2022-08-01 23:07:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:13 | ------------------------------------ 2022-08-01 23:07:13 | on localhost executing action delete-node with content type application/json and payload: { "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738" } 2022-08-01 23:07:13 | from localhost for action delete-node got result code 200 and payload { "Note": "Operation successful" } 2022-08-01 23:07:14 | [Mutex] waiting for: [received:nodes:16d8671d-dfe8-4868-804a-c9077acf3ff5:localhost] 2022-08-01 23:07:14 | [Mutex] received everything. 2022-08-01 23:07:14 | [Mutex] isItemNotified: received:node:16d8671d-dfe8-4868-804a-c9077acf3ff5:localhost:node-8107791b-e2e8-423e-a002-2e7f24bcd738:Node 8107791b-e2e8-423e-a002-2e7f24bcd738 :: false 2022-08-01 23:07:14 | [Mutex] waiting for: [received:nodes:bf6a49ef-4e6d-4e63-abce-b1ef72aba429:localhost] 2022-08-01 23:07:14 | [Mutex] received everything. 2022-08-01 23:07:14 | [Mutex] isItemNotified: received:node:bf6a49ef-4e6d-4e63-abce-b1ef72aba429:localhost:node-8107791b-e2e8-423e-a002-2e7f24bcd738:Node 8107791b-e2e8-423e-a002-2e7f24bcd738 :: false |
publishItemsToNodes | 0.057s |
2022-08-01 23:07:12 |
2022-08-01 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:12 | ------------------------------------ 2022-08-01 23:07:12 | on localhost executing action publish-item with content type application/json and payload: { "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "entry": "<test>item-0f25f078-8eff-495e-bea2-d7a7d36b00c5</test>", "item-id": "item-0f25f078-8eff-495e-bea2-d7a7d36b00c5" } 2022-08-01 23:07:12 | from localhost for action publish-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0f25f078-8eff-495e-bea2-d7a7d36b00c5" } 2022-08-01 23:07:12 | [Mutex] waiting for: [published:item:notifieditem-0f25f078-8eff-495e-bea2-d7a7d36b00c5:admin@test-domain.com] 2022-08-01 23:07:12 | [Mutex] received everything. 2022-08-01 23:07:12 | [Mutex] isItemNotified: published:item:notifieditem-0f25f078-8eff-495e-bea2-d7a7d36b00c5:admin@test-domain.com :: true |
retractItemsFromNodes | 0.052s |
2022-08-01 23:07:12 |
2022-08-01 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:12 | ------------------------------------ 2022-08-01 23:07:12 | on localhost executing action delete-item with content type application/json and payload: { "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "item-id": "item-0f25f078-8eff-495e-bea2-d7a7d36b00c5" } 2022-08-01 23:07:12 | from localhost for action delete-item got result code 200 and payload { "Note": "Operation successful", "item-id": "item-0f25f078-8eff-495e-bea2-d7a7d36b00c5" } 2022-08-01 23:07:12 | [Mutex] received everything. 2022-08-01 23:07:12 | [Mutex] isItemNotified: retracted:item:notifieditem-0f25f078-8eff-495e-bea2-d7a7d36b00c5:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.036s |
2022-08-01 23:07:12 |
2022-08-01 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:12 | ------------------------------------ 2022-08-01 23:07:12 | on localhost executing action retrieve-item with content type application/json and payload: { "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "item-id": "item-0f25f078-8eff-495e-bea2-d7a7d36b00c5" } 2022-08-01 23:07:12 | from localhost for action retrieve-item got result code 200 and payload { "title": "Retrive PubSub node item", "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "item-id": "item-0f25f078-8eff-495e-bea2-d7a7d36b00c5", "item": [ "<item id=\"item-0f25f078-8eff-495e-bea2-d7a7d36b00c5\"><test>item-0f25f078-8eff-495e-bea2-d7a7d36b00c5</test></item>" ] } 2022-08-01 23:07:12 | [Mutex] notify: [retrieved:item:item-0f25f078-8eff-495e-bea2-d7a7d36b00c5:payload-matches:true:localhost] 2022-08-01 23:07:12 | [Mutex] received everything. 2022-08-01 23:07:12 | [Mutex] isItemNotified: retrieved:item:item-0f25f078-8eff-495e-bea2-d7a7d36b00c5:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.049s |
2022-08-01 23:07:12 |
2022-08-01 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:12 | ------------------------------------ 2022-08-01 23:07:12 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com" } 2022-08-01 23:07:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ "test", "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "node-339c483e-bf56-42cd-90f8-aa8502d9517e" ] } |
retrieveUserSubscriptionsWithRegex | 0.048s |
2022-08-01 23:07:12 |
2022-08-01 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:12 | ------------------------------------ 2022-08-01 23:07:12 | on localhost executing action retrieve-user-subscriptions with content type application/json and payload: { "jid": "admin@test-domain.com", "node-pattern": "(?!node-8107791b-e2e8-423e-a002-2e7f24bcd738)" } 2022-08-01 23:07:12 | from localhost for action retrieve-user-subscriptions got result code 200 and payload { "nodes": [ ] } |
subscribeNodes | 1.009s |
2022-08-01 23:07:11 |
2022-08-01 23:07:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:11 | ------------------------------------ 2022-08-01 23:07:11 | on localhost executing action subscribe-node with content type application/json and payload: { "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "jids": [ "admin@test-domain.com" ] } 2022-08-01 23:07:11 | from localhost for action subscribe-node got result code 200 and payload { "Note": "Operation successful" } |
unsubscribeNodes | 1.063s |
2022-08-01 23:07:12 |
2022-08-01 23:07:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingJSON] 2022-08-01 23:07:12 | ------------------------------------ 2022-08-01 23:07:12 | on localhost executing action unsubscribe-node with content type application/json and payload: { "node": "node-8107791b-e2e8-423e-a002-2e7f24bcd738", "jids": [ "admin@test-domain.com" ] } 2022-08-01 23:07:12 | from localhost for action unsubscribe-node got result code 200 and payload { "Note": "Operation successful" } |